summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2013-09-01 01:12:58 +0400
committerMaxime Ripard <maxime.ripard@free-electrons.com>2013-09-18 20:35:38 +0400
commitce0106c5bbf689949c752b2a389ee82721c0e5d6 (patch)
tree38e5043c6151cc12606547eaf1e0fd248f0d8f5f /arch/arm
parente5496a31d99c01b156522ce9877632db7c82257b (diff)
downloadlinux-ce0106c5bbf689949c752b2a389ee82721c0e5d6.tar.xz
ARM: sun7i: cubieboard2: Enable the I2C controllers
The Cubieboard2 uses both the i2c0 and i2c1 controllers. Enable them in the DT. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/sun7i-a20-cubieboard2.dts12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts b/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts
index 15e625eca312..5c51cb8a98b0 100644
--- a/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts
+++ b/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts
@@ -48,6 +48,18 @@
pinctrl-0 = <&uart0_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";
+ };
};
leds {