]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: keystone: Get rid of usage of skeleton.dtsi
authorNishanth Menon <nm@ti.com>
Fri, 15 Dec 2017 07:02:14 +0000 (01:02 -0600)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Sat, 16 Dec 2017 22:36:56 +0000 (14:36 -0800)
skeleton.dtsi doesn't offer us any real benefits with most of the
parameters being overridden. So, just drop the same entirely and
introduce appropriate changes for chosen node and memory back to
our top level definition.

This also squashes the following warnings with W=1:

arch/arm/boot/dts/keystone-k2hk-evm.dtb: Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name
arch/arm/boot/dts/keystone-k2l-evm.dtb: Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name
arch/arm/boot/dts/keystone-k2e-evm.dtb: Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name

Reported-by: Rob Herring <robh@kernel.org>
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
arch/arm/boot/dts/keystone.dtsi

index 0e8d094515cc1fc5f674261a75455ef652a6dc18..01496910587aee81611a25b96fd00da72afa7100 100644 (file)
@@ -6,8 +6,6 @@
 #include <dt-bindings/interrupt-controller/arm-gic.h>
 #include <dt-bindings/gpio/gpio.h>
 
-#include "skeleton.dtsi"
-
 / {
        compatible = "ti,keystone";
        model = "Texas Instruments Keystone 2 SoC";
@@ -22,7 +20,10 @@ aliases {
                spi2 = &spi2;
        };
 
-       memory {
+       chosen { };
+
+       memory: memory@80000000 {
+               device_type = "memory";
                reg = <0x00000000 0x80000000 0x00000000 0x40000000>;
        };