@@ -666,6 +666,11 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += \
mt6592-evb.dtb \
mt8127-moose.dtb \
mt8135-evbp1.dtb
+
+ifeq ($(CONFIG_OF_OVERLAY),y)
+dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += \
+ r8a7740-armadillo800eva-con15-scifa0.dtbo \
+endif
endif
always := $(dtb-y)
new file mode 100644
@@ -0,0 +1,53 @@
+/*
+ * Device Tree Overlay for SCIFA0 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 23
+ * - TXD = CON15 pin 25
+ * - CTS = CON15 pin 35
+ * - RTS = CON15 pin 34
+ */
+
+/dts-v1/;
+/plugin/;
+
+/ {
+ fragment@0 {
+ target-path = "/aliases";
+
+ __overlay__ {
+ /* serial0 = &scifa0; */
+ serial0 = "/serial@e6c40000";
+ };
+ };
+
+ fragment@1 {
+ target = <&pfc>;
+
+ __overlay__ {
+ scifa0_pins: serial0 {
+ renesas,groups = "scifa0_data", "scifa0_ctrl";
+ renesas,function = "scifa0";
+ };
+ };
+ };
+
+ fragment@2 {
+ target = <&scifa0>;
+
+ __overlay__ {
+ pinctrl-0 = <&scifa0_pins>;
+ pinctrl-names = "default";
+
+ ctsrts;
+ status = "okay";
+ };
+ };
+};
Provide access to SCIFA0 on the Expansion Interface Connector (CON15), as documented in Table 18.15 of the "Armadillo-800 EVA Product Manual". FIXME Document "ctsrts" DT property. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> --- arch/arm/boot/dts/Makefile | 5 ++ .../dts/r8a7740-armadillo800eva-con15-scifa0.dtso | 53 ++++++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 arch/arm/boot/dts/r8a7740-armadillo800eva-con15-scifa0.dtso