[PATCH/RFC 12/12] ARM: shmobile: koelsch dts: Add overlay for SCIFA5(c) on EXIO C

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Provide access to SCIFA5(c) on EXIO Connector C.

Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
---
 arch/arm/boot/dts/Makefile                         |  1 +
 .../boot/dts/r8a7791-koelsch-exio-c-scifa5-c.dtso  | 60 ++++++++++++++++++++++
 2 files changed, 61 insertions(+)
 create mode 100644 arch/arm/boot/dts/r8a7791-koelsch-exio-c-scifa5-c.dtso

diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index a5cf8a6daf12ea1a..096d4939991b33c5 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -678,6 +678,7 @@ dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += \
 	r8a7791-koelsch-exio-c-scif3.dtbo \
 	r8a7791-koelsch-exio-c-scif5.dtbo \
 	r8a7791-koelsch-exio-c-scifa5-b.dtbo \
+	r8a7791-koelsch-exio-c-scifa5-c.dtbo
 endif
 endif
 
diff --git a/arch/arm/boot/dts/r8a7791-koelsch-exio-c-scifa5-c.dtso b/arch/arm/boot/dts/r8a7791-koelsch-exio-c-scifa5-c.dtso
new file mode 100644
index 0000000000000000..062cf6740207ddcf
--- /dev/null
+++ b/arch/arm/boot/dts/r8a7791-koelsch-exio-c-scifa5-c.dtso
@@ -0,0 +1,60 @@
+/*
+ * Device Tree Overlay for SCIFA5(c) on r8a7791/Koelsch EXIO Connector C
+ *
+ * Copyright (C) 2015 Glider bvba
+ *
+ * This file is licensed under the terms of the GNU General Public License
+ * version 2.  This program is licensed "as is" without any warranty of any
+ * kind, whether express or implied.
+ *
+ * Pinout:
+ *   - RXD = EXIO Connector C pin 39
+ *   - TXD = EXIO Connector C pin 37
+ *
+ * Notes:
+ *   - As these pins are shared with SDHI2, the latter is disabled first.
+ */
+
+/dts-v1/;
+/plugin/;
+
+/ {
+	fragment@0 {
+		target-path = "/aliases";
+
+		__overlay__ {
+			/* serial11 = &scifa5; */
+			serial11 = "/serial@e6c80000";
+		};
+	};
+
+	fragment@1 {
+		target = <&pfc>;
+
+		__overlay__ {
+			scifa5_pins_c: serial11_c {
+				renesas,groups = "scifa5_data_c";
+				renesas,function = "scifa5";
+			};
+		};
+	};
+
+	fragment@2 {
+		target = <&sdhi2>;
+
+		__overlay__ {
+			status = "disabled";
+		};
+	};
+
+	fragment@3 {
+		target = <&scifa5>;
+
+		__overlay__ {
+			pinctrl-0 = <&scifa5_pins_c>;
+			pinctrl-names = "default";
+
+			status = "okay";
+		};
+	};
+};
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux