As the bootloader is reconfiguring the RTL8231 on these devices anyway,
no pin state can be maintained over warm reboots. This results in for
example the PoE disable pin always being asserted by the bootloader.
Define the GPIO line linked to the RTL8231's reset so the MDIO subsystem
will also reset the expander on boot and ensure the line in the correct
state.
Signed-off-by: Sander Vanheule <sander@svanheule.net>
&mdio_aux {
status = "okay";
- // Reset GPIO is <&gpio0 1 GPIO_ACTIVE_LOW>
- // Don't specify the reset info so the mdio subsystem doesn't reset the bus
- //reset-gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
- //reset-delay-us = <1000>;
- //reset-post-delay-us = <10000>;
+ reset-gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
+ reset-delay-us = <1000>;
+ reset-post-delay-us = <10000>;
gpio1: expander@0 {
compatible = "realtek,rtl8231";