Tool/software: Linux
Hello Team,
I am Anil. We are using the TI J6(DRA74X family) processor as host processor and third party wlan chip(MV888X) from Marvell.
The Wlan is connected to host via MMC3 node [SDIO interface]. The wlan chip reset/pd is connected to gpio6_5 pin of host.
The host mmc driver is modified to toggle the wlan chip reset line by using the wlan-pd-gpio attribute.
The dts changes for mmc3 are done by referring to a another MMC example available in specific J6 kernel source.
We have modified the the dts/dtsi to setup for this wlan chip connection, which are mentioned below.
Linux Kernel - 4.4.23
File: dra7.dtsi
mmc3: mmc@480ad000 {
compatible = "ti,dra7-hsmmc", "ti,omap4-hsmmc";
reg = <0x480ad000 0x400>;
interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
ti,hwmods = "mmc3";
dmas = <&sdma_xbar 77>, <&sdma_xbar 78>;
dma-names = "tx", "rx";
status = "disabled";
sd-uhs-sdr12;
sd-uhs-sdr25;
sd-uhs-sdr50;
};
File: J6_CustomBoard.dts
&mmc3 {
status = "okay";
vmmc-supply = <&evm_3v3_sw>;
bus-width = <4>;
no-1-8-v;
wlan-pd-gpio = <&gpio6 5 GPIO_ACTIVE_HIGH>;
/* non-removable; */ // Tested with addition and removal
};
The WLAN chip is not detected with these changes in dts/dtsi file.
Please let me know how to define the wlan device in mmc/SDIO node in dts/dtsi file.
Any sample J6 dts/dtsi entries for the wlan chip, which is connected over mmc/sdio interface.