f58bfd1df4
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 38811
46 lines
1.2 KiB
Diff
46 lines
1.2 KiB
Diff
From 45cfefedb2886fac4a7f18c1720310ea9792ea4c Mon Sep 17 00:00:00 2001
|
|
From: Maxime Ripard <maxime.ripard@free-electrons.com>
|
|
Date: Sat, 31 Aug 2013 23:14:19 +0200
|
|
Subject: [PATCH] ARM: sun7i: olinuxino-micro: Enable the I2C controllers
|
|
|
|
The A20-olinuxino-micro uses the first three I2C controllers found on
|
|
the A20. Enable them in the DT.
|
|
|
|
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
|
|
---
|
|
arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts | 18 ++++++++++++++++++
|
|
1 file changed, 18 insertions(+)
|
|
|
|
diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts b/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
|
|
index 9e77855..ead3013 100644
|
|
--- a/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
|
|
+++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
|
|
@@ -60,6 +60,24 @@
|
|
pinctrl-0 = <&uart7_pins_a>;
|
|
status = "okay";
|
|
};
|
|
+
|
|
+ i2c0: i2c@01c2ac00 {
|
|
+ pinctrl-names = "default";
|
|
+ pinctrl-0 = <&i2c0_pins_a>;
|
|
+ status = "okay";
|
|
+ };
|
|
+
|
|
+ i2c1: i2c@01c2b000 {
|
|
+ pinctrl-names = "default";
|
|
+ pinctrl-0 = <&i2c1_pins_a>;
|
|
+ status = "okay";
|
|
+ };
|
|
+
|
|
+ i2c2: i2c@01c2b400 {
|
|
+ pinctrl-names = "default";
|
|
+ pinctrl-0 = <&i2c2_pins_a>;
|
|
+ status = "okay";
|
|
+ };
|
|
};
|
|
|
|
leds {
|
|
--
|
|
1.8.4
|
|
|