summaryrefslogtreecommitdiff
path: root/target/linux/ramips/dts/FREESTATION5.dts
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-06-24 11:09:50 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-06-24 11:09:50 +0000
commita7d049b5fc101e5620e41ee0944e6a78def62cb4 (patch)
treeaa623f9c6d507404c6ae36a95829ecd2f7095ab2 /target/linux/ramips/dts/FREESTATION5.dts
parent7091ed25bc74660777d8a4498905cc1d78fd7eea (diff)
ramips: revert gpio regulator dts update
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37021 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/dts/FREESTATION5.dts')
-rw-r--r--target/linux/ramips/dts/FREESTATION5.dts15
1 files changed, 7 insertions, 8 deletions
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 {