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 12/12] ARM: shmobile: koelsch dts: Add overlay for SCIFA5(c) on EXIO C
Date: Tue, 12 May 2015 19:37:15 +0200 [thread overview]
Message-ID: <1431452235-11692-13-git-send-email-geert+renesas@glider.be> (raw)
In-Reply-To: <1431452235-11692-1-git-send-email-geert+renesas@glider.be>
Provide access to SCIFA5(c) on EXIO Connector C.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
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
next prev 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
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
[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 dts: Add aliases for all serial ports 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 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 ` Geert Uytterhoeven [this message]
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-13-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).