According to the board schematic, BT_REG_ON (BT_EN) line of the BCM4330 WLAN/BT combo chip is connected to GPL0[4], while GPL1[0] is connected to BT_RST (BT_nRST). The Bluetooth node however used GPL1[0] as shutdown-gpios and left the real BT_REG_ON line undriven, so it was kept low by the default SoC pull-down. This worked only by accident: the internal regulators of the BCM4330 are enabled when either WL_REG_ON or BT_REG_ON is high, so the Bluetooth core was powered via WL_REG_ON driven by the SDIO WLAN power sequence, while toggling GPL1[0] only released it from reset. Once 'cap-power-off-card' was added to the SDIO node, the MMC core started to power off the WLAN part (asserting WL_REG_ON low) whenever it was idle, what cut off the Bluetooth power as well and resulted in HCI command timeouts: Bluetooth: hci0: Opcode 0x0c03 failed: -110 Fix this by using GPL0[4] as shutdown-gpios and describing GPL1[0] as active-low reset-gpios, together with the respective pin configuration. Fixes: 2fd18f0a8de6 ("ARM: dts: exynos: add bluetooth support for midas & trats boards") Cc: stable@vger.kernel.org Signed-off-by: Marek Szyprowski --- This patch was developed with LLM assistance and have been tested on the real Trats board. Best regards Marek Szyprowski, PhD Samsung R&D Institute Poland --- arch/arm/boot/dts/samsung/exynos4210-trats.dts | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/samsung/exynos4210-trats.dts b/arch/arm/boot/dts/samsung/exynos4210-trats.dts index 20fe148387fc..ae4327770799 100644 --- a/arch/arm/boot/dts/samsung/exynos4210-trats.dts +++ b/arch/arm/boot/dts/samsung/exynos4210-trats.dts @@ -469,6 +469,12 @@ EN32KHZ_CP { &pinctrl_1 { bt_shutdown: bt-shutdown-pins { + samsung,pins = "gpl0-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + bt_reset: bt-reset-pins { samsung,pins = "gpl1-0"; samsung,pin-function = ; samsung,pin-pud = ; @@ -548,9 +554,10 @@ bluetooth { max-speed = <3000000>; - pinctrl-0 = <&bt_shutdown &bt_device_wakeup &bt_host_wakeup>; + pinctrl-0 = <&bt_shutdown &bt_reset &bt_device_wakeup &bt_host_wakeup>; pinctrl-names = "default"; - shutdown-gpios = <&gpl1 0 GPIO_ACTIVE_HIGH>; + shutdown-gpios = <&gpl0 4 GPIO_ACTIVE_HIGH>; + reset-gpios = <&gpl1 0 GPIO_ACTIVE_LOW>; device-wakeup-gpios = <&gpx3 1 GPIO_ACTIVE_HIGH>; host-wakeup-gpios = <&gpx2 6 GPIO_ACTIVE_HIGH>; }; -- 2.43.0