Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: keystone: Get rid of usage of skeleton.dtsi

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>

authored by

Nishanth Menon and committed by
Santosh Shilimkar
d2a3ec71 eb08c33f

+4 -3
+4 -3
arch/arm/boot/dts/keystone.dtsi
··· 6 6 #include <dt-bindings/interrupt-controller/arm-gic.h> 7 7 #include <dt-bindings/gpio/gpio.h> 8 8 9 - #include "skeleton.dtsi" 10 - 11 9 / { 12 10 compatible = "ti,keystone"; 13 11 model = "Texas Instruments Keystone 2 SoC"; ··· 20 22 spi2 = &spi2; 21 23 }; 22 24 23 - memory { 25 + chosen { }; 26 + 27 + memory: memory@80000000 { 28 + device_type = "memory"; 24 29 reg = <0x00000000 0x80000000 0x00000000 0x40000000>; 25 30 }; 26 31