ramips: mt7621: improve Huasifei MT7621 DTU support

This commit is contained in:
coolsnowwolf 2024-08-23 13:39:24 +08:00
parent 0736e2feec
commit 9ed955ab9b
2 changed files with 5 additions and 5 deletions

View File

@ -38,22 +38,22 @@
};
led-cellular-4g {
label = "green:wwan4g";
label = "amber:4g";
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
};
led-cellular-5g {
label = "green:wwan5g";
label = "amber:5g";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
led-cellular-l2 {
label = "green:wwan-l2";
label = "green:4g";
gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
};
led-cellular-l3 {
label = "green:wwan-l3";
label = "green:5g";
gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
};
};

View File

@ -95,7 +95,7 @@ ramips_setup_interfaces()
;;
huasifei,mt7621dtu)
ucidef_add_switch "switch0" \
"0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "6u@eth0" "5u@eth1"
"1:lan" "2:lan" "3:lan" "4:lan" "0:wan" "6u@eth0" "5u@eth1"
ucidef_set_interfaces_lan_wan "eth0" "eth1 eth2"
;;
oraybox,x3a)