From: Michal Simek Date: Mon, 18 Dec 2023 13:08:36 +0000 (+0100) Subject: arm64: zynqmp: Fix i2c bus for kd240 X-Git-Tag: v2025.01-rc5-pxa1908~706^2~23 X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=af37f71efa1de8cf9e7de78c4f6dce0a4b51edf3;p=u-boot.git arm64: zynqmp: Fix i2c bus for kd240 i2c1 is having all chips on it that's why use it instead of 0. You can see this error when you boot system. eth0: ethernet@ff0c0000 Setting bus to 0 Failure changing bus number (-19) Enable permission for node ID 33 Enable permission for node ID 47 Hit any key to stop autoboot: 0 It also get USB to work. Fixes: dd4a82201694 ("arm64: zynqmp: Introduce kria SOM defconfig") Signed-off-by: Michal Simek Link: https://lore.kernel.org/r/cf07682a611de9895271d629ee00fb2809d99d0e.1702904913.git.michal.simek@amd.com --- diff --git a/board/xilinx/zynqmp/zynqmp_kria.env b/board/xilinx/zynqmp/zynqmp_kria.env index 70384538ab..36182f1b0d 100644 --- a/board/xilinx/zynqmp/zynqmp_kria.env +++ b/board/xilinx/zynqmp/zynqmp_kria.env @@ -58,7 +58,7 @@ kv260_setup=i2c dev 1 && run usb_hub_init # usb hub init kr260_setup=i2c dev 1 && run usb_hub_init; i2c dev 2 && run usb_hub_init; # usb hub init with enabling PM nodes for ... -kd240_setup=i2c dev 0 && run usb_hub_init;zynqmp pmufw node 33; zynqmp pmufw node 47 +kd240_setup=i2c dev 1 && run usb_hub_init;zynqmp pmufw node 33; zynqmp pmufw node 47 board_setup=\ if test ${card1_name} = SCK-KV-G; then run kv260_setup; fi;\