ramips: revert gpio regulator dts update
[openwrt.git] / target / linux / ramips / dts / FREESTATION5.dts
index 442cd26..a3cc8fc 100644 (file)
                status = "okay";
        };
 
-       poe: gpio-regulator {
+       gpio-export {
+               compatible = "gpio-export";
                // Used to enable power-over-ethernet passthrough from port0 to port1.
                // Disable passthrough by default to prevent accidental equipment damage.
-               compatible = "regulator-gpio";
-
-               regulator-name = "poe-power";
-               regulator-min-microvolt = <5000000>;
-               regulator-max-microvolt = <5000000>;
-
-               enable-gpio = <&gpio0 12 0>;
+               poe {
+                       gpio-export,name = "poe-passthrough";
+                       gpio-export,output = <1>; // OUT_INIT_HIGH
+                       gpios = <&gpio0 11 1>;    // GPIO 11, ACTIVE_LOW
+               };
        };
 
        gpio-leds {