add UART1 to OPiLite2

This commit is contained in:
Martin Ayotte 2019-04-27 11:49:00 -04:00
parent 685991ff1a
commit 28e8b699ad
2 changed files with 14 additions and 2 deletions

View File

@ -312,7 +312,7 @@ new file mode 100644
index 000000000..b9aff606e
--- /dev/null
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-lite2.dts
@@ -0,0 +1,294 @@
@@ -0,0 +1,300 @@
+// SPDX-License-Identifier: (GPL-2.0+ or MIT)
+/*
+ * Copyright (c) 2017 Icenowy Zheng <icenowy@aosc.io>
@ -592,6 +592,12 @@ index 000000000..b9aff606e
+ status = "okay";
+};
+
+&uart1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>;
+ status = "disabled";
+};
+
+&usb2otg {
+ dr_mode = "host";
+ status = "okay";

View File

@ -286,7 +286,7 @@ new file mode 100644
index 000000000..b9aff606e
--- /dev/null
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-lite2.dts
@@ -0,0 +1,269 @@
@@ -0,0 +1,275 @@
+// SPDX-License-Identifier: (GPL-2.0+ or MIT)
+/*
+ * Copyright (c) 2017 Icenowy Zheng <icenowy@aosc.io>
@ -541,6 +541,12 @@ index 000000000..b9aff606e
+ status = "okay";
+};
+
+&uart1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>;
+ status = "disabled";
+};
+
+&usb2otg {
+ dr_mode = "host";
+ status = "okay";