u-boot/arch
Michal Simek e5d8d08981 arm64: zynqmp: Fix i2c addresses for zynqmp-p-a2197
After double checking some i2c addresses are not correct. It is visible
from i2c dump

ZynqMP> i2c bus
Bus 3:	i2c@ff020000
   74: i2c-mux@74, offset len 1, flags 0
Bus 5:	i2c@ff020000->i2c-mux@74->i2c@0
Bus 6:	i2c@ff020000->i2c-mux@74->i2c@2
Bus 7:	i2c@ff020000->i2c-mux@74->i2c@1
Bus 8:	i2c@ff020000->i2c-mux@74->i2c@3
Bus 4:	i2c@ff030000  (active 4)
   74: i2c-mux@74, offset len 1, flags 0
Bus 9:	i2c@ff030000->i2c-mux@74->i2c@0
Bus 10:	i2c@ff030000->i2c-mux@74->i2c@3
Bus 11:	i2c@ff030000->i2c-mux@74->i2c@4
Bus 12:	i2c@ff030000->i2c-mux@74->i2c@5  (active 12)
   51: generic_51, offset len 1, flags 0
   60: generic_60, offset len 1, flags 0
   74: generic_74, offset len 1, flags 0
Bus 13:	i2c@ff030000->i2c-mux@74->i2c@6  (active 13)
   51: generic_51, offset len 1, flags 0
   5d: generic_5d, offset len 1, flags 0
   74: generic_74, offset len 1, flags 0
ZynqMP> i2c dev 4
Setting bus to 4
ZynqMP> i2c mw 74 0 18
ZynqMP> i2c probe
Valid chip addresses: 18 36 37 50 51 60 74
ZynqMP> i2c mw 74 0 20
ZynqMP> i2c probe
Valid chip addresses: 51 60 74

where it is clear that si570 (u5) is at 0x60 address and 8t49n240 (u39) is
also at address 0x60 based on log above.
i2c address 0x74 is i2c mux and 0x51 is eeprom.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/0a198e9d993411e41473d130d5a5c20b6dc83458.1646639616.git.michal.simek@xilinx.com
2022-03-14 15:24:04 +01:00
..
arc dts: automatically build necessary .dtb files 2022-02-09 12:26:12 -07:00
arm arm64: zynqmp: Fix i2c addresses for zynqmp-p-a2197 2022-03-14 15:24:04 +01:00
m68k dts: automatically build necessary .dtb files 2022-02-09 12:26:12 -07:00
microblaze microblaze: Do not place u-boot to reserved memory location 2022-03-07 16:33:47 +01:00
mips dts: automatically build necessary .dtb files 2022-02-09 12:26:12 -07:00
nds32 dts: automatically build necessary .dtb files 2022-02-09 12:26:12 -07:00
nios2 dts: automatically build necessary .dtb files 2022-02-09 12:26:12 -07:00
powerpc powerpc: mpc8xx: drop CONFIG_SYS_RESET_ADDRESS 2022-02-10 16:44:23 -05:00
riscv dts: automatically build necessary .dtb files 2022-02-09 12:26:12 -07:00
sandbox acpi: Move acpi_write_tables() to a generic header 2022-02-11 11:29:23 -05:00
sh dts: automatically build necessary .dtb files 2022-02-09 12:26:12 -07:00
x86 spl: x86: Correct the binman symbols for SPL 2022-02-22 10:05:44 -07:00
xtensa dts: automatically build necessary .dtb files 2022-02-09 12:26:12 -07:00
.gitignore
Kconfig Convert CONFIG_SCSI_AHCI_PLAT et al to Kconfig 2022-02-09 09:16:48 -05:00
u-boot-elf.lds