Commit b6d3134d authored by Hiromitsu Yamasaki's avatar Hiromitsu Yamasaki Committed by Simon Horman

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: default avatarHiromitsu Yamasaki <hiromitsu.yamasaki.ym@renesas.com>
Signed-off-by: default avatarTakeshi Kihara <takeshi.kihara.df@renesas.com>
[geert: Add missing "uart-has-rtscts"]
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent a334e781
...@@ -338,6 +338,15 @@ &extalr_clk { ...@@ -338,6 +338,15 @@ &extalr_clk {
clock-frequency = <32768>; clock-frequency = <32768>;
}; };
&hscif1 {
pinctrl-0 = <&hscif1_pins>;
pinctrl-names = "default";
uart-has-rtscts;
/* Please only enable hscif1 or scif1 */
/* status = "okay"; */
};
&hsusb { &hsusb {
dr_mode = "otg"; dr_mode = "otg";
status = "okay"; status = "okay";
...@@ -543,6 +552,11 @@ du_pins: du { ...@@ -543,6 +552,11 @@ du_pins: du {
function = "du"; function = "du";
}; };
hscif1_pins: hscif1 {
groups = "hscif1_data_a", "hscif1_ctrl_a";
function = "hscif1";
};
i2c2_pins: i2c2 { i2c2_pins: i2c2 {
groups = "i2c2_a"; groups = "i2c2_a";
function = "i2c2"; function = "i2c2";
...@@ -708,6 +722,7 @@ &scif1 { ...@@ -708,6 +722,7 @@ &scif1 {
pinctrl-names = "default"; pinctrl-names = "default";
uart-has-rtscts; uart-has-rtscts;
/* Please only enable hscif1 or scif1 */
status = "okay"; status = "okay";
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment