@@ -21,6 +21,7 @@ aliases {
mmc0 = &sdmmc1;
serial0 = &uart4;
serial1 = &uart7;
+ serial2 = &usart2;
spi0 = &qspi;
};
@@ -63,13 +64,6 @@ led4 {
default-state = "off";
panic-indicator;
};
-
- led5 {
- label = "blue:bt";
- gpios = <&gpioz 6 GPIO_ACTIVE_HIGH>;
- linux,default-trigger = "bluetooth-power";
- default-state = "off";
- };
};
sd_switch: regulator-sd_switch {
@@ -419,3 +413,18 @@ &uart7 {
pinctrl-0 = <&uart7_pins_a>;
status = "okay";
};
+
+/* Bluetooth */
+&usart2 {
+ pinctrl-names = "default", "sleep";
+ pinctrl-0 = <&usart2_pins_a>;
+ pinctrl-1 = <&usart2_sleep_pins_a>;
+ st,hw-flow-ctrl;
+ status = "okay";
+
+ bluetooth {
+ compatible = "brcm,bcm43438-bt";
+ max-speed = <3000000>;
+ shutdown-gpios = <&gpioz 6 GPIO_ACTIVE_HIGH>;
+ };
+};