uboot-sunxi: bump u-boot version - update u-boot to 2014.01-rc1 - smp support on a20
[openwrt/openwrt.git] / target / linux / sunxi / patches-3.12 / 132-add-dt-i2c-for-olinuxino-a20.patch
1 From 45cfefedb2886fac4a7f18c1720310ea9792ea4c Mon Sep 17 00:00:00 2001
2 From: Maxime Ripard <maxime.ripard@free-electrons.com>
3 Date: Sat, 31 Aug 2013 23:14:19 +0200
4 Subject: [PATCH] ARM: sun7i: olinuxino-micro: Enable the I2C controllers
5
6 The A20-olinuxino-micro uses the first three I2C controllers found on
7 the A20. Enable them in the DT.
8
9 Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
10 ---
11 arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts | 18 ++++++++++++++++++
12 1 file changed, 18 insertions(+)
13
14 diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts b/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
15 index 9e77855..ead3013 100644
16 --- a/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
17 +++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
18 @@ -60,6 +60,24 @@
19 pinctrl-0 = <&uart7_pins_a>;
20 status = "okay";
21 };
22 +
23 + i2c0: i2c@01c2ac00 {
24 + pinctrl-names = "default";
25 + pinctrl-0 = <&i2c0_pins_a>;
26 + status = "okay";
27 + };
28 +
29 + i2c1: i2c@01c2b000 {
30 + pinctrl-names = "default";
31 + pinctrl-0 = <&i2c1_pins_a>;
32 + status = "okay";
33 + };
34 +
35 + i2c2: i2c@01c2b400 {
36 + pinctrl-names = "default";
37 + pinctrl-0 = <&i2c2_pins_a>;
38 + status = "okay";
39 + };
40 };
41
42 leds {
43 --
44 1.8.4
45