by PLyttle » Wed Jun 25, 2014 8:03 pm
I happened to be right, you need to change the device tree in order to make WiFi work.
these are the changes I made:
$this->bbcode_second_pass_code('', '--- imx6q-wandboard1.dts 2014-06-25 21:45:44.633032103 +0200
+++ imx6q-wandboard.dts 2014-06-25 21:52:56.227480039 +0200
@@ -482,6 +482,8 @@
#gpio-cells = <0x2>;
interrupt-controller;
#interrupt-cells = <0x2>;
+ linux,phandle = <0x2d>;
+ phandle = <0x2d>;
};
gpio@020b4000 {
@@ -1735,11 +1737,11 @@
compatible = "wand,imx6qdl-wandboard-rfkill";
pinctrl-names = "default";
pinctrl-0;
- bluetooth-on = <0x18 0xd 0x0>;
- bluetooth-wake = <0x18 0xe 0x0>;
- bluetooth-host-wake = <0x18 0xf 0x0>;
- wifi-ref-on = <0x2b 0x1d 0x0>;
- wifi-rst-n = <0x2c 0x2 0x0>;
+ bluetooth-on = <0x2c 0x15 0x0>;
+ bluetooth-wake = <0x2c 0x1e 0x0>;
+ bluetooth-host-wake = <0x2c 0x14 0x0>;
+ wifi-ref-on = <0x2c 0x1f 0x0>;
+ wifi-rst-n = <0x2d 0x0 0x0>;
wifi-reg-on = <0x1b 0x1a 0x0>;
wifi-host-wake = <0x1b 0x1d 0x0>;
wifi-wake = <0x1b 0x1e 0x0>;
')
the first section is gpio@020b0000 (GPIO block 6), the second section is rfkill
Wifi now works, Bluetooth not yet.
There is no simple on- to-one pin change, so some more research is in order.
LP