All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: r8a7796 salvator-x: External SCIF3/HSCIF3 loop
@ 2016-09-14 16:47 Ulrich Hecht
  2016-09-16 10:14 ` Simon Horman
  0 siblings, 1 reply; 3+ messages in thread
From: Ulrich Hecht @ 2016-09-14 16:47 UTC (permalink / raw)
  To: linux-renesas-soc, geert; +Cc: magnus.damm, horms, Ulrich Hecht

Add SCIF3 and HSCIF3 as two new serial ports to the r8a7796
Salvator-X DT file.

Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
---
 arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts | 26 ++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts b/arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts
index bdf6e05..2636742 100644
--- a/arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts
+++ b/arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts
@@ -18,6 +18,8 @@
 
 	aliases {
 		serial0 = &scif2;
+		serial2 = &scif3;
+		serial3 = &hscif3;
 	};
 
 	chosen {
@@ -89,6 +91,14 @@
 		groups = "scif2_data_a";
 		function = "scif2";
 	};
+	scif3_pins: scif3 { /* TX: 1_11, RX: 1_8 */
+		groups = "scif3_data_b";
+		function = "scif3";
+	};
+	hscif3_pins: hscif3 { /* TX: 2_8, RX: 2_7 */
+		groups = "hscif3_data_d";
+		function = "hscif3";
+	};
 	scif_clk_pins: scif_clk {
 		groups = "scif_clk_a";
 		function = "scif_clk";
@@ -138,6 +148,22 @@
 	status = "okay";
 };
 
+&scif3 {
+	pinctrl-0 = <&scif3_pins>;
+	pinctrl-names = "default";
+
+	status = "okay";
+};
+
+/* SCIF3 TX -> HSCIF3 RX, HSCIF3 TX -> SCIF3 RX */
+
+&hscif3 {
+	pinctrl-0 = <&hscif3_pins>;
+	pinctrl-names = "default";
+
+	status = "okay";
+};
+
 &scif2 {
 	pinctrl-0 = <&scif2_pins>;
 	pinctrl-names = "default";
-- 
2.9.3

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-09-16 11:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-14 16:47 [PATCH] arm64: dts: r8a7796 salvator-x: External SCIF3/HSCIF3 loop Ulrich Hecht
2016-09-16 10:14 ` Simon Horman
2016-09-16 11:04   ` Geert Uytterhoeven

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.