summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/renesas/salvator-common.dtsi
diff options
context:
space:
mode:
authorHiromitsu Yamasaki <hiromitsu.yamasaki.ym@renesas.com>2018-06-19 20:14:01 +0300
committerSimon Horman <horms+renesas@verge.net.au>2018-06-25 16:30:38 +0300
commitb6d3134ddcbe4d3c3986e4e7b649467a19045949 (patch)
treee29145c29a226b3f20b9c6d21a90e0c359865d32 /arch/arm64/boot/dts/renesas/salvator-common.dtsi
parenta334e781e01afeb97634480ec0d9819287b79a68 (diff)
downloadlinux-b6d3134ddcbe4d3c3986e4e7b649467a19045949.tar.xz
arm64: dts: renesas: salvator-common: Add HSCIF1 device support
This patch adds pin control for HSCIF1, and supports connection with Debug Serial-1 (CN26) on Salvator boards. SCIF1 and HSCIF1 are sharing the pins connected to Debug Serial-1 (CN26) on Salvator boards, and it is necessary to ensure that either SCIF1 or HSCIF1 is enabled, not both. As for the default of this DeviceTree, SCIF1 is connected. Signed-off-by: Hiromitsu Yamasaki <hiromitsu.yamasaki.ym@renesas.com> Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com> [geert: Add missing "uart-has-rtscts"] Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm64/boot/dts/renesas/salvator-common.dtsi')
-rw-r--r--arch/arm64/boot/dts/renesas/salvator-common.dtsi15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/renesas/salvator-common.dtsi b/arch/arm64/boot/dts/renesas/salvator-common.dtsi
index 320250d708c3..ce808d3f9f62 100644
--- a/arch/arm64/boot/dts/renesas/salvator-common.dtsi
+++ b/arch/arm64/boot/dts/renesas/salvator-common.dtsi
@@ -338,6 +338,15 @@
clock-frequency = <32768>;
};
+&hscif1 {
+ pinctrl-0 = <&hscif1_pins>;
+ pinctrl-names = "default";
+
+ uart-has-rtscts;
+ /* Please only enable hscif1 or scif1 */
+ /* status = "okay"; */
+};
+
&hsusb {
dr_mode = "otg";
status = "okay";
@@ -543,6 +552,11 @@
function = "du";
};
+ hscif1_pins: hscif1 {
+ groups = "hscif1_data_a", "hscif1_ctrl_a";
+ function = "hscif1";
+ };
+
i2c2_pins: i2c2 {
groups = "i2c2_a";
function = "i2c2";
@@ -708,6 +722,7 @@
pinctrl-names = "default";
uart-has-rtscts;
+ /* Please only enable hscif1 or scif1 */
status = "okay";
};