X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2Fmt7621_dlink_dap-x1860-a1.dts;h=13095319e2faeea7921a7d9cd660aa1e677db993;hb=19c45b95dbb53a7ba1a26c201277ca86293bf404;hp=82b7c8070e29dc2e49991518bbc071bcd1635b4e;hpb=7630c052c46925015403564068abdc4b8ca89388;p=openwrt%2Fstaging%2Fjow.git diff --git a/target/linux/ramips/dts/mt7621_dlink_dap-x1860-a1.dts b/target/linux/ramips/dts/mt7621_dlink_dap-x1860-a1.dts index 82b7c8070e..13095319e2 100644 --- a/target/linux/ramips/dts/mt7621_dlink_dap-x1860-a1.dts +++ b/target/linux/ramips/dts/mt7621_dlink_dap-x1860-a1.dts @@ -4,6 +4,7 @@ #include #include +#include / { compatible = "dlink,dap-x1860-a1", "mediatek,mt7621-soc"; @@ -41,18 +42,21 @@ compatible = "gpio-leds"; led_power_green: power_green { - label = "green:power"; + function = LED_FUNCTION_POWER; + color = ; gpios = <&gpio 3 GPIO_ACTIVE_LOW>; default-state = "on"; }; led_power_red: power_red { - label = "red:power"; + function = LED_FUNCTION_POWER; + color = ; gpios = <&gpio 7 GPIO_ACTIVE_LOW>; }; power_orange { - label = "orange:power"; + function = LED_FUNCTION_POWER; + color = ; gpios = <&gpio 8 GPIO_ACTIVE_LOW>; };