rockchip64-6.19: mekotronics-r58x-pro: fix LED swap
- LED on gpio3 RK_PC5 is actually the WIFI led (not 4G) - 4G LED is routed into the mini-pci slot and not SoC-controllable
This commit is contained in:
parent
08d821437c
commit
12f4e9f91b
@ -75,7 +75,7 @@ function post_config_uboot_target__extra_configs_for_meko_r58x_pro_mainline_envi
|
||||
|
||||
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: enable preboot & flash user LED in preboot" "info"
|
||||
run_host_command_logged scripts/config --enable CONFIG_USE_PREBOOT
|
||||
run_host_command_logged scripts/config --set-str CONFIG_PREBOOT "'led 4G on; sleep 0.1; led LAN on; sleep 0.1; led PWR on; sleep 0.1; led 4G off; sleep 0.1; led LAN off; sleep 0.1;'" # double quotes required due to run_host_command_logged's quirks
|
||||
run_host_command_logged scripts/config --set-str CONFIG_PREBOOT "'led WIFI on; sleep 0.1; led LAN on; sleep 0.1; led PWR on; sleep 0.1; led WIFI off; sleep 0.1; led LAN off; sleep 0.1;'" # double quotes required due to run_host_command_logged's quirks
|
||||
|
||||
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: enable EFI debugging commands" "info"
|
||||
run_host_command_logged scripts/config --enable CMD_EFIDEBUG
|
||||
|
||||
@ -56,12 +56,12 @@
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
fourg_led: fourg-led {
|
||||
wifi_led: wifi-led {
|
||||
color = <LED_COLOR_ID_GREEN>;
|
||||
label = "4G";
|
||||
label = "WIFI";
|
||||
gpios = <&gpio3 RK_PC5 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&fourg_led_pin>;
|
||||
pinctrl-0 = <&wifi_led_pin>;
|
||||
};
|
||||
|
||||
lan_led: lan-led {
|
||||
@ -546,7 +546,7 @@
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
fourg_led_pin: fourg-led-pin {
|
||||
wifi_led_pin: wifi-led-pin {
|
||||
rockchip,pins = <3 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user