diff options
author | Matthias Brugger <mbrugger@suse.com> | 2018-11-16 21:30:40 +0300 |
---|---|---|
committer | Matthias Brugger <matthias.bgg@gmail.com> | 2019-01-09 20:16:06 +0300 |
commit | e8c165fec90ba6ef63bc8bdcea3f8e481c00743c (patch) | |
tree | 73f5cccd1cbaf45d173d8376bf865adb1624533c /arch/arm64/boot | |
parent | 58bef10e47fe7126ee6e6e1548c95ccb3258e6ce (diff) | |
download | linux-e8c165fec90ba6ef63bc8bdcea3f8e481c00743c.tar.xz |
arm64: dts: Add uart for mt6797 EVB
This patch adds the pinctrl configuration for the mt6797 EVB.
Signed-off-by: Matthias Brugger <mbrugger@suse.com>
Diffstat (limited to 'arch/arm64/boot')
-rw-r--r-- | arch/arm64/boot/dts/mediatek/mt6797-evb.dts | 2 | ||||
-rw-r--r-- | arch/arm64/boot/dts/mediatek/mt6797.dtsi | 7 |
2 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/mediatek/mt6797-evb.dts b/arch/arm64/boot/dts/mediatek/mt6797-evb.dts index c79109c65409..237e869a5fa1 100644 --- a/arch/arm64/boot/dts/mediatek/mt6797-evb.dts +++ b/arch/arm64/boot/dts/mediatek/mt6797-evb.dts @@ -33,4 +33,6 @@ &uart0 { status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&uart0_pins_a>; }; diff --git a/arch/arm64/boot/dts/mediatek/mt6797.dtsi b/arch/arm64/boot/dts/mediatek/mt6797.dtsi index a64bb84bdec3..2b2a69c7567f 100644 --- a/arch/arm64/boot/dts/mediatek/mt6797.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt6797.dtsi @@ -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>, |