summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJisheng Zhang <jszhang@marvell.com>2015-10-16 15:37:12 +0800
committerSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>2015-11-19 20:41:57 +0100
commitd9c1567f8427519b5b61cbca5477f96a1590d51b (patch)
tree3deb6547a724c4148214ab21f95ddbd6297d8b8c
parentcb27c89b7817935c0a532b39e6a77dd2e2fc3e56 (diff)
downloadlinux-d9c1567f8427519b5b61cbca5477f96a1590d51b.tar.gz
linux-d9c1567f8427519b5b61cbca5477f96a1590d51b.tar.bz2
linux-d9c1567f8427519b5b61cbca5477f96a1590d51b.zip
arm64: dts: berlin4ct: add default pinmux for uart0
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>
-rw-r--r--arch/arm64/boot/dts/marvell/berlin4ct.dtsi7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/marvell/berlin4ct.dtsi b/arch/arm64/boot/dts/marvell/berlin4ct.dtsi
index 8e66355c8306..a4a18764ae98 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";
+ };
};
};
};