Hi,
I am trying to enable one of the gpio (GPIO1_88) in U-boot on my AM65x EVM IDK board.
For that i am making some changes in u-boot device tree files but not getting any expected result.
Changes that i have done in U-boot files:
File Name : k3-am654-base-board.dts and k3-am654-r5-base-board.dts
step 1: Pin Muxing for the GPIO1_88
AM65X_IOPAD(0x0018, PIN_OUTPUT_PULLUP, 7) /* (B22) TIMER_IO0.GPIO1_88 */
Note : I Added Pin Mux generated code (as above) to &main_pmx1 inside the main_i2c0_pins_default : main-i2c0-pins-default
Step 2: Added below structure inside the &main_i2c0
gpio1: gpio1@0011C300 {
compatible = "ti,am654-gpio";
reg = <0x0011C300 0x100>;
gpio-controller;
#gpio-cells = <2>;
regulator-min-microvolt = <0>;
regulator-max-microvolt = <3300000>;
states = <0 0x0 3300000 0x1>;
u-boot,dm-spl;
};
Regards,
Shadab


