summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>2018-04-06 15:19:24 +0200
committerJakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>2018-04-06 15:22:57 +0200
commite076844e42a8f873acdf9493f1c39a83dc8a9ff7 (patch)
tree78fefdfabcf250dc5d1beacc3ebafb891b92d069
parent74cc97312a02ec9c56b9a1cb16981b264889cc99 (diff)
arm64: rk3368-lion-haikou.dts: enable uart1 by defaultHEADlion-4.15
Enable the uart by default so the user does not have to edit the dts if they want to use it. Exporting the gpios (20 & 21) through /sys/class/gpio overrides the uart pinmux, so the gpios still work as well. Also, don't mux the CTS and RTS pins. These are not connected anywhere, and muxing them only causes confusion. Signed-off-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
-rw-r--r--arch/arm64/boot/dts/rockchip/rk3368-lion-haikou.dts4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3368-lion-haikou.dts b/arch/arm64/boot/dts/rockchip/rk3368-lion-haikou.dts
index abf535ff7d8c..469b9df3a1a5 100644
--- a/arch/arm64/boot/dts/rockchip/rk3368-lion-haikou.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3368-lion-haikou.dts
@@ -96,9 +96,9 @@
&uart1 {
/* alternate function of GPIO5/6 - change to "okay" to enable */
- status = "disabled";
+ status = "okay";
pinctrl-names = "default";
- pinctrl-0 = <&uart1_xfer &uart1_cts &uart1_rts>;
+ pinctrl-0 = <&uart1_xfer>;
};
&pinctrl {