chosen {
bootargs = "earlycon";
stdout-path = "serial0:115200n8";
+ xlnx,eeprom = &eeprom;
};
memory@0 {
chosen {
bootargs = "earlycon";
stdout-path = "serial0:115200n8";
+ xlnx,eeprom = &eeprom;
};
memory@0 {
chosen {
bootargs = "earlycon";
stdout-path = "serial0:115200n8";
+ xlnx,eeprom = &eeprom;
};
memory@0 {
chosen {
bootargs = "earlycon";
stdout-path = "serial0:115200n8";
+ xlnx,eeprom = &eeprom;
};
memory@0 {
CONFIG_FPGA_ZYNQMPPL=y
CONFIG_DM_GPIO=y
CONFIG_XILINX_GPIO=y
-CONFIG_SYS_I2C_ZYNQ=y
-CONFIG_ZYNQ_I2C1=y
+CONFIG_DM_I2C=y
+CONFIG_SYS_I2C_CADENCE=y
+CONFIG_I2C_MUX=y
+CONFIG_I2C_MUX_PCA954x=y
CONFIG_LED=y
CONFIG_LED_GPIO=y
CONFIG_MISC=y
CONFIG_FPGA_ZYNQMPPL=y
CONFIG_DM_GPIO=y
CONFIG_XILINX_GPIO=y
-CONFIG_SYS_I2C_ZYNQ=y
-CONFIG_ZYNQ_I2C1=y
+CONFIG_DM_I2C=y
+CONFIG_SYS_I2C_CADENCE=y
+CONFIG_I2C_MUX=y
+CONFIG_I2C_MUX_PCA954x=y
CONFIG_LED=y
CONFIG_LED_GPIO=y
CONFIG_MISC=y
CONFIG_SPL_ATF=y
CONFIG_SYS_PROMPT="ZynqMP> "
CONFIG_CMD_THOR_DOWNLOAD=y
-CONFIG_CMD_EEPROM=y
CONFIG_CMD_MEMTEST=y
CONFIG_SYS_ALT_MEMTEST=y
CONFIG_CMD_CLK=y
CONFIG_FPGA_XILINX=y
CONFIG_FPGA_ZYNQMPPL=y
CONFIG_DM_GPIO=y
-CONFIG_CMD_PCA953X=y
CONFIG_XILINX_GPIO=y
-CONFIG_SYS_I2C_ZYNQ=y
-CONFIG_ZYNQ_I2C0=y
-CONFIG_ZYNQ_I2C1=y
+CONFIG_DM_I2C=y
+CONFIG_SYS_I2C_CAD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G_MMC_SDHCI_ZYNQ=y
CONFIG_SPI_FLASH=y
CONFIG_SPL_RAM_DEVICE=y
CONFIG_SPL_ATF=y
CONFIG_SYS_PROMPT="ZynqMP> "
-CONFIG_CMD_EEPROM=y
CONFIG_CMD_MEMTEST=y
CONFIG_CMD_CLK=y
CONFIG_CMD_DFU=y
CONFIG_FPGA_XILINX=y
CONFIG_FPGA_ZYNQMPPL=y
CONFIG_DM_GPIO=y
-CONFIG_CMD_PCA953X=y
-CONFIG_SYS_I2C_ZYNQ=y
-CONFIG_ZYNQ_I2C0=y
-CONFIG_ZYNQ_I2C1=y
+CONFIG_DM_I2C=y
+CONFIG_SYS_I2C_CADENCE=y
+CONFIG_I2C_MUX=y
+CONFIG_I2C_MUX_PCA954x=y
CONFIG_LED=y
CONFIG_LED_GPIO=y
CONFIG_MISC=y
+CONFIG_I2C_EEPROM=y
CONFIG_ZYNQ_GEM_I2C_MAC_OFFSET=0x20
+CONFIG_SYS_I2C_EEPROM_ADDR=0x0
+CONFIG_SYS_I2C_EEPROM_ADDR_OVERFLOW=0x0
CONFIG_MMC_SDHCI=y
CONFIG_MMC_SDHCI_ZYNQ=y
CONFIG_SPI_FLASH=y
# define PHY_ANEG_TIMEOUT 20000
#endif
-/* I2C */
-#if defined(CONFIG_SYS_I2C_ZYNQ)
-# define CONFIG_SYS_I2C
-#endif
-
/* EEPROM */
#ifdef CONFIG_ZYNQMP_EEPROM
# define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 2
#ifndef __CONFIG_ZYNQMP_ZCU100_H
#define __CONFIG_ZYNQMP_ZCU100_H
-/* FIXME Will go away soon */
-#define CONFIG_SYS_I2C_MAX_HOPS 1
-#define CONFIG_SYS_NUM_I2C_BUSES 9
-#define CONFIG_SYS_I2C_BUSES { \
- {0, {I2C_NULL_HOP} }, \
- {0, {{I2C_MUX_PCA9548, 0x75, 0} } }, \
- {0, {{I2C_MUX_PCA9548, 0x75, 1} } }, \
- {0, {{I2C_MUX_PCA9548, 0x75, 2} } }, \
- {0, {{I2C_MUX_PCA9548, 0x75, 3} } }, \
- {0, {{I2C_MUX_PCA9548, 0x75, 4} } }, \
- {0, {{I2C_MUX_PCA9548, 0x75, 5} } }, \
- {0, {{I2C_MUX_PCA9548, 0x75, 6} } }, \
- {0, {{I2C_MUX_PCA9548, 0x75, 7} } }, \
- }
-
#include <configs/xilinx_zynqmp.h>
#endif /* __CONFIG_ZYNQMP_ZCU100_H */
#define __CONFIG_ZYNQMP_ZCU102_H
#define CONFIG_ZYNQ_SDHCI1
-#define CONFIG_SYS_I2C_MAX_HOPS 1
-#define CONFIG_SYS_NUM_I2C_BUSES 18
-#define CONFIG_SYS_I2C_BUSES { \
- {0, {I2C_NULL_HOP} }, \
- {0, {{I2C_MUX_PCA9544, 0x75, 0} } }, \
- {0, {{I2C_MUX_PCA9544, 0x75, 1} } }, \
- {0, {{I2C_MUX_PCA9544, 0x75, 2} } }, \
- {1, {I2C_NULL_HOP} }, \
- {1, {{I2C_MUX_PCA9548, 0x74, 0} } }, \
- {1, {{I2C_MUX_PCA9548, 0x74, 1} } }, \
- {1, {{I2C_MUX_PCA9548, 0x74, 2} } }, \
- {1, {{I2C_MUX_PCA9548, 0x74, 3} } }, \
- {1, {{I2C_MUX_PCA9548, 0x74, 4} } }, \
- {1, {{I2C_MUX_PCA9548, 0x75, 0} } }, \
- {1, {{I2C_MUX_PCA9548, 0x75, 1} } }, \
- {1, {{I2C_MUX_PCA9548, 0x75, 2} } }, \
- {1, {{I2C_MUX_PCA9548, 0x75, 3} } }, \
- {1, {{I2C_MUX_PCA9548, 0x75, 4} } }, \
- {1, {{I2C_MUX_PCA9548, 0x75, 5} } }, \
- {1, {{I2C_MUX_PCA9548, 0x75, 6} } }, \
- {1, {{I2C_MUX_PCA9548, 0x75, 7} } }, \
- }
-
-#define CONFIG_PCA953X
-
-#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1
-#define CONFIG_ZYNQ_EEPROM_BUS 5
-#define CONFIG_ZYNQ_GEM_EEPROM_ADDR 0x54
-
#define CONFIG_SPD_EEPROM
#define CONFIG_DDR_SPD
#define __CONFIG_ZYNQMP_ZCU104_H
#define CONFIG_ZYNQ_SDHCI1
-#define CONFIG_SYS_I2C_MAX_HOPS 1
-#define CONFIG_SYS_NUM_I2C_BUSES 9
-#define CONFIG_SYS_I2C_BUSES { \
- {0, {I2C_NULL_HOP} }, \
- {0, {{I2C_MUX_PCA9548, 0x74, 0} } }, \
- {0, {{I2C_MUX_PCA9548, 0x74, 1} } }, \
- {0, {{I2C_MUX_PCA9548, 0x74, 2} } }, \
- {0, {{I2C_MUX_PCA9548, 0x74, 3} } }, \
- {0, {{I2C_MUX_PCA9548, 0x74, 4} } }, \
- {0, {{I2C_MUX_PCA9548, 0x74, 5} } }, \
- {0, {{I2C_MUX_PCA9548, 0x74, 6} } }, \
- {0, {{I2C_MUX_PCA9548, 0x74, 7} } }, \
- }
-
-#define CONFIG_PCA953X
-
-#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1
#include <configs/xilinx_zynqmp.h>
#include <configs/xilinx_zynqmp_zcu104.h>
-#define CONFIG_ZYNQ_GEM_EEPROM_ADDR 0x54
-#define CONFIG_ZYNQ_EEPROM_BUS 1
-
#endif /* __CONFIG_ZYNQMP_ZCU104_REVC_H */
#define __CONFIG_ZYNQMP_ZCU106_H
#define CONFIG_ZYNQ_SDHCI1
-#define CONFIG_SYS_I2C_MAX_HOPS 1
-#define CONFIG_SYS_NUM_I2C_BUSES 18
-#define CONFIG_SYS_I2C_BUSES { \
- {0, {I2C_NULL_HOP} }, \
- {0, {{I2C_MUX_PCA9544, 0x75, 0} } }, \
- {0, {{I2C_MUX_PCA9544, 0x75, 1} } }, \
- {0, {{I2C_MUX_PCA9544, 0x75, 2} } }, \
- {1, {I2C_NULL_HOP} }, \
- {1, {{I2C_MUX_PCA9548, 0x74, 0} } }, \
- {1, {{I2C_MUX_PCA9548, 0x74, 1} } }, \
- {1, {{I2C_MUX_PCA9548, 0x74, 2} } }, \
- {1, {{I2C_MUX_PCA9548, 0x74, 3} } }, \
- {1, {{I2C_MUX_PCA9548, 0x74, 4} } }, \
- {1, {{I2C_MUX_PCA9548, 0x75, 0} } }, \
- {1, {{I2C_MUX_PCA9548, 0x75, 1} } }, \
- {1, {{I2C_MUX_PCA9548, 0x75, 2} } }, \
- {1, {{I2C_MUX_PCA9548, 0x75, 3} } }, \
- {1, {{I2C_MUX_PCA9548, 0x75, 4} } }, \
- {1, {{I2C_MUX_PCA9548, 0x75, 5} } }, \
- {1, {{I2C_MUX_PCA9548, 0x75, 6} } }, \
- {1, {{I2C_MUX_PCA9548, 0x75, 7} } }, \
- }
-
-#define CONFIG_PCA953X
-
-#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1
-#define CONFIG_ZYNQ_EEPROM_BUS 5
-#define CONFIG_ZYNQ_GEM_EEPROM_ADDR 0x54
#include <configs/xilinx_zynqmp.h>
#define __CONFIG_ZYNQMP_ZCU111_H
#define CONFIG_ZYNQ_SDHCI1
-#define CONFIG_SYS_I2C_MAX_HOPS 1
-#define CONFIG_SYS_NUM_I2C_BUSES 21
-#define CONFIG_SYS_I2C_BUSES { \
- {0, {I2C_NULL_HOP} }, \
- {0, {{I2C_MUX_PCA9544, 0x75, 0} } }, \
- {0, {{I2C_MUX_PCA9544, 0x75, 1} } }, \
- {0, {{I2C_MUX_PCA9544, 0x75, 2} } }, \
- {0, {{I2C_MUX_PCA9544, 0x75, 3} } }, \
- {1, {I2C_NULL_HOP} }, \
- {1, {{I2C_MUX_PCA9548, 0x74, 0} } }, \
- {1, {{I2C_MUX_PCA9548, 0x74, 1} } }, \
- {1, {{I2C_MUX_PCA9548, 0x74, 2} } }, \
- {1, {{I2C_MUX_PCA9548, 0x74, 3} } }, \
- {1, {{I2C_MUX_PCA9548, 0x74, 4} } }, \
- {1, {{I2C_MUX_PCA9548, 0x74, 5} } }, \
- {1, {{I2C_MUX_PCA9548, 0x74, 6} } }, \
- {1, {{I2C_MUX_PCA9548, 0x75, 0} } }, \
- {1, {{I2C_MUX_PCA9548, 0x75, 1} } }, \
- {1, {{I2C_MUX_PCA9548, 0x75, 2} } }, \
- {1, {{I2C_MUX_PCA9548, 0x75, 3} } }, \
- {1, {{I2C_MUX_PCA9548, 0x75, 4} } }, \
- {1, {{I2C_MUX_PCA9548, 0x75, 5} } }, \
- {1, {{I2C_MUX_PCA9548, 0x75, 6} } }, \
- {1, {{I2C_MUX_PCA9548, 0x75, 7} } }, \
- }
-
-#define CONFIG_PCA953X
-
-#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1
-#define CONFIG_ZYNQ_EEPROM_BUS 5
-#define CONFIG_ZYNQ_GEM_EEPROM_ADDR 0x54
#include <configs/xilinx_zynqmp.h>