Other Parts Discussed in Thread: WL1837,
Tool/software:
Hello,
We currently use AM6422 to develop our own products and use SDK8.06.00.42 version in a LINUX environment. We want to use the MMC1 interface to connect to the wl1837 module and use the wifi function of wl1837. After modifying it with reference to the SK device tree, the wlan cannot be recognized using ifconfig. Network, can you give some directions to find the problem?The device tree I modified is as follows,Since I started using the SD card, I started debugging the wifi after using the SD card to solidify the system to the emmc0 electronic disk.Now the network is not recognized wifi.
wlan_en: regulator-2 {
/* output of SN74AVC4T245RSVR */
compatible = "regulator-fixed";
regulator-name = "wlan_en";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
enable-active-high;
pinctrl-0 = <&main_wlan_en_pins_default>;
pinctrl-names = "default";
// vin-supply = <&com8_ls_en>;
gpio = <&main_gpio0 31 GPIO_ACTIVE_HIGH>;
};
main_wlan_en_pins_default: main-wlan-en-pins-default {
pinctrl-single,pins = <
AM64X_IOPAD(0x007c, PIN_OUTPUT_PULLUP, 7) /* (R17) GPIO0_31 */
>;
};
main_wlan_pins_default: main-wlan-pins-default {
pinctrl-single,pins = <
AM64X_IOPAD(0x00a0, PIN_INPUT, 7) /* (N16) GPIO0_39 */
>;
};
&sdhci1 {
status = "okay";
vmmc-supply = <&wlan_en>;
pinctrl-names = "default";
pinctrl-0 = <&main_mmc1_pins_default>;
bus-width = <4>;
non-removable;
cap-power-off-card;
keep-power-in-suspend;
ti,driver-strength-ohm = <50>;
#address-cells = <1>;
#size-cells = <0>;
wlcore: wlcore@2 {
compatible = "ti,wl1837";
reg = <2>;
pinctrl-0 = <&main_wlan_pins_default>;
pinctrl-names = "default";
interrupt-parent = <&main_gpio0>;
interrupts = <39 IRQ_TYPE_EDGE_FALLING>;
};
// /* SD/MMC */
// pinctrl-names = "default";
// bus-width = <4>;
// pinctrl-0 = <&main_mmc1_pins_default>;
// ti,driver-strength-ohm = <50>;
// disable-wp;
// no-1-8-v;
};