Files
u-boot/board
Primoz Fiser a7528da151 board: phytec: phycore-imx93: Fix EEPROM bus mismatch in SPL
Fix PHYTEC EEPROM bus mismatch between SPL and U-Boot proper by enabling
CONFIG_SPL_DM_SEQ_ALIAS=y on phyCORE-i.MX93 boards. This way, both the
SPL and U-Boot proper will respect the device-tree aliases for I2C devs
and use the same I2C bus number for phytec_eeprom_data_setup() function
calls. This makes code less confusing and more robust.

Fixes an issue apparent since commit 79f3e77133 ("Subtree merge tag
'v6.16-dts' of dts repo [1] into dts/upstream") where SPL would spew the
following error:

  phytec_eeprom_read: i2c EEPROM not found: -110.
  phytec_eeprom_data_setup: EEPROM data init failed

While later in U-Boot proper, EEPROM would be successfully read out.
This happens because Linux device-tree for phyBOARD-Segin-i.MX93 since
aforementioned commit enables I2C bus 2 (lpi2c2 is used for audio codec
and RTC) which breaks SPL I2C bus number ordering and I2C EEPROM bus is
shifted by +1. Now, lets prevent this from happening again by utilizing
device-tree aliases also in the SPL.

Signed-off-by: Primoz Fiser <primoz.fiser@norik.com>
2025-08-23 08:21:25 -03:00
..
2024-10-03 09:29:23 -06:00
2025-05-09 15:05:14 -06:00
2025-05-09 15:05:14 -06:00
2025-07-08 13:10:03 -06:00
2025-06-02 17:26:16 -06:00
2024-07-22 10:51:47 -06:00
2025-06-02 17:26:16 -06:00
2025-07-08 13:11:12 -06:00
2025-05-09 15:05:14 -06:00
2025-07-29 17:02:31 +02:00
2025-04-11 12:16:44 -06:00
2025-04-11 12:16:44 -06:00