arm64: dts: Add uart for mt6797 EVB
Subsystems (2)
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.
Signed-off-by Matthias Brugger <[email protected]>
--- 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
@@ -33,4 +33,6 @@ &uart0 { status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&uart0_pins_a>; };
arch/arm64/boot/dts/mediatek/mt6797.dtsi +7 -0
@@ -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
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.
Signed-off-by Matthias Brugger <[email protected]>--- 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@@ -33,4 +33,6 @@ &uart0 { status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&uart0_pins_a>; };arch/arm64/boot/dts/mediatek/mt6797.dtsi +7
-0@@ -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>,