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

ARM: dts: keystone-k2g: Remove skeleton.dtsi

Adding the unit address to the memory node was causing the below error:
Warning (reg_format): "reg" property in /memory has invalid length
(8 bytes) (#address-cells == 2, #size-cells == 2)

Further debugging showed that this was due to the memory node added by
default to skeleton.dtsi which was being included in keystone-k2g.dtsi.
Adding a missing node was all that was needed to remove this deprecated
dtsi file from the SoC dtsi. With skeleton.dtsi removed the dtc compiler
no longer complained about including the unit address for the memory node.

Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
Signed-off-by: Santosh Shilimkar <ssantosh@kernel.org>

authored by

Franklin S Cooper Jr and committed by
Santosh Shilimkar
f402573f 08332893

+2 -1
+2 -1
arch/arm/boot/dts/keystone-k2g.dtsi
··· 15 15 16 16 #include <dt-bindings/interrupt-controller/arm-gic.h> 17 17 #include <dt-bindings/pinctrl/keystone.h> 18 - #include "skeleton.dtsi" 19 18 20 19 / { 21 20 compatible = "ti,k2g","ti,keystone"; ··· 22 23 #address-cells = <2>; 23 24 #size-cells = <2>; 24 25 interrupt-parent = <&gic>; 26 + 27 + chosen { }; 25 28 26 29 aliases { 27 30 serial0 = &uart0;