Part Number: SK-AM62P-LP
Other Parts Discussed in Thread: WL1837
I'm tryng to use the board's mmc2 to connect a WiFi module through SDIO.
I've added on the k3-amp62p5-sk.dts file the following code.
&sdhci2 {
status = "okay";
vmmc-supply = <&wlan_en>;
pinctrl-names = "default";
pinctrl-0 = <&main_mmc2_pins_default>;
bus-width = <4>;
non-removable;
ti,fails-without-test-cd;
cap-power-off-card;
keep-power-in-suspend;
ti,driver-strength-ohm = <50>;
assigned-clocks = <&k3_clks 157 158>;
assigned-clock-parents = <&k3_clks 157 160>;
#address-cells = <1>;
#size-cells = <0>;
wlcore: wlcore@2 {
compatible = "ti,wl1837";
reg = <2>;
pinctrl-names = "default";
pinctrl-0 = <&main_wlirq_pins_default>;
interrupt-parent = <&main_gpio0>;
interrupts = <72 IRQ_TYPE_EDGE_RISING>;
};
};
wlan_en: regulator-7 {
compatible = "regulator-fixed";
regulator-name = "wlan_en";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
vin-supply = <&vddshv_sdio>;
enable-active-high;
gpios = <&main_gpio0 71 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&wlan_en_pins_default>;
};but when i turn the board on it didn't recognize the WiFi, we are currently using NXP's 88W8987 (Embeddedartist 1ZM) module.
is there anything else that i need to do?
best regards