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 03/12] ARM: shmobile: armadillo dts: Add overlay for SCIFA0 on CON15
Date: Tue, 12 May 2015 19:37:06 +0200 [thread overview]
Message-ID: <1431452235-11692-4-git-send-email-geert+renesas@glider.be> (raw)
In-Reply-To: <1431452235-11692-1-git-send-email-geert+renesas@glider.be>
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
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 93be426297370a2c..5366e2112ad1ea18 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -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)
diff --git a/arch/arm/boot/dts/r8a7740-armadillo800eva-con15-scifa0.dtso b/arch/arm/boot/dts/r8a7740-armadillo800eva-con15-scifa0.dtso
new file mode 100644
index 0000000000000000..4a7d89ddf61d3dc2
--- /dev/null
+++ b/arch/arm/boot/dts/r8a7740-armadillo800eva-con15-scifa0.dtso
@@ -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";
+ };
+ };
+};
--
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 ` Geert Uytterhoeven [this message]
2015-05-12 17:37 ` [PATCH/RFC 04/12] ARM: shmobile: armadillo dts: Add overlay for SCIFB on CON15 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 ` [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-4-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).