2023-12-17 11:26:12

by Andy Yan

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

From: Andy Yan <[email protected]>

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

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

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