mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-03 19:33:46 +01:00
realtek: hog the GS1900-24E external IC reset line
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
The GPIO line connecting to the reset signals of the GS1900-24E(A1)'s
external ICs (RTL8218B phys and RTL8231 expander) cannot be asserted by
the MDIO subsystem, as the reset is shared between busses.
To prevent users from accidentally asserting the reset line, a GPIO hog
is created to permanently de-assert the signal, reliably keeping the
phys and GPIO expanders on.
Tested-by: Simon Fischer <simi.fischa@gmail.com>
Signed-off-by: Sander Vanheule <sander@svanheule.net>
(cherry picked from commit ba57225066)
This commit is contained in:
parent
82dbd32e13
commit
cdc92ce560
1 changed files with 10 additions and 0 deletions
|
|
@ -8,6 +8,16 @@
|
|||
model = "Zyxel GS1900-24E A1";
|
||||
};
|
||||
|
||||
&gpio0 {
|
||||
/* Shared between the main and aux MDIO busses */
|
||||
mdio_reset {
|
||||
gpio-hog;
|
||||
gpios = <1 GPIO_ACTIVE_LOW>;
|
||||
output-low;
|
||||
line-name = "mdio-reset";
|
||||
};
|
||||
};
|
||||
|
||||
&mdio_bus0 {
|
||||
EXTERNAL_PHY(0)
|
||||
EXTERNAL_PHY(1)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue