请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:AM6422 Thread 中讨论的其他器件:WL1837、
工具与软件:
您好、
目前、我们使用 AM6422开发自己的产品、并在 Linux 环境中使用 SDK8.06.00.42版本。 我们需要使用 MMC1接口连接到 wl1837模块、并使用 wl1837的 wifi 功能。 参考 SK 器件树对其进行修改后、无法使用 ifconfig 识别 WLAN。 您能提供一些找到问题的指示吗? 我修改的器件树如下、从我开始使用 SD 卡开始、我在使用 SD 卡后开始调试 WiFi、以固化系统到 emmc0电子磁盘。 现在无法识别网络 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;
};