X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2Fmt7621_xiaomi_mi-router-3-pro.dts;fp=target%2Flinux%2Framips%2Fdts%2Fmt7621_xiaomi_mi-router-3-pro.dts;h=34d0e4a03188c274fa8af03a49cfcfbe31d0a466;hb=09d0643c188f0d08910e490b945f884dfdd866f2;hp=64f588dc501503dcf8893a24fd9791870c1a476b;hpb=d728d05c6cfe2c9071cc9fbe3edc5342ae8979a7;p=openwrt%2Fopenwrt.git diff --git a/target/linux/ramips/dts/mt7621_xiaomi_mi-router-3-pro.dts b/target/linux/ramips/dts/mt7621_xiaomi_mi-router-3-pro.dts index 64f588dc50..34d0e4a031 100644 --- a/target/linux/ramips/dts/mt7621_xiaomi_mi-router-3-pro.dts +++ b/target/linux/ramips/dts/mt7621_xiaomi_mi-router-3-pro.dts @@ -4,6 +4,7 @@ #include #include +#include / { compatible = "xiaomi,mi-router-3-pro", "mediatek,mt7621-soc"; @@ -24,43 +25,60 @@ leds { compatible = "gpio-leds"; - led_status_red: status_red { + led_status_red: led-0 { label = "red:status"; + color = ; + function = LED_FUNCTION_STATUS; gpios = <&gpio 6 GPIO_ACTIVE_LOW>; }; - led_status_blue: status_blue { + led_status_blue: led-1 { label = "blue:status"; + color = ; + function = LED_FUNCTION_STATUS; gpios = <&gpio 8 GPIO_ACTIVE_LOW>; }; - led_status_yellow: status_yellow { + led_status_yellow: led-2 { label = "yellow:status"; + color = ; + function = LED_FUNCTION_STATUS; gpios = <&gpio 10 GPIO_ACTIVE_LOW>; }; - wan_amber { + led-3 { label = "amber:wan"; + color = ; + function = LED_FUNCTION_WAN; gpios = <&gpio 14 GPIO_ACTIVE_LOW>; - linux,default-trigger = "dsa-0.0:04:1Gbps"; + linux,default-trigger = "mt7530-0:04:1Gbps"; }; - lan3_amber { + led-4 { label = "amber:lan3"; + color = ; + function = LED_FUNCTION_LAN; + function-enumerator = <3>; gpios = <&gpio 13 GPIO_ACTIVE_LOW>; - linux,default-trigger = "dsa-0.0:03:1Gbps"; + linux,default-trigger = "mt7530-0:03:1Gbps"; }; - lan2_amber { + led-5 { label = "amber:lan2"; + color = ; + function = LED_FUNCTION_LAN; + function-enumerator = <2>; gpios = <&gpio 16 GPIO_ACTIVE_LOW>; - linux,default-trigger = "dsa-0.0:02:1Gbps"; + linux,default-trigger = "mt7530-0:02:1Gbps"; }; - lan1_amber { + led-6 { label = "amber:lan1"; + color = ; + function = LED_FUNCTION_LAN; + function-enumerator = <1>; gpios = <&gpio 15 GPIO_ACTIVE_LOW>; - linux,default-trigger = "dsa-0.0:01:1Gbps"; + linux,default-trigger = "mt7530-0:01:1Gbps"; }; };