Skip to contentSkip to conversation

arm64: dts: Add uart for mt6797 EVB

PATCH Applied [email protected] 2 participants 2 messages Nov 16, 2018 – Nov 29, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: Add uart for mt6797 EVB

From: Matthias Brugger <[email protected]>

This patch adds the pinctrl configuration for the mt6797 EVB.

---
 arch/arm64/boot/dts/mediatek/mt6797-evb.dts | 2 ++
 arch/arm64/boot/dts/mediatek/mt6797.dtsi    | 7 +++++++
 2 files changed, 9 insertions(+)
arch/arm64/boot/dts/mediatek/mt6797-evb.dts +2 -0
index c79109c65409..237e869a5fa1 100644
@@ -33,4 +33,6 @@
 
 &uart0 {
 	status = "okay";
+	pinctrl-names = "default";
+	pinctrl-0 = <&uart0_pins_a>;
 };
arch/arm64/boot/dts/mediatek/mt6797.dtsi +7 -0
index a64bb84bdec3..2b2a69c7567f 100644
@@ -142,6 +142,13 @@
 		gpio-controller;
 		#gpio-cells = <2>;
 
+		uart0_pins_a: uart0 {
+			pins0 {
+				pinmux = <MT6797_GPIO234__FUNC_UTXD0>,
+					 <MT6797_GPIO235__FUNC_URXD0>;
+			};
+		};
+
 		uart1_pins_a: uart1 {
 			pins1 {
 				pinmux = <MT6797_GPIO232__FUNC_URXD1>,
Signature · 1 line
2.19.1
maintainer Applied
#1 lore raw
Quoted 10 lines · On 16/11/2018 19:30, [email protected] wrote:

From: Matthias Brugger <[email protected]>

This patch adds the pinctrl configuration for the mt6797 EVB.

---
 arch/arm64/boot/dts/mediatek/mt6797-evb.dts | 2 ++
 arch/arm64/boot/dts/mediatek/mt6797.dtsi    | 7 +++++++
 2 files changed, 9 insertions(+)

pushed to v4.20-next/dts64

Quoted 30 lines
arch/arm64/boot/dts/mediatek/mt6797-evb.dts +2 -0
index c79109c65409..237e869a5fa1 100644
@@ -33,4 +33,6 @@
 
 &uart0 {
 	status = "okay";
+	pinctrl-names = "default";
+	pinctrl-0 = <&uart0_pins_a>;
 };
arch/arm64/boot/dts/mediatek/mt6797.dtsi +7 -0
index a64bb84bdec3..2b2a69c7567f 100644
@@ -142,6 +142,13 @@
 		gpio-controller;
 		#gpio-cells = <2>;
 
+		uart0_pins_a: uart0 {
+			pins0 {
+				pinmux = <MT6797_GPIO234__FUNC_UTXD0>,
+					 <MT6797_GPIO235__FUNC_URXD0>;
+			};
+		};
+
 		uart1_pins_a: uart1 {
 			pins1 {
 				pinmux = <MT6797_GPIO232__FUNC_URXD1>,