@@ -670,6 +670,7 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += \
ifeq ($(CONFIG_OF_OVERLAY),y)
dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += \
r8a7740-armadillo800eva-con15-scifa0.dtbo \
+ r8a7740-armadillo800eva-con15-scifb.dtbo \
endif
endif
new file mode 100644
@@ -0,0 +1,52 @@
+/*
+ * Device Tree Overlay for SCIFB on r8a7740/Armadillo-800 EVA Expansion
+ * Interface Connector
+ *
+ * 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 = CON15 pin 41
+ * - TXD = CON15 pin 40
+ * - SCK = CON15 pin 42
+ */
+
+/dts-v1/;
+/plugin/;
+
+/ {
+ fragment@0 {
+ target-path = "/aliases";
+
+ __overlay__ {
+ /* serial8 = &scifb; */
+ serial8 = "/serial@e6c30000";
+ };
+ };
+
+ fragment@1 {
+ target = <&pfc>;
+
+ __overlay__ {
+ scifb_pins: serial8 {
+ renesas,groups = "scifb_data_0";
+ renesas,function = "scifb";
+ };
+ };
+ };
+
+ fragment@2 {
+ target = <&scifb>;
+
+ __overlay__ {
+ pinctrl-0 = <&scifb_pins>;
+ pinctrl-names = "default";
+
+ ctsrts;
+ status = "okay";
+ };
+ };
+};
Provide access to SCIFB on the Expansion Interface Connector (CON15), as documented in Table 18.15 of the "Armadillo-800 EVA Product Manual". Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> --- arch/arm/boot/dts/Makefile | 1 + .../dts/r8a7740-armadillo800eva-con15-scifb.dtso | 52 ++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 arch/arm/boot/dts/r8a7740-armadillo800eva-con15-scifb.dtso