devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert+renesas@glider.be>
To: Simon Horman <horms@verge.net.au>, Magnus Damm <magnus.damm@gmail.com>
Cc: Pantelis Antoniou <pantelis.antoniou@konsulko.com>,
	linux-sh@vger.kernel.org, devicetree@vger.kernel.org,
	Geert Uytterhoeven <geert+renesas@glider.be>
Subject: [PATCH/RFC 04/12] ARM: shmobile: armadillo dts: Add overlay for SCIFB on CON15
Date: Tue, 12 May 2015 19:37:07 +0200	[thread overview]
Message-ID: <1431452235-11692-5-git-send-email-geert+renesas@glider.be> (raw)
In-Reply-To: <1431452235-11692-1-git-send-email-geert+renesas@glider.be>

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

diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 5366e2112ad1ea18..1f2478d6254ea70f 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -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
 
diff --git a/arch/arm/boot/dts/r8a7740-armadillo800eva-con15-scifb.dtso b/arch/arm/boot/dts/r8a7740-armadillo800eva-con15-scifb.dtso
new file mode 100644
index 0000000000000000..34e46580e09565a9
--- /dev/null
+++ b/arch/arm/boot/dts/r8a7740-armadillo800eva-con15-scifb.dtso
@@ -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";
+		};
+	};
+};
-- 
1.9.1


  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   ` [PATCH/RFC 06/12] ARM: shmobile: koelsch dts: Add overlay for HSCIF2 on EXIO A Geert Uytterhoeven
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 ` Geert Uytterhoeven [this message]
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-5-git-send-email-geert+renesas@glider.be \
    --to=geert+renesas@glider.be \
    --cc=devicetree@vger.kernel.org \
    --cc=horms@verge.net.au \
    --cc=linux-sh@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    --cc=pantelis.antoniou@konsulko.com \
    /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).