]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
arm64: dts: berlin4ct: add default pinmux for uart0
authorJisheng Zhang <jszhang@marvell.com>
Fri, 16 Oct 2015 07:37:12 +0000 (15:37 +0800)
committerSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Thu, 19 Nov 2015 19:41:57 +0000 (20:41 +0100)
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>
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
arch/arm64/boot/dts/marvell/berlin4ct.dtsi

index 8e66355c83068aa233b8baaec118161e62b5a010..a4a18764ae985613d09e76a2b4d47e21baceab17 100644 (file)
                                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";
+                       };
                };
        };
 };