Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ezynq
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
ezynq
Commits
de55fc5d
Commit
de55fc5d
authored
Jul 14, 2016
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
enabled i2c0
parent
1b77d470
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
1 deletion
+13
-1
elphel393.dts
u-boot-tree/arch/arm/dts/elphel393.dts
+6
-0
elphel393_defconfig
u-boot-tree/configs/elphel393_defconfig
+4
-1
elphel393.h
u-boot-tree/include/configs/elphel393.h
+3
-0
No files found.
u-boot-tree/arch/arm/dts/elphel393.dts
View file @
de55fc5d
...
@@ -15,6 +15,7 @@
...
@@ -15,6 +15,7 @@
aliases
{
aliases
{
serial0
=
&
uart0
;
serial0
=
&
uart0
;
mmc0
=
&
sdhci0
;
mmc0
=
&
sdhci0
;
i2c0
=
&
i2c0
;
};
};
chosen
{
chosen
{
...
@@ -36,3 +37,8 @@
...
@@ -36,3 +37,8 @@
u
-
boot
,
dm
-
pre
-
reloc
;
u
-
boot
,
dm
-
pre
-
reloc
;
status
=
"okay"
;
status
=
"okay"
;
};
};
&
i2c0
{
status
=
"okay"
;
clock
-
frequency
=
<
400000
>;
};
u-boot-tree/configs/elphel393_defconfig
View file @
de55fc5d
...
@@ -17,4 +17,7 @@ CONFIG_SPI_FLASH_STMICRO=n
...
@@ -17,4 +17,7 @@ CONFIG_SPI_FLASH_STMICRO=n
CONFIG_SPI_FLASH_WINBOND=n
CONFIG_SPI_FLASH_WINBOND=n
CONFIG_ZYNQ_GEM=y
CONFIG_ZYNQ_GEM=y
CONFIG_ZYNQ_QSPI=n
CONFIG_ZYNQ_QSPI=n
CONFIG_CMD_NAND=y
CONFIG_CMD_NAND=y
\ No newline at end of file
# CONFIG_CMD_I2C=y
CONFIG_DM_I2C=n
u-boot-tree/include/configs/elphel393.h
View file @
de55fc5d
...
@@ -70,7 +70,10 @@
...
@@ -70,7 +70,10 @@
/*redefined in zynq-common.h*/
/*redefined in zynq-common.h*/
/*#undef CONFIG_CMD_NAND*/
/*#undef CONFIG_CMD_NAND*/
#define CONFIG_ZYNQ_I2C0
#include <configs/zynq-common.h>
#include <configs/zynq-common.h>
#undef CONFIG_SYS_PROMPT
#undef CONFIG_SYS_PROMPT
#undef CONFIG_BOOTDELAY
#undef CONFIG_BOOTDELAY
#undef CONFIG_EXTRA_ENV_SETTINGS
#undef CONFIG_EXTRA_ENV_SETTINGS
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment