Device Tree "Slot node" to work with WL1835/WL18xx

Moderator: nferre

sjcchuma
Posts: 17
Joined: Tue Oct 07, 2014 11:05 pm

Device Tree "Slot node" to work with WL1835/WL18xx

Wed Aug 12, 2015 7:40 pm

I am trying to setup my DT to work with TI WL1835 (WiFi/BT) using SDIO. Per TI Integration Guide http://processors.wiki.ti.com/index.php ... rm_Porting, child node needs to be "wlcore: wlcore@0". Base on document I've read, Atmel mci required to "slot" node, how can get "wlcore" node to work with slot node?

My kernel is 3.16.5. I've added mmc2 node and pinmux since default DT doesn't have it. I could compiled succesfully but with error below.

[ 22.620000] atmel_mci f8004000.mmc: card claims to support voltages below defined range
[ 22.640000] mmc2: queuing unknown CIS tuple 0x91 (3 bytes)
[ 22.660000] mmc2: new high speed SDIO card at address 0001 name SAMPLE
[ 22.750000] Loading modules backported from Linux version R8.6-0-g3f5b34f
[ 22.750000] Backport generated by backports.git R8.6-0-g4677dc3 Alias=SAMPLE
[ 22.800000] wl1271_sdio: probe of mmc2:0001:2 failed with error -12


****TI AM335x EVM Example***
&mmc3 {
/* these are on the crossbar and are outlined in the
xbar-event-map element */
dmas = <&edma 12
&edma 13>;
dma-names = "tx", "rx";
status = "okay";
vmmc-supply = <&wlan_en_reg>;
bus-width = <4>;
pinctrl-names = "default", "sleep";
pinctrl-0 = <&mmc3_pins_default &wlan_pins_default>;
pinctrl-1 = <&mmc3_pins_sleep &wlan_pins_sleep>;
ti,non-removable;
ti,needs-special-hs-handling;
cap-power-off-card;
keep-power-in-suspend;

#address-cells = <1>;
#size-cells = <0>;
wlcore: wlcore@0 {
compatible = "ti,wl1835";
reg = <2>;
interrupt-parent = <&gpio3>;
interrupts = <17 IRQ_TYPE_LEVEL_HIGH>;
};
};

***My current DT***
mmc2: mmc@f8004000 {
pinctrl-0 = <&pinctrl_mmc2_clk_cmd_dat0 &pinctrl_mmc2_dat1_3>;
vmmc-supply = <&wlan_en_reg>;
status = "okay";
slot@0 {
reg = <0>;
bus-width = <4>;
non-removable;
cap-power-off-card;
keep-power-in-suspend;
wlcore: wlcore@0 {
compatible = "ti,wl1835";
interrupt-parent = <&pioA>;
interrupts = <3 IRQ_TYPE_LEVEL_HIGH>;
};
};
};

Return to “SAMA5-based”

Who is online

Users browsing this forum: No registered users and 2 guests