summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Simek <[email protected]>2023-12-18 14:08:36 +0100
committerMichal Simek <[email protected]>2024-01-09 14:51:04 +0100
commitaf37f71efa1de8cf9e7de78c4f6dce0a4b51edf3 (patch)
tree743e860cf2dcbf0479fb45835c68ef81b00146a0
parentdf68c2c9aa992464ce4de4ba0020dd7333c1d36d (diff)
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 <[email protected]> Link: https://lore.kernel.org/r/cf07682a611de9895271d629ee00fb2809d99d0e.1702904913.git.michal.simek@amd.com
-rw-r--r--board/xilinx/zynqmp/zynqmp_kria.env2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/xilinx/zynqmp/zynqmp_kria.env b/board/xilinx/zynqmp/zynqmp_kria.env
index 70384538ab1..36182f1b0d8 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;\