Tool/software:
Hi Team,
this is the LED changes in k3-am62x-sk-common.dtsi file
leds {
compatible = "gpio-leds";
pinctrl-names = "default";
pinctrl-0 = <&main_gpio0_led_pins_default>;
led-0 {
label = "ntn_green_led:green:boot";
gpios = <&main_gpio0 65 GPIO_ACTIVE_HIGH>;
function = LED_FUNCTION_BOOT;
default-state = "on";
color = <LED_COLOR_ID_GREEN>;
};
led-1 {
label = "can_amber_led:amber:boot";
gpios = <&main_gpio0 66 GPIO_ACTIVE_HIGH>;
function = LED_FUNCTION_BOOT;
default-state = "on";
color = <LED_COLOR_ID_AMBER>;
};
led-2 {
label = "ble_blue_led:blue:boot";
gpios = <&main_gpio0 67 GPIO_ACTIVE_HIGH>;
function = LED_FUNCTION_BOOT;
default-state = "on";
color = <LED_COLOR_ID_BLUE>;
};
led-3 {
label = "wifi_white_led:white:boot";
gpios = <&main_gpio0 68 GPIO_ACTIVE_HIGH>;
function = LED_FUNCTION_BOOT;
default-state = "on";
color = <LED_COLOR_ID_WHITE>;
};
led-4 {
label = "cellular_yellow_led:yellow:boot";
gpios = <&main_gpio0 70 GPIO_ACTIVE_HIGH>;
function = LED_FUNCTION_BOOT;
default-state = "on";
color = <LED_COLOR_ID_YELLOW>;
};
led-5 {
label = "gnss_orange_led:orange:boot";
gpios = <&main_gpio0 71 GPIO_ACTIVE_HIGH>;
function = LED_FUNCTION_BOOT;
default-state = "on";
color = <LED_COLOR_ID_ORANGE>;
};
};
=> led list
ntn_green_led:green:boot off
can_amber_led:amber:boot off
ble_blue_led:blue:boot off
wifi_white_led:white:boot off
cellular_yellow_led:yellow:boot off
gnss_orange_led:orange:boot off
=> led ntn_green_led:green:boot on
=> led can_amber_led:amber:boot on
=> led ble_blue_led:blue:boot on
=> led wifi_white_led:white:boot on
=> led cellular_yellow_led:yellow:boot on
=> led gnss_orange_led:orange:boot on
able to control it manually but i have set it as default ON, why it's not ON by default?