wifi on SDIO1 in imx6ull

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

wifi on SDIO1 in imx6ull

1,134 Views
mszeyghami
Contributor I

Hi friends,

I have my own carrier board design for eMMC version of imx6ull coreboard. I want to use SDIO1 for wifi instead of SD card. how can I do it? usually SDIO2 is used for wifi module. 

how should I modify dts file? should I do any modification in driver?

you can see corresponding lines in dts file: 

&usdhc1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usdhc1>;
keep-power-in-suspend;
enable-sdio-wakeup;
non-removable;
bus-width = <4>;
status = "okay";
};
&usdhc2 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usdhc2>;
non-removable;
status = "disabled";
};

.

.

.

 

pinctrl_usdhc1: usdhc1grp {
fsl,pins = <
MX6UL_PAD_SD1_CMD__USDHC1_CMD 0x17059
MX6UL_PAD_SD1_CLK__USDHC1_CLK 0x10071
MX6UL_PAD_SD1_DATA0__USDHC1_DATA0 0x17059
MX6UL_PAD_SD1_DATA1__USDHC1_DATA1 0x17059
MX6UL_PAD_SD1_DATA2__USDHC1_DATA2 0x17059
MX6UL_PAD_SD1_DATA3__USDHC1_DATA3 0x17059
>;
};

Labels (2)
0 Kudos
Reply
3 Replies

1,112 Views
mszeyghami
Contributor I

[dummy wrong post]

0 Kudos
Reply

1,117 Views
igorpadykov
NXP Employee
NXP Employee

Hi mszeyghami

 

one can try to add "wifi-host" as described in documentation:

https://source.codeaurora.org/external/imx/linux-imx/tree/Documentation/devicetree/bindings/mmc/fsl-...

 

Best regards
igor

0 Kudos
Reply

1,111 Views
mszeyghami
Contributor I

thank you,

How should I modify dts file?
should I add wifi-host; into &usdhc1?

0 Kudos
Reply