blob: 0f0d8c6d42db7f0780cbf758fe8a683d1127a4cf [file] [log] [blame]
Michal Simekcf0bcd72018-03-28 15:43:51 +02001/*
2 * Configuration for Xilinx ZynqMP zcu106
3 *
4 * (C) Copyright 2016 Xilinx, Inc.
5 * Michal Simek <michal.simek@xilinx.com>
6 *
7 * SPDX-License-Identifier: GPL-2.0+
8 */
9
10#ifndef __CONFIG_ZYNQMP_ZCU106_H
11#define __CONFIG_ZYNQMP_ZCU106_H
12
13#define CONFIG_ZYNQ_SDHCI1
14#define CONFIG_SYS_I2C_MAX_HOPS 1
15#define CONFIG_SYS_NUM_I2C_BUSES 18
16#define CONFIG_SYS_I2C_BUSES { \
17 {0, {I2C_NULL_HOP} }, \
18 {0, {{I2C_MUX_PCA9544, 0x75, 0} } }, \
19 {0, {{I2C_MUX_PCA9544, 0x75, 1} } }, \
20 {0, {{I2C_MUX_PCA9544, 0x75, 2} } }, \
21 {1, {I2C_NULL_HOP} }, \
22 {1, {{I2C_MUX_PCA9548, 0x74, 0} } }, \
23 {1, {{I2C_MUX_PCA9548, 0x74, 1} } }, \
24 {1, {{I2C_MUX_PCA9548, 0x74, 2} } }, \
25 {1, {{I2C_MUX_PCA9548, 0x74, 3} } }, \
26 {1, {{I2C_MUX_PCA9548, 0x74, 4} } }, \
27 {1, {{I2C_MUX_PCA9548, 0x75, 0} } }, \
28 {1, {{I2C_MUX_PCA9548, 0x75, 1} } }, \
29 {1, {{I2C_MUX_PCA9548, 0x75, 2} } }, \
30 {1, {{I2C_MUX_PCA9548, 0x75, 3} } }, \
31 {1, {{I2C_MUX_PCA9548, 0x75, 4} } }, \
32 {1, {{I2C_MUX_PCA9548, 0x75, 5} } }, \
33 {1, {{I2C_MUX_PCA9548, 0x75, 6} } }, \
34 {1, {{I2C_MUX_PCA9548, 0x75, 7} } }, \
35 }
36
37#define CONFIG_PCA953X
38
39#define CONFIG_ZYNQMP_XHCI_LIST {ZYNQMP_USB0_XHCI_BASEADDR}
40
41#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1
42#define CONFIG_ZYNQ_EEPROM_BUS 5
43#define CONFIG_ZYNQ_GEM_EEPROM_ADDR 0x54
44
45#include <configs/xilinx_zynqmp.h>
46
47#endif /* __CONFIG_ZYNQMP_ZCU106_H */