Hello,
I want to be able to change the LEDs on the EVM board that signals heartbeat, cpu0, mmc0, and disk activity to my custom board.
The LEDs are located on gpio3_24 through gpio3_30 on the custom board, and I only want 24, 26, 28, and 30.
Here's what I've done so far:
In uboot device tree am57xx-beagle-x15-common.dtsi:
leds {
compatible = "gpio-leds";
led0 {
label = "beagle-x15:usr0";
gpios = <&gpio3 24 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat";
default-state = "off";
};
led1 {
label = "beagle-x15:usr1";
gpios = <&gpio3 26 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "cpu0";
default-state = "off";
};
led2 {
label = "beagle-x15:usr2";
gpios = <&gpio3 28 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "mmc0";
default-state = "off";
};
led3 {
label = "beagle-x15:usr3";
gpios = <&gpio3 30 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "disk-activity";
default-state = "off";
};
&gpio3 {
ti,no-reset-on-init;
ti,no-idle-on-init;
};
In mux_data.h I have identified the pins in core_padconf_array_essential_x15[]
U-Boot SPL 2019.01-g2bd8328999-dirty (Feb 27 2020 - 19:46:07 -0800)
DRA752-GP ES2.0
** Unable to read file dra7-ipu1-fw.xem4 **
Firmware loading failed
Trying to boot from MMC1
Loading Environment from FAT... *** Warning - bad CRC, using default environment
Loading Environment from MMC... *** Warning - bad CRC, using default environment
However, if I revert back all my changes, I can load the entire uboot and linux kernel just fine.