wifi模块使用主控输出的32k时钟

soc:rk3568

WiFi模块需要的32.768K时钟,有三种时钟源,rk809和8563提供,或者使用主控输出的。

 

dts修改如下:

 &wireless_bluetooth {
        compatible = "bluetooth-platdata";
-       clocks = <&rk809 1>;
+       clocks = <&cru SCLK_32K_IOE>;
        clock-names = "ext_clock";
        //wifi-bt-power-toggle;
        uart_rts_gpios = <&gpio2 RK_PB1 GPIO_ACTIVE_LOW>;
        pinctrl-names = "default", "rts_gpio";
-       pinctrl-0 = <&uart8m0_rtsn>;
+       pinctrl-0 = <&uart8m0_rtsn &clk32k_out1>;
        pinctrl-1 = <&uart8_gpios>;
        BT,reset_gpio    = <&gpio3 RK_PA0 GPIO_ACTIVE_HIGH>;
        BT,wake_gpio     = <&gpio3 RK_PA2 GPIO_ACTIVE_HIGH>;

 

posted @ 2024-11-11 17:43  M-kobe  阅读(4)  评论(0编辑  收藏  举报