mediatek: adjust LED behaviour on Redmi AX6000
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit bcf91ea360)
This commit is contained in:
@@ -201,12 +201,14 @@
|
||||
reg = <0>;
|
||||
label = "rgb:status";
|
||||
color-index = <LED_COLOR_ID_RED LED_COLOR_ID_GREEN LED_COLOR_ID_BLUE>;
|
||||
color-intensity = <0 255 0>; /* GREEN */
|
||||
};
|
||||
|
||||
led_network_rgb: led@1 {
|
||||
reg = <1>;
|
||||
label = "rgb:network";
|
||||
color-index = <LED_COLOR_ID_RED LED_COLOR_ID_GREEN LED_COLOR_ID_BLUE>;
|
||||
color-intensity = <0 0 255>; /* BLUE */
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -39,7 +39,7 @@ xiaomi,mi-router-wr30u-ubootmod)
|
||||
xiaomi,redmi-router-ax6000|\
|
||||
xiaomi,redmi-router-ax6000-stock|\
|
||||
xiaomi,redmi-router-ax6000-ubootmod)
|
||||
ucidef_set_led_netdev "wan" "wan" "rgb:network" "wan"
|
||||
ucidef_set_led_netdev "wan" "wan" "rgb:network" "wan" "link"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
@@ -572,6 +572,7 @@ define Device/xiaomi_redmi-router-ax6000
|
||||
BLOCKSIZE := 128k
|
||||
PAGESIZE := 2048
|
||||
KERNEL_IN_UBI := 1
|
||||
IMAGES += factory.bin
|
||||
IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
|
||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
||||
endef
|
||||
|
||||
Reference in New Issue
Block a user