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


Groups > linux.kernel > #1229191

[PATCH v2 6/6] arm64: dts: berlin4ct: add default pinmux for uart0

From Jisheng Zhang <jszhang@marvell.com>
Newsgroups linux.kernel
Subject [PATCH v2 6/6] arm64: dts: berlin4ct: add default pinmux for uart0
Date 2015-09-21 12:20 +0200
Message-ID <qb6mu-3FW-39@gated-at.bofh.it> (permalink)
References <qb6cN-3uu-5@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 c374f1d..e9409ec 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 = <&urt0_pmux>;
+				pinctrl-names = "default";
 			};
 		};
 
 		sm_pinctrl: pinctrl@fe2200 {
 			compatible = "marvell,berlin4ct-sm-pinctrl";
 			reg = <0xfe2200 0xc>;
+
+			urt0_pmux: urt0-pmux {
+				groups = "SM_URT0_TXD", "SM_URT0_RXD";
+				function = "urt0";
+			};
 		};
 	};
 };
-- 
2.5.3

--
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 | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/6] arm64: berlin: add pinctrl support Jisheng Zhang <jszhang@marvell.com> - 2015-09-21 12:10 +0200
  [PATCH v2 5/6] arm64: dts: berlin4ct: add the pinctrl node Jisheng Zhang <jszhang@marvell.com> - 2015-09-21 12:10 +0200
  [PATCH v2 4/6] pinctrl: dt-binding: document berlin4ct SoC pinctrl Jisheng Zhang <jszhang@marvell.com> - 2015-09-21 12:10 +0200
  [PATCH v2 2/6] pinctrl: berlin: add the berlin4ct pinctrl driver Jisheng Zhang <jszhang@marvell.com> - 2015-09-21 12:20 +0200
  [PATCH v2 1/6] pinctrl: berlin: regmap as an extra argument of berlin_pinctrl_probe() Jisheng Zhang <jszhang@marvell.com> - 2015-09-21 12:20 +0200
  [PATCH v2 3/6] arm64: berlin: add the pinctrl dependency for Marvell Berlin SoCs Jisheng Zhang <jszhang@marvell.com> - 2015-09-21 12:20 +0200
  [PATCH v2 6/6] arm64: dts: berlin4ct: add default pinmux for uart0 Jisheng Zhang <jszhang@marvell.com> - 2015-09-21 12:20 +0200

csiph-web