2020-06-16 11:59 PM
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 ...
************************************************************
Solved! Go to Solution.
2020-06-17 07:33 AM
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).
2020-06-17 07:33 AM
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).