Commit 5561943ba2ce290545b99d886459bb3a41c65f2c
Committed by
Stefan Roese
1 parent
7d99406742
Exists in
smarc_8mq_lf_v2020.04
and in
9 other branches
arm: mvebu: turris_omnia: fix eeprom/mcu device names
Commit c4bd12a7dad4 ("i2c: mux: Generate longer i2c mux name") changed the naming scheme of i2c devices within a mux. This broke references to i2c@0 in the Turris Omnia board initialization code. Signed-off-by: Pierre Bourdon <delroth@gmail.com> Cc: Marek Behún <marek.behun@nic.cz> Reviewed-by: Stefan Roese <sr@denx.de> Reviewed-by: Marek Behún <marek.behun@nic.cz> Signed-off-by: Stefan Roese <sr@denx.de>
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
board/CZ.NIC/turris_omnia/turris_omnia.c
... | ... | @@ -32,13 +32,13 @@ |
32 | 32 | |
33 | 33 | DECLARE_GLOBAL_DATA_PTR; |
34 | 34 | |
35 | -#define OMNIA_I2C_EEPROM_DM_NAME "i2c@0" | |
35 | +#define OMNIA_I2C_EEPROM_DM_NAME "i2c@11000->i2cmux@70->i2c@0" | |
36 | 36 | #define OMNIA_I2C_EEPROM 0x54 |
37 | 37 | #define OMNIA_I2C_EEPROM_CONFIG_ADDR 0x0 |
38 | 38 | #define OMNIA_I2C_EEPROM_ADDRLEN 2 |
39 | 39 | #define OMNIA_I2C_EEPROM_MAGIC 0x0341a034 |
40 | 40 | |
41 | -#define OMNIA_I2C_MCU_DM_NAME "i2c@0" | |
41 | +#define OMNIA_I2C_MCU_DM_NAME "i2c@11000->i2cmux@70->i2c@0" | |
42 | 42 | #define OMNIA_I2C_MCU_ADDR_STATUS 0x1 |
43 | 43 | #define OMNIA_I2C_MCU_SATA 0x20 |
44 | 44 | #define OMNIA_I2C_MCU_CARDDET 0x10 |