Add SCIF3 and HSCIF3 as two new serial ports to the r8a7796 Salvator-X DT file. Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@xxxxxxxxx> --- arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts b/arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts index bdf6e05..2636742 100644 --- a/arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts +++ b/arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts @@ -18,6 +18,8 @@ aliases { serial0 = &scif2; + serial2 = &scif3; + serial3 = &hscif3; }; chosen { @@ -89,6 +91,14 @@ groups = "scif2_data_a"; function = "scif2"; }; + scif3_pins: scif3 { /* TX: 1_11, RX: 1_8 */ + groups = "scif3_data_b"; + function = "scif3"; + }; + hscif3_pins: hscif3 { /* TX: 2_8, RX: 2_7 */ + groups = "hscif3_data_d"; + function = "hscif3"; + }; scif_clk_pins: scif_clk { groups = "scif_clk_a"; function = "scif_clk"; @@ -138,6 +148,22 @@ status = "okay"; }; +&scif3 { + pinctrl-0 = <&scif3_pins>; + pinctrl-names = "default"; + + status = "okay"; +}; + +/* SCIF3 TX -> HSCIF3 RX, HSCIF3 TX -> SCIF3 RX */ + +&hscif3 { + pinctrl-0 = <&hscif3_pins>; + pinctrl-names = "default"; + + status = "okay"; +}; + &scif2 { pinctrl-0 = <&scif2_pins>; pinctrl-names = "default"; -- 2.9.3