arm64: dts: meson-axg-s400: Add chosen and memory nodes
Subsystems (2)
PATCH 1/1 arm64: dts: meson-axg-s400: Add chosen and memory nodes
Add missing chosen and memory nodes.
--- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 9 +++++++++ 1 file changed, 9 insertions(+)
arch/arm64/boot/dts/amlogic/meson-axg-s400.dts +9 -0
@@ -60,6 +60,15 @@ serial1 = &uart_A; }; + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory at 0 { + device_type = "memory"; + reg = <0x0 0x0 0x0 0x40000000>; + }; + main_12v: regulator-main_12v { compatible = "regulator-fixed"; regulator-name = "12V";
Signature · 1 line
2.7.4
Quoted 4 lines · Neil Armstrong
Add missing chosen and memory nodes.
Signed-off-by Neil Armstrong <[email protected]>
out of curiosity:
- does the bootloader add the memory node (meaning that this is just a cosmetic bit)?
- setting stdout-path is always a good idea, without it you can't use earlycon (without parameters)
Hi Martin,
Quoted 8 lines · Martin Blumenstingl
Quoted 4 lines · Neil Armstrong
Add missing chosen and memory nodes.
Signed-off-by Neil Armstrong <[email protected]>out of curiosity:
- does the bootloader add the memory node (meaning that this is just a cosmetic bit)?
Yes, but it's always better to already have the node so it only change the memory, otherwise it has to relocate and insert a node in the middle of the dtb.
Quoted 5 lines
- setting stdout-path is always a good idea, without it you can't use earlycon (without parameters)
Thanks,
Neil
Quoted 3 lines · Neil Armstrong
Add missing chosen and memory nodes.
Signed-off-by Neil Armstrong <[email protected]>
Applied to v4.20/dt64 with Martin's ack.
Thanks,
Kevin