blob: 7e3b9ad7058b637996f5010123cd72e15e72bd53 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Michal Simekf7c8e492018-03-28 15:36:36 +02002/*
3 * Configuration for Xilinx ZynqMP zcu104
4 *
5 * (C) Copyright 2017 Xilinx, Inc.
6 * Michal Simek <michal.simek@xilinx.com>
Michal Simekf7c8e492018-03-28 15:36:36 +02007 */
8
9#ifndef __CONFIG_ZYNQMP_ZCU104_H
10#define __CONFIG_ZYNQMP_ZCU104_H
11
12#define CONFIG_ZYNQ_SDHCI1
13#define CONFIG_SYS_I2C_MAX_HOPS 1
14#define CONFIG_SYS_NUM_I2C_BUSES 9
15#define CONFIG_SYS_I2C_BUSES { \
16 {0, {I2C_NULL_HOP} }, \
17 {0, {{I2C_MUX_PCA9548, 0x74, 0} } }, \
18 {0, {{I2C_MUX_PCA9548, 0x74, 1} } }, \
19 {0, {{I2C_MUX_PCA9548, 0x74, 2} } }, \
20 {0, {{I2C_MUX_PCA9548, 0x74, 3} } }, \
21 {0, {{I2C_MUX_PCA9548, 0x74, 4} } }, \
22 {0, {{I2C_MUX_PCA9548, 0x74, 5} } }, \
23 {0, {{I2C_MUX_PCA9548, 0x74, 6} } }, \
24 {0, {{I2C_MUX_PCA9548, 0x74, 7} } }, \
25 }
26
27#define CONFIG_PCA953X
28
Michal Simekf7c8e492018-03-28 15:36:36 +020029#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1
30
31#include <configs/xilinx_zynqmp.h>
32
33#endif /* __CONFIG_ZYNQMP_ZCU104_H */