[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4a28375f-7487-f745-5d05-e2bc4c939369@gmail.com>
Date: Thu, 29 Nov 2018 12:50:07 +0100
From: Matthias Brugger <matthias.bgg@...il.com>
To: matthias.bgg@...nel.org, robh+dt@...nel.org, mark.rutland@....com
Cc: linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, Matthias Brugger <mbrugger@...e.com>
Subject: Re: [PATCH] arm64: dts: Add uart for mt6797 EVB
On 16/11/2018 19:30, matthias.bgg@...nel.org wrote:
> From: Matthias Brugger <mbrugger@...e.com>
>
> This patch adds the pinctrl configuration for the mt6797 EVB.
>
> Signed-off-by: Matthias Brugger <mbrugger@...e.com>
> ---
> 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
> 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>,
>
Powered by blists - more mailing lists