Skip to content

Commit 4564abf

Browse files
committed
realtek: hog the GS1900 exteral IC reset line
The GPIO line connecting to the reset signals of a board's external ICs (ethernet phys, RTL8231 expanders, ...) should not be asserted. As the line is shared between buses, it cannot cleanly be assigned elsewhere in the devicetree. Let's create a hog to permanently de-assert the signal, reliably keeping the phys and GPIO expanders on. Signed-off-by: Sander Vanheule <sander@svanheule.net>
1 parent 2e37197 commit 4564abf

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

target/linux/realtek/dts/rtl8380_zyxel_gs1900.dtsi

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,15 @@
4242
};
4343
};
4444

45+
&gpio0 {
46+
ext_reset {
47+
gpio-hog;
48+
gpios = <1 GPIO_ACTIVE_LOW>;
49+
output-low;
50+
line-name = "external-peripheral-reset";
51+
};
52+
};
53+
4554
&spi0 {
4655
status = "okay";
4756

0 commit comments

Comments
 (0)