How to control the GPIO04 ,it is PWR_LED_CTRL pin
hello 297273213,
you may refer to Configuring the 40-Pin Expansion Header by using Jetson-IO python tool to have pin configuration.
after that, you should enable the pin via system nodes to control it.
thanks