X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2Fmt7628an_xiaomi_mi-router-4a-100m.dts;h=621bd22b00b73692572ef75822e25aec33513fb9;hb=19c45b95dbb53a7ba1a26c201277ca86293bf404;hp=7b40cdb6af3d9b46d7d56f626221c16d0cbabd27;hpb=f53fa2a0cb9c3c802ac79409330bcba3b971c8ca;p=openwrt%2Fopenwrt.git diff --git a/target/linux/ramips/dts/mt7628an_xiaomi_mi-router-4a-100m.dts b/target/linux/ramips/dts/mt7628an_xiaomi_mi-router-4a-100m.dts index 7b40cdb6af..621bd22b00 100644 --- a/target/linux/ramips/dts/mt7628an_xiaomi_mi-router-4a-100m.dts +++ b/target/linux/ramips/dts/mt7628an_xiaomi_mi-router-4a-100m.dts @@ -1,5 +1,7 @@ // SPDX-License-Identifier: GPL-2.0-or-later OR MIT +#include + #include "mt7628an_xiaomi_mi-router-4.dtsi" / { @@ -18,17 +20,20 @@ compatible = "gpio-leds"; led_power_blue: power_blue { - label = "blue:power"; + function = LED_FUNCTION_POWER; + color = ; gpios = <&gpio 11 GPIO_ACTIVE_LOW>; }; led_power_yellow: power_yellow { - label = "yellow:power"; + function = LED_FUNCTION_POWER; + color = ; gpios = <&gpio 44 GPIO_ACTIVE_LOW>; }; wan { - label = "blue:wan"; + function = LED_FUNCTION_WAN; + color = ; gpios = <&gpio 37 GPIO_ACTIVE_LOW>; }; }; @@ -64,9 +69,8 @@ }; ðernet { - nvmem-cells = <&macaddr_factory_4>; + nvmem-cells = <&macaddr_factory_4 (-1)>; nvmem-cell-names = "mac-address"; - mac-address-increment = <(-1)>; }; &esw {