Skip to content

Commit

Permalink
filogic: fixes huasifei wh3000 led
Browse files Browse the repository at this point in the history
coolsnowwolf committed Jan 30, 2025
1 parent 424c43c commit f4a80a4
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions target/linux/mediatek/dts/mt7981b-huasifei-wh3000-emmc.dts
Original file line number Diff line number Diff line change
@@ -9,15 +9,15 @@
#include "mt7981.dtsi"

/ {
model = "HUASIFEI WH3000 eMMC version";
model = "Huasifei WH3000 eMMC";
compatible = "huasifei,wh3000-emmc", "mediatek,mt7981";

aliases {
serial0 = &uart0;
led-boot = &led_sys_red;
led-failsafe = &led_sys_red;
led-running = &led_sys_white;
led-upgrade = &led_sys_white;
led-running = &led_sys_green;
led-upgrade = &led_sys_green;
};

chosen {
@@ -47,14 +47,14 @@
compatible = "gpio-leds";

led_sys_red: led-0 {
function = LED_FUNCTION_POWER;
function = LED_FUNCTION_STATUS;
color = <LED_COLOR_ID_RED>;
gpios = <&pio 11 GPIO_ACTIVE_LOW>;
};

led_sys_white: led-1 {
led_sys_green: led-1 {
function = LED_FUNCTION_STATUS;
color = <LED_COLOR_ID_WHITE>;
color = <LED_COLOR_ID_GREEN>;
gpios = <&pio 10 GPIO_ACTIVE_LOW>;
};
};
2 changes: 1 addition & 1 deletion target/linux/mediatek/image/filogic.mk
Original file line number Diff line number Diff line change
@@ -461,7 +461,7 @@ endef
TARGET_DEVICES += h3c_magic-nx30-pro

define Device/huasifei_wh3000-emmc
DEVICE_VENDOR := HUASIFEI
DEVICE_VENDOR := Huasifei
DEVICE_MODEL := WH3000 eMMC
DEVICE_DTS := mt7981b-huasifei-wh3000-emmc
DEVICE_DTS_DIR := ../dts

0 comments on commit f4a80a4

Please sign in to comment.