[OpenWrt-Devel] WRT54GS v1.0 GPIO definitions in r41004

Catalin Patulea cat at vv.carleton.ca
Fri Jun 20 15:20:43 EDT 2014

On Fri, Jun 20, 2014 at 6:20 AM, Rafał Miłecki <zajec5 at gmail.com> wrote:
>> Your nvram has following entries:
>> gpio6=adm_rc
>> gpio5=adm_eedi
>> gpio3=adm_eesk
>> gpio2=adm_eecs
> Hauke: it seems nvram may be wrong there. According to the Catalin,
> reset button uses GPIO 6. On the other hand it seems adm6996.c never
> really uses "eerc".
I modified adm6996.c to allow GPIO export and started controlling
gpio6 manually, toggling every 1 second. I used a voltmeter to look at
the ADM6996 RC (reset) pin - it was *not* toggling. So I also think
NVRAM is wrong.

I tried to look for other GPIOs that control adm6996 RC but I couldn't
find one. Indeed eerc is unused in adm6996, but it would be nice to
find a signal to perform a hardware reset.

I think it's still possible there is some connection between gpio6 and
RC but the circuit may be more complicated. For example the POWER LED
is controlled somehow by both gpio0 and wifi state. Maybe there is
some multiplexing happening on gpio6 too, perhaps controlled by some
other signal? I'm not sure if this is likely, I don't have much
experience with what is typical for these boards.
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list