summaryrefslogtreecommitdiff
path: root/target/linux/ramips/dts/FREESTATION5.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/FREESTATION5.dts')
-rw-r--r--target/linux/ramips/dts/FREESTATION5.dts15
1 files changed, 8 insertions, 7 deletions
diff --git a/target/linux/ramips/dts/FREESTATION5.dts b/target/linux/ramips/dts/FREESTATION5.dts
index a3cc8fc..442cd26 100644
--- a/target/linux/ramips/dts/FREESTATION5.dts
+++ b/target/linux/ramips/dts/FREESTATION5.dts
@@ -72,15 +72,16 @@
status = "okay";
};
- gpio-export {
- compatible = "gpio-export";
+ poe: gpio-regulator {
// Used to enable power-over-ethernet passthrough from port0 to port1.
// Disable passthrough by default to prevent accidental equipment damage.
- poe {
- gpio-export,name = "poe-passthrough";
- gpio-export,output = <1>; // OUT_INIT_HIGH
- gpios = <&gpio0 11 1>; // GPIO 11, ACTIVE_LOW
- };
+ compatible = "regulator-gpio";
+
+ regulator-name = "poe-power";
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+
+ enable-gpio = <&gpio0 12 0>;
};
gpio-leds {