aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-05-10 03:02:10 -0400
committerShawn Guo <shawn.guo@linaro.org>2012-05-12 20:27:45 -0400
commit2a96e3912b8d79f0bde45a5d657d48595cc7261c (patch)
treebb0279eef9762a99cc314f56b32c407bb107d61c
parentb2378668489d16eb1a1ac722e84cc6a9a1513ba0 (diff)
ARM: dts: enable i2c device for imx28-evk
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
-rw-r--r--arch/arm/boot/dts/imx28-evk.dts6
-rw-r--r--arch/arm/boot/dts/imx28.dtsi14
2 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx28-evk.dts b/arch/arm/boot/dts/imx28-evk.dts
index 2b7c68e52e64..0b8eeb559906 100644
--- a/arch/arm/boot/dts/imx28-evk.dts
+++ b/arch/arm/boot/dts/imx28-evk.dts
@@ -41,6 +41,12 @@
41 }; 41 };
42 42
43 apbx@80040000 { 43 apbx@80040000 {
44 i2c0: i2c@80058000 {
45 pinctrl-names = "default";
46 pinctrl-0 = <&i2c0_pins_a>;
47 status = "okay";
48 };
49
44 duart: serial@80074000 { 50 duart: serial@80074000 {
45 pinctrl-names = "default"; 51 pinctrl-names = "default";
46 pinctrl-0 = <&duart_pins_a>; 52 pinctrl-0 = <&duart_pins_a>;
diff --git a/arch/arm/boot/dts/imx28.dtsi b/arch/arm/boot/dts/imx28.dtsi
index 8596bdf9c19e..fd73fc24e26e 100644
--- a/arch/arm/boot/dts/imx28.dtsi
+++ b/arch/arm/boot/dts/imx28.dtsi
@@ -204,6 +204,14 @@
204 fsl,drive-strength = <2>; 204 fsl,drive-strength = <2>;
205 fsl,pull-up = <0>; 205 fsl,pull-up = <0>;
206 }; 206 };
207
208 i2c0_pins_a: i2c0@0 {
209 reg = <0>;
210 fsl,pinmux-ids = <0x3180 0x3190>;
211 fsl,drive-strength = <1>;
212 fsl,voltage = <1>;
213 fsl,pull-up = <1>;
214 };
207 }; 215 };
208 216
209 digctl@8001c000 { 217 digctl@8001c000 {
@@ -345,12 +353,18 @@
345 }; 353 };
346 354
347 i2c0: i2c@80058000 { 355 i2c0: i2c@80058000 {
356 #address-cells = <1>;
357 #size-cells = <0>;
358 compatible = "fsl,imx28-i2c";
348 reg = <0x80058000 2000>; 359 reg = <0x80058000 2000>;
349 interrupts = <111 68>; 360 interrupts = <111 68>;
350 status = "disabled"; 361 status = "disabled";
351 }; 362 };
352 363
353 i2c1: i2c@8005a000 { 364 i2c1: i2c@8005a000 {
365 #address-cells = <1>;
366 #size-cells = <0>;
367 compatible = "fsl,imx28-i2c";
354 reg = <0x8005a000 2000>; 368 reg = <0x8005a000 2000>;
355 interrupts = <110 69>; 369 interrupts = <110 69>;
356 status = "disabled"; 370 status = "disabled";