build/patch/kernel/rockchip64-current/board-rockpis-0024-add-uart2-for-debug-rock-pi-s-dts.patch
Igor Pečovnik b7d4a7a577
Enable UART2 on Rockpi S (#2460)
* Add uart2 for debug on Rockpi S

* Rename for clarity

* Add patch to DEV too
2020-12-15 22:25:23 +01:00

23 lines
530 B
Diff

--- a/arch/arm64/boot/dts/rockchip/rk3308-rock-pi-s.dts 2020-08-30 17:11:49.162572017 +0300
+++ b/arch/arm64/boot/dts/rockchip/rk3308-rock-pi-s.dts 2020-08-30 17:12:00.122550893 +0300
@@ -12,7 +12,7 @@
compatible = "radxa,rockpis", "rockchip,rk3308";
chosen {
- stdout-path = "serial0:1500000n8";
+ stdout-path = "serial2:1500000n8";
};
leds {
@@ -326,6 +326,10 @@
status = "okay";
};
+&uart2 {
+ status = "okay";
+};
+
&uart4 {
pinctrl-names = "default";
pinctrl-0 = <&uart4_xfer &uart4_rts &uart4_cts>;