2023-12-18 10:56:49

by Andy Yan

[permalink] [raw]
Subject: [PATCH v2 2/3] ARM: dts: rockchip: Add stdout-path for rk3036 kylin

From: Andy Yan <[email protected]>

Add stdout-path to get a uart console when system boot.

Signed-off-by: Andy Yan <[email protected]>

---

Changes in v2:
- Fix typo s/patch/path/
- Change subjet s/arm/ARM/

arch/arm/boot/dts/rockchip/rk3036-kylin.dts | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/rockchip/rk3036-kylin.dts b/arch/arm/boot/dts/rockchip/rk3036-kylin.dts
index 67e1e04139e7..f12fa3831bbf 100644
--- a/arch/arm/boot/dts/rockchip/rk3036-kylin.dts
+++ b/arch/arm/boot/dts/rockchip/rk3036-kylin.dts
@@ -8,6 +8,10 @@ / {
model = "Rockchip RK3036 KylinBoard";
compatible = "rockchip,rk3036-kylin", "rockchip,rk3036";

+ chosen {
+ stdout-path = "serial2:115200n8";
+ };
+
memory@60000000 {
device_type = "memory";
reg = <0x60000000 0x20000000>;
--
2.34.1