Message ID | 1444981032-4401-8-git-send-email-jszhang@marvell.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Fri, Oct 16, 2015 at 9:37 AM, Jisheng Zhang <jszhang@marvell.com> wrote: > Add urt0 txd and rxd muxing setup in the dtsi because uart0 always uses > them to work, no other possibilities. > > Signed-off-by: Jisheng Zhang <jszhang@marvell.com> > Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> > Acked-by: Antoine Tenart <antoine.tenart@free-electrons.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Funnel this through ARM SoC. Yours, Linus Walleij
On 16.10.2015 16:18, Linus Walleij wrote: > On Fri, Oct 16, 2015 at 9:37 AM, Jisheng Zhang <jszhang@marvell.com> wrote: > >> Add urt0 txd and rxd muxing setup in the dtsi because uart0 always uses >> them to work, no other possibilities. >> >> Signed-off-by: Jisheng Zhang <jszhang@marvell.com> >> Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> >> Acked-by: Antoine Tenart <antoine.tenart@free-electrons.com> > > Acked-by: Linus Walleij <linus.walleij@linaro.org> > Funnel this through ARM SoC. Applied to berlin64/dt with Linus' Ack. Thanks, Sebastian
diff --git a/arch/arm64/boot/dts/marvell/berlin4ct.dtsi b/arch/arm64/boot/dts/marvell/berlin4ct.dtsi index 8e66355..a4a1876 100644 --- a/arch/arm64/boot/dts/marvell/berlin4ct.dtsi +++ b/arch/arm64/boot/dts/marvell/berlin4ct.dtsi @@ -288,12 +288,19 @@ clocks = <&osc>; reg-shift = <2>; status = "disabled"; + pinctrl-0 = <&uart0_pmux>; + pinctrl-names = "default"; }; }; system_pinctrl: pin-controller@fe2200 { compatible = "marvell,berlin4ct-system-pinctrl"; reg = <0xfe2200 0xc>; + + uart0_pmux: uart0-pmux { + groups = "SM_URT0_TXD", "SM_URT0_RXD"; + function = "uart0"; + }; }; }; };