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


Groups > linux.kernel > #1243070

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

From Jisheng Zhang <jszhang@marvell.com>
Newsgroups linux.kernel
Subject [PATCH v3 6/6] arm64: dts: berlin4ct: add default pinmux for uart0
Date 2015-10-09 09:00 +0200
Message-ID <qhzOP-2W9-35@gated-at.bofh.it> (permalink)
References <qhzOO-2W9-7@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 | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 0/6] arm64: berlin: add pinctrl support Jisheng Zhang <jszhang@marvell.com> - 2015-10-09 09:00 +0200
  [PATCH v3 4/6] pinctrl: dt-binding: document berlin4ct SoC pinctrl Jisheng Zhang <jszhang@marvell.com> - 2015-10-09 09:00 +0200
  [PATCH v3 2/6] pinctrl: berlin: add the berlin4ct pinctrl driver Jisheng Zhang <jszhang@marvell.com> - 2015-10-09 09:00 +0200
  [PATCH v3 1/6] pinctrl: berlin: introduce berlin_pinctrl_probe_regmap() Jisheng Zhang <jszhang@marvell.com> - 2015-10-09 09:00 +0200
  [PATCH v3 6/6] arm64: dts: berlin4ct: add default pinmux for uart0 Jisheng Zhang <jszhang@marvell.com> - 2015-10-09 09:00 +0200
  [PATCH v3 3/6] arm64: berlin: add the pinctrl dependency for Marvell Berlin SoCs Jisheng Zhang <jszhang@marvell.com> - 2015-10-09 09:00 +0200

csiph-web