The steps are:
- Get the default overlay, is the one that I put in the computer from work
- Start modifying from there
LEDS
leds {
compatible = "gpio-leds";
led-0 {
function = "status";
gpios = <0x24 0x02 0x01 0x00>;
};
// MOD LEDS OBCV2
led-1 {
function = "status";
gpios = <0x24 0x01 0x0B 0x00>; // PB11, 0x1 0x1b
};
led-2 {
function = "status";
gpios = <0x24 0x01 0x0a 0x00>;
};
};
/sys/class/leds/:status_2# echo 1 > brightness