[PATCH 1/7] ARM: dts: stm32: Add Bluetooth (usart2) feature on stm32mp157x

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Christophe Roullier <christophe.roullier@xxxxxx>

Add BT (usart2) config on stm32mp157x.

Signed-off-by: Christophe Roullier <christophe.roullier@xxxxxx>
Change-Id: I41cc7d60900e05d8bd4e3281abe170ef3fbbaee8
Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/linux-stm32/+/237115
Reviewed-by: CITOOLS <MDG-smet-aci-reviews@xxxxxxxxxxx>
Reviewed-by: Eric FOURMONT <eric.fourmont-ext@xxxxxx>
Tested-by: Eric FOURMONT <eric.fourmont-ext@xxxxxx>

Cherry-picked for v5.13: dropped part of patch for absent
"stm32mp157f-dk2.dts".
---
 arch/arm/boot/dts/st/stm32mp157c-dk2.dts | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/st/stm32mp157c-dk2.dts b/arch/arm/boot/dts/st/stm32mp157c-dk2.dts
index 4bef2300ed7c..680391433992 100644
--- a/arch/arm/boot/dts/st/stm32mp157c-dk2.dts
+++ b/arch/arm/boot/dts/st/stm32mp157c-dk2.dts
@@ -102,5 +102,14 @@ &usart2 {
 	pinctrl-0 = <&usart2_pins_c>;
 	pinctrl-1 = <&usart2_sleep_pins_c>;
 	pinctrl-2 = <&usart2_idle_pins_c>;
-	status = "disabled";
+	uart-has-rtscts;
+	status = "okay";
+
+	bluetooth {
+		shutdown-gpios = <&gpioz 6 GPIO_ACTIVE_HIGH>;
+		compatible = "brcm,bcm43438-bt";
+		max-speed = <3000000>;
+		vbat-supply = <&v3v3>;
+		vddio-supply = <&v3v3>;
+	};
 };
-- 
2.39.2




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux