Part Number: AM3352
Hello,
i am using a Custom Board with the Sitara AM3352. The Board is working fine with a U-Boot 2014.04 all is working perfectly, including Pins and GPIO.
A while ago we updated our Board to U-Boot 2017.07. The U-Boot (SPL+U-Boot Image) is successfully booted via UART.
Seems like there is a Problem with Pins in General.
No i2c is detected and the defined GPIO Pins do not work.
I also tried to set the gpio pins (LEDs) with the GPIO command.
For example "gpio set 55", with U-Boot 2014.04 the command is working.
With the 2017.07 Version there is a error GPIO: '55' not found, failed: Error -22.
Tracking the error shows the gpio-uclass.c is used.
Probably because in the configuration the CONFIG_DM and CONFIG_DM_GPIO is enabled.
I did check the Pin mux and everything looks fine so far, besides the definitions are adapted from the working 2014.04 Version.
The mux.c was adapted from the 2014.04 Version.
The needed .dts File is used from a Linux System which is started from U-Boot 2014.04 and works fine there.
Is there anything about Pin definitions (mux/devicetree) I have to keep in mind when using the dm (Driver Model) ?
Maybe someone could guide me to what I can do to trace the Problem.
Or maybe someone had a similar problem and could help me fix it.
Thx for the help!
Best regards
Christoph