Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1243299

[PATCH v5 7/7] arm64: dts: berlin4ct: add default pinmux for uart0

From Jisheng Zhang <jszhang@marvell.com>
Newsgroups linux.kernel
Subject [PATCH v5 7/7] arm64: dts: berlin4ct: add default pinmux for uart0
Date 2015-10-09 14:10 +0200
Message-ID <qhEEO-1EV-19@gated-at.bofh.it> (permalink)
References <qhEEN-1EV-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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>
---
 arch/arm64/boot/dts/marvell/berlin4ct.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

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";
+			};
 		};
 	};
 };
-- 
2.6.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v5 0/7] arm64: berlin: add pinctrl support Jisheng Zhang <jszhang@marvell.com> - 2015-10-09 14:10 +0200
  [PATCH v5 3/7] pinctrl: berlin: add the berlin4ct pinctrl driver Jisheng Zhang <jszhang@marvell.com> - 2015-10-09 14:10 +0200
    Re: [PATCH v5 3/7] pinctrl: berlin: add the berlin4ct pinctrl driver Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> - 2015-10-16 00:00 +0200
  [PATCH v5 7/7] arm64: dts: berlin4ct: add default pinmux for uart0 Jisheng Zhang <jszhang@marvell.com> - 2015-10-09 14:10 +0200
  [PATCH v5 4/7] arm64: berlin: add the pinctrl dependency for Marvell Berlin SoCs Jisheng Zhang <jszhang@marvell.com> - 2015-10-09 14:10 +0200
  Re: [PATCH v5 0/7] arm64: berlin: add pinctrl support Antoine Tenart <antoine.tenart@free-electrons.com> - 2015-10-11 00:40 +0200
    Re: [PATCH v5 0/7] arm64: berlin: add pinctrl support Jisheng Zhang <jszhang@marvell.com> - 2015-10-12 04:50 +0200
  Re: [PATCH v5 0/7] arm64: berlin: add pinctrl support Antoine Tenart <antoine.tenart@free-electrons.com> - 2015-10-11 00:50 +0200
    Re: [PATCH v5 0/7] arm64: berlin: add pinctrl support Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> - 2015-10-16 00:00 +0200

csiph-web