X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FVR500.dts;h=832c61f58a80d4e7967ddeb0d5c5f50fd2c32cee;hp=c3a6e1c4c79086126f64b6a44c3723668e1ca71d;hb=c9c4b2116c0984eb8baeff03e806030ee9c6175f;hpb=45dbd65850bdaa8c2b74d164065cba12b52107f7 diff --git a/target/linux/ramips/dts/VR500.dts b/target/linux/ramips/dts/VR500.dts index c3a6e1c4c7..832c61f58a 100644 --- a/target/linux/ramips/dts/VR500.dts +++ b/target/linux/ramips/dts/VR500.dts @@ -2,12 +2,17 @@ #include "mt7621.dtsi" +#include #include / { compatible = "planex,vr500", "mediatek,mt7621-soc"; model = "Planex VR500"; + aliases { + led-status = &led_power; + }; + memory@0 { device_type = "memory"; reg = <0x0 0x10000000>; @@ -20,9 +25,9 @@ gpio-leds { compatible = "gpio-leds"; - power { + led_power: power { label = "vr500:green:power"; - gpios = <&gpio1 13 1>; + gpios = <&gpio1 13 GPIO_ACTIVE_LOW>; }; }; @@ -34,7 +39,7 @@ reset { label = "reset"; - gpios = <&gpio1 15 1>; + gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; linux,code = ; }; };