Commit 5c04a5b0 authored by Rob Herring's avatar Rob Herring Committed by Arnd Bergmann

arm64: dts: Add/fix /memory node unit-addresses

'/memory' nodes always have a 'reg' property, and therefore should have
a unit-address with just plain hex (i.e. no commas). Fix all the arm64
'/memory' nodes.

It's possible that some bootloader depends on /memory (arm32 ATAG to DT
code does for example). If so, the memory node should be commented with
that requirement.
Signed-off-by: default avatarRob Herring (Arm) <robh@kernel.org>
Reviewed-by: default avatarFlorian Fainelli <florian.fainelli@broadcom.com>
Reviewed-by: default avatarHeiko Stuebner <heiko@sntech.de>
Reviewed-by: default avatarBryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: default avatarChanho Min <chanho.min@lge.com>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240430191856.874600-2-robh@kernel.orgSigned-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 7ecef37e
......@@ -24,7 +24,7 @@ memory@0 {
reg = <0x0 0x0 0x0 0x80000000>;
};
memory@1,e0000000 {
memory@1e0000000 {
device_type = "memory";
reg = <0x1 0xe0000000 0x0 0x0>;
};
......
......@@ -15,7 +15,7 @@ / {
chosen { };
memory {
memory@100000000 {
device_type = "memory";
reg = < 0x1 0x00000000 0x0 0x80000000 >;
};
......
......@@ -15,7 +15,7 @@ / {
chosen { };
memory {
memory@100000000 {
device_type = "memory";
reg = < 0x1 0x00000000 0x0 0x80000000 >; /* Updated by bootloader */
};
......
......@@ -50,7 +50,7 @@ chosen {
bootargs = "earlycon=uart8250,mmio32,0x66130000";
};
memory {
memory@80000000 {
device_type = "memory";
reg = <0x00000000 0x80000000 0x00000000 0x40000000>;
};
......
......@@ -47,7 +47,7 @@ chosen {
bootargs = "earlycon=uart8250,mmio32,0x66130000";
};
memory {
memory@80000000 {
device_type = "memory";
reg = <0x00000000 0x80000000 0x00000001 0x00000000>;
};
......
......@@ -14,7 +14,7 @@ / {
model = "Cavium ThunderX2 CN99XX";
compatible = "cavium,thunderx2-cn9900", "brcm,vulcan-soc";
memory {
memory@80000000 {
device_type = "memory";
reg = <0x00000000 0x80000000 0x0 0x80000000>, /* 2G @ 2G */
<0x00000008 0x80000000 0x0 0x80000000>; /* 2G @ 34G */
......
......@@ -22,7 +22,7 @@ aliases {
serial2 = &uart2;
};
memory {
memory@0 {
device_type = "memory";
reg = <0x0 0x00000000 0x20000000>;
};
......
......@@ -22,7 +22,7 @@ aliases {
serial2 = &uart2;
};
memory {
memory@0 {
device_type = "memory";
reg = <0x0 0x00000000 0x20000000>;
};
......
......@@ -16,7 +16,7 @@ chosen {
stdout-path = &serial0;
};
memory {
memory@0 {
reg = <0x0 0x0 0x0 0x40000000>;
};
};
......
......@@ -25,7 +25,7 @@ chosen {
stdout-path = "serial0:115200n8";
};
memory {
memory@80000000 {
device_type = "memory";
reg = <0x0 0x80000000 0x0 0xc0000000>;
};
......
......@@ -16,7 +16,7 @@ chosen {
stdout-path = "serial0";
};
memory {
memory@40000000 {
device_type = "memory";
reg = <0x0 0x40000000 0x0 0x20000000>;
};
......
......@@ -17,7 +17,7 @@ chosen {
stdout-path = "serial2:115200n8";
};
memory {
memory@0 {
device_type = "memory";
reg = <0x0 0x0 0x0 0x40000000>;
};
......
......@@ -21,7 +21,7 @@ chosen {
stdout-path = "serial2:115200n8";
};
memory {
memory@0 {
device_type = "memory";
reg = <0x0 0x0 0x0 0x80000000>;
};
......
......@@ -21,7 +21,7 @@ chosen {
stdout-path = "serial2:115200n8";
};
memory {
memory@0 {
device_type = "memory";
reg = <0x0 0x0 0x0 0x40000000>;
};
......
......@@ -24,7 +24,7 @@ aliases {
spi0 = &adi_bus;
};
memory {
memory@80000000 {
device_type = "memory";
reg = <0x0 0x80000000 0 0x60000000>,
<0x1 0x80000000 0 0x60000000>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment