]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ARM: dts: imx7s-warp: Improve the Bluetooth description
authorFabio Estevam <festevam@gmail.com>
Tue, 13 May 2025 14:23:18 +0000 (11:23 -0300)
committerShawn Guo <shawnguo@kernel.org>
Fri, 13 Jun 2025 01:44:00 +0000 (09:44 +0800)
GPIO5_17 is connected to the BCM43455 BT_REG_ON pin.

Improve the Bluetooth devicetree description by using a more accurate
description of the hardware as per brcm,bluetooth.yaml.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/nxp/imx/imx7s-warp.dts

index af4acc311572c19f89e04d58ecbda960a1488a03..b66e612d3329203d11daedf85276c857a5e62cee 100644 (file)
                startup-delay-us = <200000>;
        };
 
-       reg_bt: regulator-bt {
-               compatible = "regulator-fixed";
-               pinctrl-names = "default";
-               pinctrl-0 = <&pinctrl_bt_reg>;
-               enable-active-high;
-               gpio = <&gpio5 17 GPIO_ACTIVE_HIGH>;
-               regulator-name = "bt_reg";
-               regulator-min-microvolt = <3300000>;
-               regulator-max-microvolt = <3300000>;
-               regulator-always-on;
-       };
-
        reg_peri_3p15v: regulator-peri-3p15v {
                compatible = "regulator-fixed";
                regulator-name = "peri_3p15v_reg";
        assigned-clock-parents = <&clks IMX7D_PLL_SYS_MAIN_240M_CLK>;
        uart-has-rtscts;
        status = "okay";
+
+       bluetooth {
+               compatible = "brcm,bcm4345c5";
+               pinctrl-names = "default";
+               pinctrl-0 = <&pinctrl_bt_reg>;
+               shutdown-gpios = <&gpio5 17 GPIO_ACTIVE_HIGH>;
+               max-speed = <3000000>;
+       };
 };
 
 &uart6 {