Function of PWR_LED_CTRL LED (PIN)in Jetson NX devkit?

What is the condition to turn on PWR_LED_CTRL LED (PIN) GPIO04 in Jetson NX devkit?
How it is controlled from SOM/BSP?

hello vbhm,

did you mean [DS1] Power LED? it lights when the developer kit is powered on.

Yes this is the one. Thank you

hello vbhm,

you’ll also need to check Chipset Power States,
it’s the GPIO control for Power LED; the LED can be turned off in SC7 state and also blink at HW throttling.

for Xavier NX, it’s pin GPIO04/ GPIO3_PCC.01.
please also check the device tree property to control this pin,
for example,
$L4T_Sources/r32.6.1/Linux_for_Tegra/source/public/hardware/nvidia/platform/t19x/jakku/kernel-dts/common/tegra194-p3668-common.dtsi

                suspend_gpio: suspend-led-gpio {
                        gpio-hog;
                        output-high;
                        gpio-suspend;
                        suspend-output-low;
                        gpios = <TEGRA194_AON_GPIO(CC, 1) GPIO_ACTIVE_HIGH>;
                        label = "suspend-led-gpio";
                        status = "okay";
1 Like