Enable UART2 on Rockpi S (#2460)
* Add uart2 for debug on Rockpi S * Rename for clarity * Add patch to DEV too
This commit is contained in:
parent
f8cd769b46
commit
b7d4a7a577
@ -0,0 +1,23 @@
|
||||
--- 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>;
|
||||
|
||||
@ -0,0 +1,23 @@
|
||||
--- 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>;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user