diff mbox series

[v4] ARM: dts: nuvoton: wpcm450: Add missing aliases for serial0/serial1

Message ID 20221008130822.1227104-1-j.neuschaefer@gmx.net
State Accepted
Commit 88cfe56ea64a4cc1038c18b9dd416d817d1c8ae5
Headers show
Series [v4] ARM: dts: nuvoton: wpcm450: Add missing aliases for serial0/serial1 | expand

Commit Message

J. Neuschäfer Oct. 8, 2022, 1:08 p.m. UTC
Without these, /chosen/stdout-path = "serial0:115200n8" does not work.

Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
v4:
- Add R-b tag

v3:
- Move serial aliases to board-specific file

v2:
- mention WPCM450 in the summary
---
 arch/arm/boot/dts/nuvoton-wpcm450-supermicro-x9sci-ln4f.dts | 5 +++++
 1 file changed, 5 insertions(+)

--
2.35.1
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/nuvoton-wpcm450-supermicro-x9sci-ln4f.dts b/arch/arm/boot/dts/nuvoton-wpcm450-supermicro-x9sci-ln4f.dts
index 3ee61251a16d0..83363c578f53c 100644
--- a/arch/arm/boot/dts/nuvoton-wpcm450-supermicro-x9sci-ln4f.dts
+++ b/arch/arm/boot/dts/nuvoton-wpcm450-supermicro-x9sci-ln4f.dts
@@ -15,6 +15,11 @@  / {
 	model = "Supermicro X9SCi-LN4F BMC";
 	compatible = "supermicro,x9sci-ln4f-bmc", "nuvoton,wpcm450";

+	aliases {
+		serial0 = &serial0;
+		serial1 = &serial1;
+	};
+
 	chosen {
 		stdout-path = "serial0:115200n8";
 	};