ARM: dts: iwg22d: Add /dev/ttySC5 support
authorFabrizio Castro <fabrizio.castro@bp.renesas.com>
Mon, 23 Oct 2017 17:09:23 +0000 (18:09 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 27 Nov 2017 10:39:48 +0000 (11:39 +0100)
Add support for HSCIF1 as /dev/ttySC5, keeping the same naming
scheme adopted by iWave in their BSP release. This interface
uses RTS/CTS.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts

index edadeee..82587d7 100644 (file)
@@ -17,6 +17,7 @@
 
        aliases {
                serial3 = &scif4;
+               serial5 = &hscif1;
                ethernet0 = &avb;
        };
 
        };
 };
 
+&hscif1 {
+       pinctrl-0 = <&hscif1_pins>;
+       pinctrl-names = "default";
+
+       uart-has-rtscts;
+       status = "okay";
+};
+
 &pfc {
+       hscif1_pins: hscif1 {
+               groups = "hscif1_data", "hscif1_ctrl";
+               function = "hscif1";
+       };
+
        scif4_pins: scif4 {
                groups = "scif4_data_b";
                function = "scif4";