ramips: hiwifi-r33: fix partition and led (#10836)

This commit is contained in:
zfdx 2023-01-31 11:40:11 +08:00 committed by GitHub
parent e20fa327ec
commit 0fbb5e9fd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 5 deletions

View File

@ -65,7 +65,7 @@
ubiconcat1: partition@2240000 {
label = "ubiconcat1";
reg = <0x2240000 0x5d40000>;
reg = <0x2240000 0x5dc0000>;
};
};
};
@ -81,7 +81,7 @@
partition@0 {
label = "ubi";
reg = <0x0 0x79c0000>;
reg = <0x0 0x7a40000>;
};
};
};
@ -97,12 +97,13 @@
led_system: system {
label = "blue:system";
gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
turbo {
label = "blue:turbo";
gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>;
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
linux,default-trigger = "none";
};
wlan2g {

View File

@ -113,7 +113,7 @@ hiwifi,hc5861)
ucidef_set_led_switch "internet" "internet" "blue:internet" "switch0" "0x20"
;;
hiwifi,r33)
ucidef_set_led_netdev "internet" "internet" "blue:internet" "eth0.2" "link tx rx"
ucidef_set_led_switch "internet" "internet" "blue:internet" "switch1" "0x01"
;;
hnet,c108)
ucidef_set_led_netdev "lan" "lan" "green:lan" "eth0"