ARM: dts: aspeed: add missing memory unit-address
Subsystems (2)
Rob Herring
maintainerPATCH 1/1 ARM: dts: aspeed: add missing memory unit-address
The base aspeed-g5.dtsi already defines a '/memory at 80000000' node, so '/memory' in the board files create a duplicate node. We're probably getting lucky that the bootloader fixes up the memory node that the kernel ends up using. Add the unit-address so it's merged with the base node.
Found with DT json-schema checks.
---
Might be better to just remove the node altogether from the SoC dtsi file. It's only saving the device_type definition.
arch/arm/boot/dts/aspeed-bmc-arm-centriq2400-rep.dts | 2 +- arch/arm/boot/dts/aspeed-bmc-intel-s2600wf.dts | 2 +- arch/arm/boot/dts/aspeed-bmc-opp-lanyang.dts | 3 +-- arch/arm/boot/dts/aspeed-bmc-portwell-neptune.dts | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-)
arch/arm/boot/dts/aspeed-bmc-arm-centriq2400-rep.dts +1 -1
@@ -13,7 +13,7 @@ bootargs = "console=ttyS4,115200 earlyprintk"; }; - memory { + memory at 80000000 { reg = <0x80000000 0x40000000>; };
arch/arm/boot/dts/aspeed-bmc-intel-s2600wf.dts +1 -1
@@ -13,7 +13,7 @@ bootargs = "earlyprintk"; }; - memory { + memory at 80000000 { reg = <0x80000000 0x20000000>; };
arch/arm/boot/dts/aspeed-bmc-opp-lanyang.dts +1 -2
@@ -14,7 +14,7 @@ bootargs = "console=ttyS4,115200 earlyprintk"; }; - memory { + memory at 80000000 { reg = <0x80000000 0x40000000>; };
@@ -322,4 +322,3 @@ &adc { status = "okay"; }; -
arch/arm/boot/dts/aspeed-bmc-portwell-neptune.dts +1 -1
@@ -17,7 +17,7 @@ bootargs = "console=ttyS4,115200 earlyprintk"; }; - memory { + memory at 80000000 { reg = <0x80000000 0x20000000>; };
Signature · 1 line
2.19.1
Quoted 14 lines · Rob Herring
The base
aspeed-g5.dtsialready defines a '/memory at 80000000' node, so '/memory' in the board files create a duplicate node. We're probably getting lucky that the bootloader fixes up the memory node that the kernel ends up using. Add the unit-address so it's merged with the base node.Found with DT json-schema checks.
Cc Joel Stanley <[email protected]>Cc Andrew Jeffery <[email protected]>Cc devicetree at vger.kernel.orgCc linux-arm-kernel at lists.infradead.orgCc linux-aspeed at lists.ozlabs.orgSigned-off-by Rob Herring <[email protected]>
Quoted 3 lines
---
Might be better to just remove the node altogether from the SoC dtsi file. It's only saving thedevice_typedefinition.
Since I'm sweeping DT pull requests right now, and this is pretty straightforward, I've applied it to next/dt directly.
-Olof
Joel Stanley
maintainerQuoted 20 lines · Olof Johansson
Quoted 14 lines · Rob Herring
The base
aspeed-g5.dtsialready defines a '/memory at 80000000' node, so '/memory' in the board files create a duplicate node. We're probably getting lucky that the bootloader fixes up the memory node that the kernel ends up using. Add the unit-address so it's merged with the base node.Found with DT json-schema checks.
Cc Joel Stanley <[email protected]>Cc Andrew Jeffery <[email protected]>Cc devicetree at vger.kernel.orgCc linux-arm-kernel at lists.infradead.orgCc linux-aspeed at lists.ozlabs.orgSigned-off-by Rob Herring <[email protected]>Quoted 3 lines
---
Might be better to just remove the node altogether from the SoC dtsi file. It's only saving thedevice_typedefinition.
Quoted 2 lines
Since I'm sweeping DT pull requests right now, and this is pretty straightforward, I've applied it to next/dt directly.
Thanks Rob and Olof.
Cheers,
Joel