Other Parts Discussed in Thread: DA8XX
Tool/software:
Hi,
SDK version : 10_01_10_04
We have customized hardware design based on AM64x GP EVM and in that we need to set GPIO0_53 pin to high from bootloader at bootup.
Please provide method / API to control GPIO from bootloader.
I have added following changes in bootloader.
file : arch/arm/dts/k3-am642-evm.dts
+ controlsignals_pins_default: controlsignals-default-pins {
+ pinctrl-single,pins = <
+ AM64X_IOPAD(0x00d8, PIN_OUTPUT_PULLDOWN, 7) /* (W13) PRG1_PRU0_GPO8.GPIO0_53 */
+ >;
+ };
&main_gpio0 {
bootph-all;
+ pinctrl-names = "default";
+ pinctrl-0 = <&controlsignals_pins_default>;
+ status = "okay";
};
Command response from u-boot prompt.
=> gpio status -a
gpio status command display nothing.
=> gpio set 565
GPIO: '565' not found
Command 'gpio' failed: Error -22
=>
=>
Please provide method to control from u-boot prompt as well as API to control during code execution.
Regards,
Sharad