cancel
Showing results for 
Search instead for 
Did you mean: 

I can't control I2C4 for STMPIC1 from u-boot.

bkwak
Associate II

We made device tree for u-boot of stm32151c. But it can't work i2c4 for STPMIC1.

PZ4,PZ5 is correctly connected to STMPIC1 with pull-up resistance.

SDA,SCL has no signal.

Attached is a device tree file.

Please let me know what additional point to review.

u-boot log message.

************************************************************

U-Boot SPL 2018.11-stm32mp-r4 (Jun 17 2020 - 11:05:13 +0900)

Model: STMicroelectronics custom STM32CubeMX board

RAM: DDR3-DDR3L 16bits 533000Khz

stpmic1_read: failed to read register 0x27 : -110ddr power init failed

resetting ...

U-Boot SPL 2018.11-stm32mp-r4 (Jun 17 2020 - 11:05:13 +0900)

Model: STMicroelectronics custom STM32CubeMX board

RAM: DDR3-DDR3L 16bits 533000Khz

stpmic1_read: failed to read register 0x27 : -110ddr power init failed

resetting ...

************************************************************

1 ACCEPTED SOLUTION

Accepted Solutions
PatrickF
ST Employee

Hello, did you look at https://community.st.com/s/article/FAQ-STM32MP1-Bring-up-procedure ?

It recommend for I2C4 STPMIC node and "Pwr" to pick up from the TF-A device tree of the ST reference boards.

Btw, for better support, we recommend to use Trusted boot (TF-A and uBoot) and avoid using uBoot SPL Basic boot chain (see https://wiki.st.com/stm32mpu/wiki/Boot_chains_overview#Boot_chains_features_set).

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

1 REPLY 1
PatrickF
ST Employee

Hello, did you look at https://community.st.com/s/article/FAQ-STM32MP1-Bring-up-procedure ?

It recommend for I2C4 STPMIC node and "Pwr" to pick up from the TF-A device tree of the ST reference boards.

Btw, for better support, we recommend to use Trusted boot (TF-A and uBoot) and avoid using uBoot SPL Basic boot chain (see https://wiki.st.com/stm32mpu/wiki/Boot_chains_overview#Boot_chains_features_set).

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.