[PATCH 2/2] arm: dts: rockchip: Add stdout-patch for rk3036 kylin

Andy Yan andyshrk at 163.com
Sun Dec 17 02:39:59 PST 2023


From: Andy Yan <andy.yan at rock-chips.com>

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

Signed-off-by: Andy Yan <andy.yan at rock-chips.com>
---

 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 at 60000000 {
 		device_type = "memory";
 		reg = <0x60000000 0x20000000>;
-- 
2.34.1




More information about the linux-arm-kernel mailing list