[OpenWrt-Devel] ath79/qca9533rev2: Help needed on missing GPIO on ath9k-phy0

Piotr Dymacz pepe2k at gmail.com
Wed Oct 30 12:01:51 EDT 2019


Hi Adrian,

On 30.10.2019 15:30, Adrian Schmutzler wrote:
> Hi,
> 
> we are still working on broken WiFi on CPE210v2/v3 (ath79, QCA9533
> rev. 2) and have found that on ath79 a GPIO is missing compared to
> ar71xx (where WIFI is working):

It's not missing, it's there, just not controlled by the ath9k driver. 
There is no separated radio (just the built-in one) on this platform so 
all GPIOs belong to the main SOC and can be controlled with ath79-gpio.

See also:
https://github.com/openwrt/openwrt/commit/d35f2a5565fc51fb277f72a8565c871ce1785588

-- 
Cheers,
Piotr

> 
> GPIO Config on the ar71xx:
> 
> gpiochip0: GPIOs 0-31, parent: platform/ath79-gpio, ath79-gpio: 
> gpio-11  (                    |tp-link:green:lan0  ) out hi gpio-13
> (                    |tp-link:green:link1 ) out hi gpio-14  (
> |tp-link:green:link2 ) out hi gpio-15  (
> |tp-link:green:link3 ) out hi gpio-16  (
> |tp-link:green:link4 ) out hi gpio-17  (                    |Reset
> button        ) in  hi
> 
> gpiochip1: GPIOs 494-511, ath9k-phy0: gpio-495 (
> |ath9k-phy0          ) in  lo
> 
> 
> On the ath79:
> 
> gpio-11  (                    |tp-link:green:lan   ) out lo gpio-13
> (                    |tp-link:green:link1 ) out hi gpio-14  (
> |tp-link:green:link2 ) out hi gpio-15  (
> |tp-link:green:link3 ) out hi gpio-16  (
> |tp-link:green:link4 ) out hi gpio-17  (                    |Reset
> button        ) in  hi
> 
> 
> Can somebody point out how we can introduce the ath9k gpio? Or may
> this be already the result of something broken at an earlier step?
> 
> Best
> 
> Adrian
> 
> 
> _______________________________________________ openwrt-devel mailing
> list openwrt-devel at lists.openwrt.org 
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
> 


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list