On 07/04/13 00:39, Tobias Diedrich wrote:
John Crispin wrote:
On 06/04/13 18:47, Tobias Diedrich wrote:
+
+ gpio-leds {
+ compatible = "gpio-leds";
+ // Used to enable power-over-ethernet passthrough from port0 to
port1.
+ // Disable passthrough by default to prevent accidental
equipment damage.
+ poe {
+ label = "freestation:poe:passthrough";
+ gpios =<&gpio0 11 1>;
+ };
+ // The following leds are defined in the ArcOS firmware, but
reportedly
+ // not present in the Freestation5 device.
Hi,
this should be done with an of_gpio_export node
->
https://dev.openwrt.org/browser/trunk/target/linux/ramips/dts/DIR-645.dts#L134
Hmm, annoyingly that does not seem to allow setting defaults values
other than direction.
But I'd like to set it to active_low and off by default.
gpio-export,output = <0>;
... the parameter is the default output value
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel