ARM: dts: imx6: Add stdout-path to Wandboard
Subsystems (2)
PATCH 1/1 ARM: dts: imx6: Add stdout-path to Wandboard
Setting a stdout-path in the .dtb is convenient because then the user gets a serial console on the RS-232 connector without any extra effort of figuring out the relevant 'console=' boot parameter.
Signed-off-by Tuomas Tynkkynen <[email protected]>
---
Tested on a Wandboard Quad with mainline U-Boot 2018.05.
--- arch/arm/boot/dts/imx6qdl-wandboard.dtsi | 4 ++++ 1 file changed, 4 insertions(+)
arch/arm/boot/dts/imx6qdl-wandboard.dtsi +4 -0
@@ -8,6 +8,10 @@ #include <dt-bindings/gpio/gpio.h> / { + chosen { + stdout-path = &uart1; + }; + regulators { compatible = "simple-bus"; #address-cells = <1>;
Signature · 1 line
2.16.3
Hi Tuomas,
Quoted 5 lines · Tuomas Tynkkynen
Setting a stdout-path in the .dtb is convenient because then the user gets a serial console on the RS-232 connector without any extra effort of figuring out the relevant 'console=' boot parameter.
Signed-off-by Tuomas Tynkkynen <[email protected]>
Patch looks good.
Only a minor nit on the Subject line: I would do it like this to make it consistent:
ARM: dts: imx6qdl-wandboard: Add stdout-path
Reviewed-by Fabio Estevam <[email protected]>