Skip to content

Commit 7436bb3

Browse files
committed
realtek: hog the GS1900-24E external IC reset line
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. Signed-off-by: Sander Vanheule <sander@svanheule.net>
1 parent 7acd5bf commit 7436bb3

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

target/linux/realtek/dts/rtl8382_zyxel_gs1900-24e-a1.dts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,16 @@
88
model = "Zyxel GS1900-24E A1";
99
};
1010

11+
&gpio0 {
12+
/* Shared between the main and aux MDIO busses */
13+
mdio_reset {
14+
gpio-hog;
15+
gpios = <1 GPIO_ACTIVE_LOW>;
16+
output-low;
17+
line-name = "mdio-reset";
18+
};
19+
};
20+
1121
&mdio_bus0 {
1222
EXTERNAL_PHY(0)
1323
EXTERNAL_PHY(1)

0 commit comments

Comments
 (0)