From: peter.griffin@linaro.org (Peter Griffin)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 1/4] ARM: DT: STiH407: Add UART RTS/CTS pin configuration
Date: Tue, 12 Apr 2016 14:57:25 +0100 [thread overview]
Message-ID: <1460469448-9065-2-git-send-email-peter.griffin@linaro.org> (raw)
In-Reply-To: <1460469448-9065-1-git-send-email-peter.griffin@linaro.org>
Add pinctrl definitions of UART RTS/CTS pins.
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
---
arch/arm/boot/dts/stih407-pinctrl.dtsi | 73 ++++++++++++++++++++++++++++++++++
1 file changed, 73 insertions(+)
diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
index a538ae5..87e75bf 100644
--- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
+++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
@@ -149,7 +149,20 @@
rx = <&pio3 5 ALT1 IN>;
};
};
+
+ pinctrl_sbc_serial0_rts: sbc_serial0_rts {
+ st,pins {
+ rts = <&pio3 7 ALT1 OUT>;
+ };
+ };
+
+ pinctrl_sbc_serial0_cts: sbc_serial0_cts {
+ st,pins {
+ cts = <&pio3 6 ALT1 IN>;
+ };
+ };
};
+
/* SBC_ASC1 - UART11 */
sbc_serial1 {
pinctrl_sbc_serial1: sbc_serial1-0 {
@@ -158,6 +171,18 @@
rx = <&pio2 7 ALT3 IN>;
};
};
+
+ pinctrl_sbc_serial1_rts: sbc_serial1_rts {
+ st,pins {
+ rts = <&pio3 1 ALT3 OUT>;
+ };
+ };
+
+ pinctrl_sbc_serial1_cts: sbc_serial1_cts {
+ st,pins {
+ cts = <&pio3 0 ALT3 IN>;
+ };
+ };
};
i2c10 {
@@ -478,6 +503,18 @@
rx = <&pio15 1 ALT1 IN>;
};
};
+
+ pinctrl_serial0_rts: serial0_rts {
+ st,pins {
+ rts = <&pio17 3 ALT1 OUT>;
+ };
+ };
+
+ pinctrl_serial0_cts: serial0_cts {
+ st,pins {
+ cts = <&pio17 2 ALT1 IN>;
+ };
+ };
};
mmc1 {
@@ -495,6 +532,18 @@
sd_wp = <&pio19 1 ALT6 IN>;
};
};
+
+ pinctrl_serial1_rts: serial1_rts {
+ st,pins {
+ rts = <&pio16 3 ALT1 OUT>;
+ };
+ };
+
+ pinctrl_serial1_cts: serial1_cts {
+ st,pins {
+ cts = <&pio16 2 ALT1 IN>;
+ };
+ };
};
@@ -505,6 +554,18 @@
scl = <&pio10 5 ALT2 BIDIR>;
};
};
+
+ pinctrl_serial2_rts: serial2_rts {
+ st,pins {
+ rts = <&pio15 3 ALT1 OUT>;
+ };
+ };
+
+ pinctrl_serial2_cts: serial2_cts {
+ st,pins {
+ cts = <&pio15 2 ALT1 IN>;
+ };
+ };
};
i2c1 {
@@ -1074,6 +1135,18 @@
rx = <&pio31 4 ALT1 IN>;
};
};
+
+ pinctrl_serial3_rts: serial3_rts {
+ st,pins {
+ rts = <&pio31 6 ALT1 OUT>;
+ };
+ };
+
+ pinctrl_serial3_cts: serial3_cts {
+ st,pins {
+ cts = <&pio31 5 ALT1 IN>;
+ };
+ };
};
};
--
1.9.1
next prev parent reply other threads:[~2016-04-12 13:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-12 13:57 [PATCH v2 0/4] STi DT updates Peter Griffin
2016-04-12 13:57 ` Peter Griffin [this message]
2016-04-12 13:57 ` [PATCH v2 2/4] ARM: DT: STiH407: Add i2c12 pin definition Peter Griffin
2016-04-12 13:57 ` [PATCH v2 3/4] ARM: DT: STiH407: Add node for i2c12 controller Peter Griffin
2016-04-12 13:57 ` [PATCH v2 4/4] ARM: STi: DT: STiH407: Add DT node for at24c256 eeprom Peter Griffin
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=1460469448-9065-2-git-send-email-peter.griffin@linaro.org \
--to=peter.griffin@linaro.org \
--cc=linux-arm-kernel@lists.infradead.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).