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

ARM: dts: bcm: Add missing device_type = "memory" property

During the removal of the skeleton.dtsi file with commit abe60a3a7afb
("ARM: dts: Kill off skeleton{64}.dtsi") a number of Broadcom SoCs were
converted, but a few were left unoticed, now causing boot failures with
v5.1 since the kernel cannot find suitable memory.

Updating the .dtsi files with the property will be done next, since
there are some memory nodes that do not follow the proper naming
convention and lack an unit name.

Fixes: abe60a3a7afb ("ARM: dts: Kill off skeleton{64}.dtsi")
Reported-by: Kevin Hilman <khilman@kernel.org>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>

+20
+1
arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts
··· 20 20 }; 21 21 22 22 memory { 23 + device_type = "memory"; 23 24 reg = <0x00000000 0x08000000 24 25 0x88000000 0x08000000>; 25 26 };
+1
arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts
··· 20 20 }; 21 21 22 22 memory { 23 + device_type = "memory"; 23 24 reg = <0x00000000 0x08000000 24 25 0x88000000 0x08000000>; 25 26 };
+1
arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
··· 20 20 }; 21 21 22 22 memory { 23 + device_type = "memory"; 23 24 reg = <0x00000000 0x08000000 24 25 0x88000000 0x18000000>; 25 26 };
+1
arch/arm/boot/dts/bcm4708-linksys-ea6300-v1.dts
··· 17 17 }; 18 18 19 19 memory { 20 + device_type = "memory"; 20 21 reg = <0x00000000 0x08000000>; 21 22 }; 22 23
+1
arch/arm/boot/dts/bcm4708-linksys-ea6500-v2.dts
··· 18 18 }; 19 19 20 20 memory { 21 + device_type = "memory"; 21 22 reg = <0x00000000 0x08000000>; 22 23 }; 23 24
+1
arch/arm/boot/dts/bcm4708-luxul-xap-1510.dts
··· 16 16 }; 17 17 18 18 memory { 19 + device_type = "memory"; 19 20 reg = <0x00000000 0x08000000>; 20 21 }; 21 22
+1
arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts
··· 20 20 }; 21 21 22 22 memory { 23 + device_type = "memory"; 23 24 reg = <0x00000000 0x08000000>; 24 25 }; 25 26
+1
arch/arm/boot/dts/bcm4708-netgear-r6250.dts
··· 21 21 }; 22 22 23 23 memory { 24 + device_type = "memory"; 24 25 reg = <0x00000000 0x08000000 25 26 0x88000000 0x08000000>; 26 27 };
+1
arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts
··· 20 20 }; 21 21 22 22 memory { 23 + device_type = "memory"; 23 24 reg = <0x00000000 0x08000000 24 25 0x88000000 0x08000000>; 25 26 };
+1
arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
··· 20 20 }; 21 21 22 22 memory { 23 + device_type = "memory"; 23 24 reg = <0x00000000 0x08000000 24 25 0x88000000 0x08000000>; 25 26 };
+1
arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts
··· 20 20 }; 21 21 22 22 memory { 23 + device_type = "memory"; 23 24 reg = <0x00000000 0x08000000 24 25 0x88000000 0x08000000>; 25 26 };
+1
arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
··· 20 20 }; 21 21 22 22 memory { 23 + device_type = "memory"; 23 24 reg = <0x00000000 0x08000000 24 25 0x88000000 0x18000000>; 25 26 };
+1
arch/arm/boot/dts/bcm4709-linksys-ea9200.dts
··· 17 17 }; 18 18 19 19 memory { 20 + device_type = "memory"; 20 21 reg = <0x00000000 0x08000000 21 22 0x88000000 0x08000000>; 22 23 };
+1
arch/arm/boot/dts/bcm4709-netgear-r7000.dts
··· 20 20 }; 21 21 22 22 memory { 23 + device_type = "memory"; 23 24 reg = <0x00000000 0x08000000 24 25 0x88000000 0x08000000>; 25 26 };
+1
arch/arm/boot/dts/bcm4709-netgear-r8000.dts
··· 31 31 }; 32 32 33 33 memory { 34 + device_type = "memory"; 34 35 reg = <0x00000000 0x08000000 35 36 0x88000000 0x08000000>; 36 37 };
+1
arch/arm/boot/dts/bcm47094-phicomm-k3.dts
··· 14 14 model = "Phicomm K3"; 15 15 16 16 memory { 17 + device_type = "memory"; 17 18 reg = <0x00000000 0x08000000 18 19 0x88000000 0x18000000>; 19 20 };
+1
arch/arm/boot/dts/bcm94708.dts
··· 39 39 compatible = "brcm,bcm94708", "brcm,bcm4708"; 40 40 41 41 memory { 42 + device_type = "memory"; 42 43 reg = <0x00000000 0x08000000>; 43 44 }; 44 45 };
+1
arch/arm/boot/dts/bcm94709.dts
··· 39 39 compatible = "brcm,bcm94709", "brcm,bcm4709", "brcm,bcm4708"; 40 40 41 41 memory { 42 + device_type = "memory"; 42 43 reg = <0x00000000 0x08000000>; 43 44 }; 44 45 };
+1
arch/arm/boot/dts/bcm963138dvt.dts
··· 17 17 }; 18 18 19 19 memory { 20 + device_type = "memory"; 20 21 reg = <0x0 0x08000000>; 21 22 }; 22 23