X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2Fmt7621_youku_yk-l2.dts;h=c96495da2783e3125188ea0c1758101321121cc5;hb=19c45b95dbb53a7ba1a26c201277ca86293bf404;hp=98d2e6892254b079313945748fb555145d34bf7d;hpb=7630c052c46925015403564068abdc4b8ca89388;p=openwrt%2Fopenwrt.git diff --git a/target/linux/ramips/dts/mt7621_youku_yk-l2.dts b/target/linux/ramips/dts/mt7621_youku_yk-l2.dts index 98d2e68922..c96495da27 100644 --- a/target/linux/ramips/dts/mt7621_youku_yk-l2.dts +++ b/target/linux/ramips/dts/mt7621_youku_yk-l2.dts @@ -4,6 +4,7 @@ #include #include +#include / { compatible = "youku,yk-l2", "mediatek,mt7621-soc"; @@ -24,18 +25,21 @@ compatible = "gpio-leds"; led_power: power { - label = "blue:power"; + function = LED_FUNCTION_POWER; + color = ; gpios = <&gpio 13 GPIO_ACTIVE_LOW>; default-state = "on"; }; led_wps: wps { - label = "blue:wps"; + function = LED_FUNCTION_WPS; + color = ; gpios = <&gpio 14 GPIO_ACTIVE_LOW>; }; usb { - label = "blue:usb"; + function = LED_FUNCTION_USB; + color = ; gpios = <&gpio 16 GPIO_ACTIVE_LOW>; trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>; linux,default-trigger = "usbport";