AP6525 wifi与bt无法启动的问题
如题。我板子上的电路与开发板中的基本一样。只是把wlan_regon和bt_regon两个管脚从IO扩展芯片TCA6424的P00,P04脚改成了P16和P17脚。管脚号在设备树中已经修改如下。wlan:wlan {
compatible = "allwinner,sunxi-wlan";
clocks = <&clk_losc_out>;
pinctrl-0 = <&clk_losc_pins_a>;
pinctrl-names = "default";
wlan_busnum = <0x1>;
wlan_power;
wlan_io_regulator;
wlan_regon = <&gpio_ext 16 0>;
wlan_hostwake = <&pio PG 14 1 0xffffffff 0xffffffff 0>;
chip_en;
power_en;
status = "okay";
};
bt:bt {
compatible = "allwinner,sunxi-bt";
clocks = <&clk_losc_out>;
bt_power;
bt_io_regulator;
bt_rst_n = <&gpio_ext 17 0>;
status = "okay";
};
btlpm:btlpm {
compatible= "allwinner,sunxi-btlpm";
uart_index= <0x1>;
bt_wake = <&pio PG 13 1 0xffffffff 0xffffffff 1>;
bt_hostwake = <&pio PG 12 1 0xffffffff 0xffffffff 0>;
status = "okay";
};
但是模块无法正常工作。请问如何解决这个问题。
查看一下复用的引脚功能是不是有冲突,被复用的引脚原来的功能有没有关闭?
页:
[1]