[PATCH] arm64: zynqmp: Fix i2c bus for kd240
Michal Simek
michal.simek at amd.com
Thu Jan 4 09:52:02 CET 2024
On 12/18/23 14:08, Michal Simek wrote:
> 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 at 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 <michal.simek at amd.com>
> ---
>
> board/xilinx/zynqmp/zynqmp_kria.env | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/board/xilinx/zynqmp/zynqmp_kria.env b/board/xilinx/zynqmp/zynqmp_kria.env
> index 70384538ab1d..36182f1b0d85 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;\
Applied.
M
More information about the U-Boot
mailing list