arm64: dts: rockchip: Fix reset-gpios property on brcm BT nodes
authorDiederik de Haas <didi.debian@cknow.org>
Tue, 8 Oct 2024 11:15:39 +0000 (13:15 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 8 Oct 2024 19:17:23 +0000 (21:17 +0200)
commit2b6a3f857550e52b1cd4872ebb13cb3e3cf12f5f
tree1b86a77035f8d2ce6a1801688762eb7debc80f61
parent87299d6ee95a37d2d576dd8077ea6860f77ad8e2
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: d449121e5e8a ("arm64: dts: rockchip: Add Pine64 PineNote board")
Signed-off-by: Diederik de Haas <didi.debian@cknow.org>
Link: https://lore.kernel.org/r/20241008113344.23957-5-didi.debian@cknow.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3566-pinenote.dtsi
arch/arm64/boot/dts/rockchip/rk3566-radxa-cm3.dtsi