Hello,
We have developed a custom board based on Tx-2. In that board we want to connect a LED on GPIO which can indicated that system has been booted successfully. That LED should blink continuously when system is booting up and should off when system booted successfully.
I have referred some threads for the same:
Add led to tk1 device tree
Extending U-boot functionality
After going through mentioned threads I came to know that I have to make changes in the U-boot device tree and accordingly enable the following driver:
sources/u-boot/drivers/led/led_gpio.c
Add device node accordingly in the U-Boot device tree:
leds {
compatible = "gpio-leds";
heartbeat {
label = "heartbeat";
gpios = <>;
linux,default-trigger = "heartbeat";
};
};
Am I following correct approach? If not please guide us to make it working. Any reference will be help us to understand the approach.
Looking forward for your support.
Thanks and Regards,
Vikas Dwivedi