Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
2a96e391
Commit
2a96e391
authored
May 10, 2012
by
Shawn Guo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARM: dts: enable i2c device for imx28-evk
Signed-off-by:
Shawn Guo
<
shawn.guo@linaro.org
>
parent
b2378668
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
arch/arm/boot/dts/imx28-evk.dts
arch/arm/boot/dts/imx28-evk.dts
+6
-0
arch/arm/boot/dts/imx28.dtsi
arch/arm/boot/dts/imx28.dtsi
+14
-0
No files found.
arch/arm/boot/dts/imx28-evk.dts
View file @
2a96e391
...
...
@@ -41,6 +41,12 @@ ssp1: ssp@80012000 {
};
apbx
@
80040000
{
i2c0
:
i2c
@
80058000
{
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
i2c0_pins_a
>;
status
=
"okay"
;
};
duart
:
serial
@
80074000
{
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
duart_pins_a
>;
...
...
arch/arm/boot/dts/imx28.dtsi
View file @
2a96e391
...
...
@@ -204,6 +204,14 @@ mmc0_sck_cfg: mmc0-sck-cfg {
fsl,drive-strength = <2>;
fsl,pull-up = <0>;
};
i2c0_pins_a: i2c0@0 {
reg = <0>;
fsl,pinmux-ids = <0x3180 0x3190>;
fsl,drive-strength = <1>;
fsl,voltage = <1>;
fsl,pull-up = <1>;
};
};
digctl@8001c000 {
...
...
@@ -345,12 +353,18 @@ rtc@80056000 {
};
i2c0: i2c@80058000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "fsl,imx28-i2c";
reg = <0x80058000 2000>;
interrupts = <111 68>;
status = "disabled";
};
i2c1: i2c@8005a000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "fsl,imx28-i2c";
reg = <0x8005a000 2000>;
interrupts = <110 69>;
status = "disabled";
...
...
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