Commit de55fc5d authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

enabled i2c0

parent 1b77d470
......@@ -15,6 +15,7 @@
aliases {
serial0 = &uart0;
mmc0 = &sdhci0;
i2c0 = &i2c0;
};
chosen {
......@@ -36,3 +37,8 @@
u-boot,dm-pre-reloc;
status = "okay";
};
&i2c0 {
status = "okay";
clock-frequency = <400000>;
};
......@@ -17,4 +17,7 @@ CONFIG_SPI_FLASH_STMICRO=n
CONFIG_SPI_FLASH_WINBOND=n
CONFIG_ZYNQ_GEM=y
CONFIG_ZYNQ_QSPI=n
CONFIG_CMD_NAND=y
\ No newline at end of file
CONFIG_CMD_NAND=y
# CONFIG_CMD_I2C=y
CONFIG_DM_I2C=n
......@@ -70,7 +70,10 @@
/*redefined in zynq-common.h*/
/*#undef CONFIG_CMD_NAND*/
#define CONFIG_ZYNQ_I2C0
#include <configs/zynq-common.h>
#undef CONFIG_SYS_PROMPT
#undef CONFIG_BOOTDELAY
#undef CONFIG_EXTRA_ENV_SETTINGS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment