Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 2b6a3f8

Browse files
diederikdehaasmmind
authored andcommitted
arm64: dts: rockchip: Fix reset-gpios property on brcm BT nodes
For most compatibles, the "brcm,bluetooth.yaml" binding doesn't allow the 'reset-gpios' property, but there is a 'shutdown-gpios' property. Page 12 of the AzureWave-CM256SM datasheet (v1.9) has the following wrt pin 34 'BT_REG_ON' (connected to GPIO0_C4_d on the PineNote): Used by PMU to power up or power down the internal regulators used by the Bluetooth section. Also, when deasserted, this pin holds the Bluetooth section in reset. This pin has an internal 200k ohm pull down resistor that is enabled by default. So it is safe to replace 'reset-gpios' with 'shutdown-gpios'. Fixes: d449121 ("arm64: dts: rockchip: Add Pine64 PineNote board") Signed-off-by: Diederik de Haas <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
1 parent 87299d6 commit 2b6a3f8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

arch/arm64/boot/dts/rockchip/rk3566-pinenote.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,9 +686,9 @@
686686
clock-names = "lpo";
687687
device-wakeup-gpios = <&gpio0 RK_PC2 GPIO_ACTIVE_HIGH>;
688688
host-wakeup-gpios = <&gpio0 RK_PC3 GPIO_ACTIVE_HIGH>;
689-
reset-gpios = <&gpio0 RK_PC4 GPIO_ACTIVE_LOW>;
690689
pinctrl-0 = <&bt_enable_h>, <&bt_host_wake_l>, <&bt_wake_h>;
691690
pinctrl-names = "default";
691+
shutdown-gpios = <&gpio0 RK_PC4 GPIO_ACTIVE_LOW>;
692692
vbat-supply = <&vcc_wl>;
693693
vddio-supply = <&vcca_1v8_pmu>;
694694
};

arch/arm64/boot/dts/rockchip/rk3566-radxa-cm3.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,9 +402,9 @@
402402
clock-names = "lpo";
403403
device-wakeup-gpios = <&gpio2 RK_PB2 GPIO_ACTIVE_HIGH>;
404404
host-wakeup-gpios = <&gpio2 RK_PB1 GPIO_ACTIVE_HIGH>;
405-
reset-gpios = <&gpio2 RK_PC0 GPIO_ACTIVE_LOW>;
406405
pinctrl-names = "default";
407406
pinctrl-0 = <&bt_host_wake_h &bt_reg_on_h &bt_wake_host_h>;
407+
shutdown-gpios = <&gpio2 RK_PC0 GPIO_ACTIVE_LOW>;
408408
vbat-supply = <&vcc_3v3>;
409409
vddio-supply = <&vcc_1v8>;
410410
};

0 commit comments

Comments
 (0)