X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fstaging%2Fwigyori.git;a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FFREESTATION5.dts;fp=target%2Flinux%2Framips%2Fdts%2FFREESTATION5.dts;h=a3cc8fc97dac72cf2a40fa9ff37aa4d8d9a0bc9c;hp=442cd268dde03ca1b12e644d7a07577055afb4f0;hb=dca18caa7907c23348add2d088f3b799260d2821;hpb=eecce5abadbb9662d8724dfc1d247cb1d884976f diff --git a/target/linux/ramips/dts/FREESTATION5.dts b/target/linux/ramips/dts/FREESTATION5.dts index 442cd268dd..a3cc8fc97d 100644 --- a/target/linux/ramips/dts/FREESTATION5.dts +++ b/target/linux/ramips/dts/FREESTATION5.dts @@ -72,16 +72,15 @@ 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 {