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

Dmitry Tunin hanipouspilot at gmail.com
Wed Oct 30 10:51:33 EDT 2019


ср, 30 окт. 2019 г. в 17:31, Adrian Schmutzler <mail at adrianschmutzler.de>:
>
> 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):
>
> 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?

Where I can see the DTS? Generally ath9k gpio is added by
gpio-controller property to the ath9k node. See dir825b1 as an example
an many others.

_______________________________________________
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