X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2Fmt7621_mtc_wr1201.dts;h=54a10863fad2eb2a55a1a4a49d9d4d842e32e583;hb=19c45b95dbb53a7ba1a26c201277ca86293bf404;hp=43b021fa13ae816e32234241f29cec6f690c36e2;hpb=7630c052c46925015403564068abdc4b8ca89388;p=openwrt%2Fstaging%2Fwigyori.git diff --git a/target/linux/ramips/dts/mt7621_mtc_wr1201.dts b/target/linux/ramips/dts/mt7621_mtc_wr1201.dts index 43b021fa13..54a10863fa 100644 --- a/target/linux/ramips/dts/mt7621_mtc_wr1201.dts +++ b/target/linux/ramips/dts/mt7621_mtc_wr1201.dts @@ -2,6 +2,7 @@ #include #include +#include / { compatible = "mtc,wr1201", "mediatek,mt7621-soc"; @@ -19,12 +20,14 @@ compatible = "gpio-leds"; led_power: power { - label = "green:power"; + function = LED_FUNCTION_POWER; + color = ; gpios = <&gpio 24 GPIO_ACTIVE_LOW>; }; usb { - label = "green:usb"; + function = LED_FUNCTION_USB; + color = ; gpios = <&gpio 22 GPIO_ACTIVE_LOW>; trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>; linux,default-trigger = "usbport"; @@ -36,7 +39,8 @@ }; wps { - label = "green:wps"; + function = LED_FUNCTION_WPS; + color = ; gpios = <&gpio 23 GPIO_ACTIVE_LOW>; }; };