]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: meson-gxm-khadas-vim2: fix Bluetooth support
authorChristian Hewitt <christianshewitt@gmail.com>
Mon, 27 May 2019 13:21:52 +0000 (15:21 +0200)
committerKevin Hilman <khilman@baylibre.com>
Tue, 11 Jun 2019 22:50:02 +0000 (15:50 -0700)
- Remove serial1 alias
- Add support for uart_A rts/cts
- Add bluetooth uart_A subnode qith shutdown gpio

Fixes: b8b74dda3908 ("ARM64: dts: meson-gxm: Add support for Khadas VIM2")
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts

index 25079501f2bbc91a9646d83d29c5be986b0b3210..ff4f0780824d98b8687f1bbaf0471e4bdabe7fcb 100644 (file)
@@ -18,7 +18,6 @@ / {
 
        aliases {
                serial0 = &uart_AO;
-               serial1 = &uart_A;
                serial2 = &uart_AO_B;
        };
 
@@ -403,8 +402,14 @@ w25q32: spi-flash@0 {
 /* This one is connected to the Bluetooth module */
 &uart_A {
        status = "okay";
-       pinctrl-0 = <&uart_a_pins>;
+       pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
        pinctrl-names = "default";
+       uart-has-rtscts;
+
+       bluetooth {
+               compatible = "brcm,bcm43438-bt";
+               shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>;
+       };
 };
 
 /* This is brought out on the Linux_RX (18) and Linux_TX (19) pins: */