From e8c165fec90ba6ef63bc8bdcea3f8e481c00743c Mon Sep 17 00:00:00 2001 From: Matthias Brugger Date: Fri, 16 Nov 2018 19:30:40 +0100 Subject: [PATCH] arm64: dts: Add uart for mt6797 EVB This patch adds the pinctrl configuration for the mt6797 EVB. Signed-off-by: Matthias Brugger --- arch/arm64/boot/dts/mediatek/mt6797-evb.dts | 2 ++ arch/arm64/boot/dts/mediatek/mt6797.dtsi | 7 +++++++ 2 files changed, 9 insertions(+) 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 @@ memory@40000000 { &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 @@ pio: pinctrl@10005000 { gpio-controller; #gpio-cells = <2>; + uart0_pins_a: uart0 { + pins0 { + pinmux = , + ; + }; + }; + uart1_pins_a: uart1 { pins1 { pinmux = ,