devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
To: Simon Horman <horms-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org>,
	Magnus Damm <magnus.damm-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: Pantelis Antoniou
	<pantelis.antoniou-OWPKS81ov/FWk0Htik3J/w@public.gmane.org>,
	linux-sh-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Geert Uytterhoeven
	<geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
Subject: [PATCH/RFC 06/12] ARM: shmobile: koelsch dts: Add overlay for HSCIF2 on EXIO A
Date: Tue, 12 May 2015 19:37:09 +0200	[thread overview]
Message-ID: <1431452235-11692-7-git-send-email-geert+renesas@glider.be> (raw)
In-Reply-To: <1431452235-11692-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>

Provide access to HSCIF2 on EXIO Connector A.

FIXME Document "ctsrts" DT property.

Signed-off-by: Geert Uytterhoeven <geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
---
 arch/arm/boot/dts/Makefile                         |  1 +
 .../boot/dts/r8a7791-koelsch-exio-a-hscif2.dtso    | 53 ++++++++++++++++++++++
 2 files changed, 54 insertions(+)
 create mode 100644 arch/arm/boot/dts/r8a7791-koelsch-exio-a-hscif2.dtso

diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index d800690e3aaf7bab..d5d2386694d57391 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -672,6 +672,7 @@ dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += \
 	r8a7740-armadillo800eva-con15-scifa0.dtbo \
 	r8a7740-armadillo800eva-con15-scifb.dtbo \
 	r8a7791-koelsch-exio-a-hscif1.dtbo \
+	r8a7791-koelsch-exio-a-hscif2.dtbo \
 endif
 endif
 
diff --git a/arch/arm/boot/dts/r8a7791-koelsch-exio-a-hscif2.dtso b/arch/arm/boot/dts/r8a7791-koelsch-exio-a-hscif2.dtso
new file mode 100644
index 0000000000000000..7570096b0377fc89
--- /dev/null
+++ b/arch/arm/boot/dts/r8a7791-koelsch-exio-a-hscif2.dtso
@@ -0,0 +1,53 @@
+/*
+ * Device Tree Overlay for HSCIF2 on r8a7791/Koelsch EXIO Connector A
+ *
+ * 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 A pin 66
+ *   - TXD = EXIO Connector A pin 62
+ *   - CTS = EXIO Connector A pin 60
+ *   - RTS = EXIO Connector A pin 65
+ */
+
+/dts-v1/;
+/plugin/;
+
+/ {
+	fragment@0 {
+		target-path = "/aliases";
+
+		__overlay__ {
+			/* serial17 = &hscif2; */
+			serial17 = "/serial@e62d0000";
+		};
+	};
+
+	fragment@1 {
+		target = <&pfc>;
+
+		__overlay__ {
+			hscif2_pins: serial17 {
+				renesas,groups = "hscif2_data_b",
+						 "hscif2_ctrl_b";
+				renesas,function = "hscif2";
+			};
+		};
+	};
+
+	fragment@2 {
+		target = <&hscif2>;
+
+		__overlay__ {
+			pinctrl-0 = <&hscif2_pins>;
+			pinctrl-names = "default";
+
+			ctsrts;
+			status = "okay";
+		};
+	};
+};
-- 
1.9.1

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

  parent reply	other threads:[~2015-05-12 17:37 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-12 17:37 [PATCH/RFC 00/12] ARM: shmobile: dts: Add overlays for various serial ports Geert Uytterhoeven
2015-05-12 17:37 ` [PATCH/RFC 01/12] ARM: shmobile: armadillo dts: Add aliases for all " Geert Uytterhoeven
     [not found] ` <1431452235-11692-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
2015-05-12 17:37   ` [PATCH/RFC 02/12] ARM: shmobile: koelsch " Geert Uytterhoeven
2015-05-12 17:37   ` Geert Uytterhoeven [this message]
2015-05-12 17:37 ` [PATCH/RFC 03/12] ARM: shmobile: armadillo dts: Add overlay for SCIFA0 on CON15 Geert Uytterhoeven
2015-05-12 17:37 ` [PATCH/RFC 04/12] ARM: shmobile: armadillo dts: Add overlay for SCIFB " Geert Uytterhoeven
2015-05-12 17:37 ` [PATCH/RFC 05/12] ARM: shmobile: koelsch dts: Add overlay for HSCIF1 on EXIO A Geert Uytterhoeven
2015-05-12 17:37 ` [PATCH/RFC 07/12] ARM: shmobile: koelsch dts: Add overlay for SCIFB0 " Geert Uytterhoeven
2015-05-12 17:37 ` [PATCH/RFC 08/12] ARM: shmobile: koelsch dts: Add overlay for SCIFB1 " Geert Uytterhoeven
2015-09-10 12:24   ` Geert Uytterhoeven
2015-05-12 17:37 ` [PATCH/RFC 09/12] ARM: shmobile: koelsch dts: Add overlay for SCIF3 on EXIO C Geert Uytterhoeven
2015-05-12 17:37 ` [PATCH/RFC 10/12] ARM: shmobile: koelsch dts: Add overlay for SCIF5 " Geert Uytterhoeven
2015-05-12 17:37 ` [PATCH/RFC 11/12] ARM: shmobile: koelsch dts: Add overlay for SCIFA5(b) " Geert Uytterhoeven
2015-05-12 17:37 ` [PATCH/RFC 12/12] ARM: shmobile: koelsch dts: Add overlay for SCIFA5(c) " Geert Uytterhoeven
2015-05-13  8:16 ` [PATCH/RFC 00/12] ARM: shmobile: dts: Add overlays for various serial ports Pantelis Antoniou
2015-05-13  8:19   ` Geert Uytterhoeven
2015-05-13  8:20     ` Pantelis Antoniou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1431452235-11692-7-git-send-email-geert+renesas@glider.be \
    --to=geert+renesas-gxvu3+zwzmszqb+pc5nmwq@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=horms-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org \
    --cc=linux-sh-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=magnus.damm-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=pantelis.antoniou-OWPKS81ov/FWk0Htik3J/w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).