]> git.hungrycats.org Git - linux/commit
arm64: dts: ti: k3-am69-sk: Fix main_i2c0 alias
authorNishanth Menon <nm@ti.com>
Fri, 2 Jun 2023 21:49:33 +0000 (16:49 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Jul 2023 17:39:42 +0000 (19:39 +0200)
commitd3ca34e186b7f6357a6b28bcd5fc5107c7992515
tree09462c49e3e64f777a450370737ae058f1089848
parent427eeceb1d2e05663a285e7ce1881c42c57c9779
arm64: dts: ti: k3-am69-sk: Fix main_i2c0 alias

[ Upstream commit b38c6ced4ec5b3f6260ff6cc2b71e8a3d8c897d7 ]

main_i2c0 is aliased as i2c0 which creates a problem for u-boot R5
SPL attempting to reuse the same definition in the common board
detection logic as it looks for the first i2c instance as the bus on
which to detect the eeprom to understand the board variant involved.
Switch main_i2c0 to i2c3 alias allowing us to introduce wkup_i2c0
and potentially space for mcu_i2c instances in the gap for follow on
patches.

Fixes: 635fb18ba008 ("arch: arm64: dts: Add support for AM69 Starter Kit")
Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Udit Kumar <u-kumar1@ti.com>
Link: https://lore.kernel.org/r/20230602214937.2349545-5-nm@ti.com
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/ti/k3-am69-sk.dts