为 NanoPi R1 修复 istoreos 的 WLAN 支持

笔者最近在为捡垃圾收来的一台 NanoPi R1 编译 istoreos,发现 AP6212 一直无法驱动起来,研究了四天,遂记录下来。

问题原因:openwrt 上游仓库中 sunxidts 设备树文件存在问题。

修复方案:参考友善电子官方 friendlywrt 系统中的设备树文件,将 wifi_pwrseq 修改为:

1
2
3
4
5
6
7
8
wifi_pwrseq {
compatible = "mmc-pwrseq-simple";
pinctrl-names = "default";
pinctrl-0 = <0x99>;
post-power-on-delay-ms = <0xc8>;
reset-gpios = <0x37 0x00 0x07 0x01>;
phandle = <0x0c>;
};

并在 pinctrl@1f02c00 下添加:

1
2
3
4
5
wifi_en_pin {
pins = "PL7";
function = "gpio_out";
phandle = <0x99>;
};

为 NanoPi R1 修复 istoreos 的 WLAN 支持

https://omn.cc/archives/94.html

作者

空指针

发布于

2025-10-01

更新于

2025-10-01

许可协议

You need to set install_url to use ShareThis. Please set it in _config.yml.
You forgot to set the business or currency_code for Paypal. Please set it in _config.yml.

评论

You forgot to set the shortname for Disqus. Please set it in _config.yml.
Your browser is out-of-date!

Update your browser to view this website correctly.&npsb;Update my browser now

×