Browse Source

arm64: dts: hikey: Add external clock to the Bluetooth node

To make the TI WiLink chip work again for Bluetooth, let's add the missing
external clock to the Bluetooth node, such the driver can deal properly
with it during power on/off.

Fixes: ea452678734e ("arm64: dts: hikey: Fix WiFi support")
Cc: Wei Xu <xuwei5@hisilicon.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Tested-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Ulf Hansson 8 năm trước cách đây
mục cha
commit
b73f22695f

+ 2 - 0
arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts

@@ -141,6 +141,8 @@
 			bluetooth {
 			bluetooth {
 				compatible = "ti,wl1835-st";
 				compatible = "ti,wl1835-st";
 				enable-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
 				enable-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
+				clocks = <&pmic>;
+				clock-names = "ext_clock";
 			};
 			};
 		};
 		};