arm64: dts: renesas: cat874: Add BT support
authorBiju Das <biju.das@bp.renesas.com>
Thu, 16 May 2019 08:59:26 +0000 (09:59 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 28 May 2019 16:01:16 +0000 (18:01 +0200)
This patch enables BT support for the CAT874 board.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts

index 72cccfc34c49153d2df37b33b36ee5e4efadb3de..fdca695a42488dd3aebfb967f6ef47beef20b95b 100644 (file)
@@ -16,6 +16,7 @@
 
        aliases {
                serial0 = &scif2;
+               serial1 = &hscif2;
        };
 
        chosen {
        clock-frequency = <48000000>;
 };
 
+&hscif2 {
+       pinctrl-0 = <&hscif2_pins>;
+       pinctrl-names = "default";
+
+       uart-has-rtscts;
+       status = "okay";
+
+       bluetooth {
+               compatible = "ti,wl1837-st";
+               enable-gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>;
+       };
+};
+
 &i2c0 {
        status = "okay";
        clock-frequency = <100000>;
                function = "i2c1";
        };
 
+       hscif2_pins: hscif2 {
+               groups = "hscif2_data_a", "hscif2_ctrl_a";
+               function = "hscif2";
+       };
+
        scif2_pins: scif2 {
                groups = "scif2_data_a";
                function = "scif2";