blob: 81079fe7d8b239c91420c309e23713608c530374 [file] [log] [blame]
Michal Simek1f4f3d32016-04-07 15:58:23 +02001/*
2 * Configuration for Xilinx ZynqMP zcu102
3 *
4 * (C) Copyright 2015 Xilinx, Inc.
5 * Michal Simek <michal.simek@xilinx.com>
6 *
7 * SPDX-License-Identifier: GPL-2.0+
8 */
9
10#ifndef __CONFIG_ZYNQMP_ZCU102_H
11#define __CONFIG_ZYNQMP_ZCU102_H
12
13#define CONFIG_ZYNQ_SDHCI1
14#define CONFIG_ZYNQ_I2C0
15#define CONFIG_ZYNQ_I2C1
16#define CONFIG_SYS_I2C_MAX_HOPS 1
17#define CONFIG_SYS_NUM_I2C_BUSES 18
18#define CONFIG_SYS_I2C_BUSES { \
19 {0, {I2C_NULL_HOP} }, \
20 {0, {{I2C_MUX_PCA9544, 0x75, 0} } }, \
21 {0, {{I2C_MUX_PCA9544, 0x75, 1} } }, \
22 {0, {{I2C_MUX_PCA9544, 0x75, 2} } }, \
23 {1, {I2C_NULL_HOP} }, \
24 {1, {{I2C_MUX_PCA9548, 0x74, 0} } }, \
25 {1, {{I2C_MUX_PCA9548, 0x74, 1} } }, \
26 {1, {{I2C_MUX_PCA9548, 0x74, 2} } }, \
27 {1, {{I2C_MUX_PCA9548, 0x74, 3} } }, \
28 {1, {{I2C_MUX_PCA9548, 0x74, 4} } }, \
29 {1, {{I2C_MUX_PCA9548, 0x75, 0} } }, \
30 {1, {{I2C_MUX_PCA9548, 0x75, 1} } }, \
31 {1, {{I2C_MUX_PCA9548, 0x75, 2} } }, \
32 {1, {{I2C_MUX_PCA9548, 0x75, 3} } }, \
33 {1, {{I2C_MUX_PCA9548, 0x75, 4} } }, \
34 {1, {{I2C_MUX_PCA9548, 0x75, 5} } }, \
35 {1, {{I2C_MUX_PCA9548, 0x75, 6} } }, \
36 {1, {{I2C_MUX_PCA9548, 0x75, 7} } }, \
37 }
38
39#define CONFIG_SYS_I2C_ZYNQ
Michal Simekff9bd8e2016-04-11 13:48:32 +020040#define CONFIG_PCA953X
41#define CONFIG_CMD_PCA953X
42#define CONFIG_CMD_PCA953X_INFO
43
Michal Simek1f4f3d32016-04-07 15:58:23 +020044#define CONFIG_AHCI
45#define CONFIG_SATA_CEVA
46
47#define CONFIG_ZYNQMP_XHCI_LIST {ZYNQMP_USB0_XHCI_BASEADDR}
48
49#define CONFIG_IDENT_STRING " Xilinx ZynqMP ZCU102"
50
Michal Simek6919b4b2016-04-22 11:48:49 +020051#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1
52#define CONFIG_CMD_EEPROM
53#define CONFIG_ZYNQ_EEPROM_BUS 5
54#define CONFIG_ZYNQ_GEM_EEPROM_ADDR 0x54
55#define CONFIG_ZYNQ_GEM_I2C_MAC_OFFSET 0x20
56
Michal Simek1f4f3d32016-04-07 15:58:23 +020057#define CONFIG_KERNEL_FDT_OFST_SIZE \
58 "kernel_offset=0x180000\0" \
59 "fdt_offset=0x100000\0" \
60 "kernel_size=0x1e00000\0" \
61 "fdt_size=0x80000\0" \
62 "board=zcu102\0"
63
64#include <configs/xilinx_zynqmp.h>
65
66#endif /* __CONFIG_ZYNQMP_ZCU102_H */