From e5b6fbe57377b7f4226bcd9d21b3fb5cd42c2df6 Mon Sep 17 00:00:00 2001 From: Patrick Yavitz Date: Fri, 2 Jun 2023 13:07:38 -0400 Subject: [PATCH] BPI-CM4: BT: changed enable-gpios from `GPIOX_17 to GPIOX_19` As discussed here: https://github.com/armbian/build/pull/5273 REVERTS: https://github.com/armbian/build/commit/e2171ca7375efe950acb91e6fc4bb319585834d6 Signed-off-by: Patrick Yavitz --- .../archive/meson64-6.1/add-board-bananapi-cm4-cm4io.patch | 6 +++--- .../archive/meson64-6.2/add-board-bananapi-cm4-cm4io.patch | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/patch/kernel/archive/meson64-6.1/add-board-bananapi-cm4-cm4io.patch b/patch/kernel/archive/meson64-6.1/add-board-bananapi-cm4-cm4io.patch index e7ed19b378..4bb46cdb5b 100644 --- a/patch/kernel/archive/meson64-6.1/add-board-bananapi-cm4-cm4io.patch +++ b/patch/kernel/archive/meson64-6.1/add-board-bananapi-cm4-cm4io.patch @@ -294,7 +294,7 @@ index 000000000000..97e522921b06 + + sdio_pwrseq: sdio-pwrseq { + compatible = "mmc-pwrseq-simple"; -+ reset-gpios = <&gpio GPIOAO_6 GPIO_ACTIVE_LOW>, <&gpio GPIOX_19 GPIO_ACTIVE_LOW>; ++ reset-gpios = <&gpio GPIOAO_6 GPIO_ACTIVE_LOW>; + clocks = <&wifi32k>; + clock-names = "ext_clock"; + }; @@ -635,8 +635,8 @@ index 000000000000..97e522921b06 + + bluetooth { + compatible = "realtek,rtl8822cs-bt"; -+ enable-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>; -+ host-wake-gpios = <&gpio GPIOX_19 GPIO_ACTIVE_HIGH>; ++ enable-gpios = <&gpio GPIOX_19 GPIO_ACTIVE_HIGH>; ++ //host-wake-gpios = <&gpio GPIOX_19 GPIO_ACTIVE_HIGH>; + device-wake-gpios = <&gpio GPIOX_18 GPIO_ACTIVE_HIGH>; + }; +}; diff --git a/patch/kernel/archive/meson64-6.2/add-board-bananapi-cm4-cm4io.patch b/patch/kernel/archive/meson64-6.2/add-board-bananapi-cm4-cm4io.patch index e7ed19b378..4bb46cdb5b 100644 --- a/patch/kernel/archive/meson64-6.2/add-board-bananapi-cm4-cm4io.patch +++ b/patch/kernel/archive/meson64-6.2/add-board-bananapi-cm4-cm4io.patch @@ -294,7 +294,7 @@ index 000000000000..97e522921b06 + + sdio_pwrseq: sdio-pwrseq { + compatible = "mmc-pwrseq-simple"; -+ reset-gpios = <&gpio GPIOAO_6 GPIO_ACTIVE_LOW>, <&gpio GPIOX_19 GPIO_ACTIVE_LOW>; ++ reset-gpios = <&gpio GPIOAO_6 GPIO_ACTIVE_LOW>; + clocks = <&wifi32k>; + clock-names = "ext_clock"; + }; @@ -635,8 +635,8 @@ index 000000000000..97e522921b06 + + bluetooth { + compatible = "realtek,rtl8822cs-bt"; -+ enable-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>; -+ host-wake-gpios = <&gpio GPIOX_19 GPIO_ACTIVE_HIGH>; ++ enable-gpios = <&gpio GPIOX_19 GPIO_ACTIVE_HIGH>; ++ //host-wake-gpios = <&gpio GPIOX_19 GPIO_ACTIVE_HIGH>; + device-wake-gpios = <&gpio GPIOX_18 GPIO_ACTIVE_HIGH>; + }; +};