SD card activity external LED

Sorry for this :sweat_smile:

I have got it up and running! :partying_face:

Only issue I’m having is the brightness of the LED but that’s a challenge for tomorrow.

Thanks so much for the help! :smiley:

This is my current code

/dts-v1/;
/plugin/;

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/gpio/meson-gxl-gpio.h>

/ {
compatible = “libretech,cc”, “amlogic,s905x”, “amlogic,meson-gxl”,“gpio-leds”;

fragment@0 {
target-path = “/leds”;
overlay {
SD_status@0 {
label = “statusLED”;
gpios = <&gpio GPIOX_5 GPIO_ACTIVE_HIGH>;
linux,default-trigger = “mmc1”;
};
};
};
};

2 Likes