[PATCH 1/2] realtek: netgear-gigabit: Enable RTL8231
Bjørn Mork
bjorn at mork.no
Fri Nov 26 04:41:49 PST 2021
Sander Vanheule <sander at svanheule.net> writes:
> To everyone in CC, could you please verify that the RTL8231 is present
> in your device(s) at address 31. On my GS110TPP the status LEDs are
> located on external GPIOs 31, 32, and 34. Other devices configure the
> same pins as outputs, so it is possible the status LED(s) is (are) also
> present on these pins on other devices. For the GS310TP, external GPIO
> functionality can also be tested through the lines for the SFP cages.
Tested on GS108Tv3. I assume this verifies the RTL8231 presence?:
root at OpenWrt:/# dmesg|grep 8231
[ 0.443725] Probing RTL8231 GPIOs
[ 0.447454] rtl8231_init called, MDIO bus ID: 31
Not 100% sure, but I believe the status LED is green/amber only. Never
seen any other color. Don't know how you want this expressed in DT but
the gpio to colour map is
31 32
hi hi off
lo hi green
hi lo amber
lo lo off
Almost looks like the two LEDs are wired in opposite directions between
those two GPIOs.
Tried gpios 33, 34 and 35 as well without any visible effect. Let me
know if I should test any other numbers.
Tested-by: Bjørn Mork <bjorn at mork.no>
Bjørn
More information about the openwrt-devel
mailing list