mirror of https://github.com/hak5/openwrt-owl.git
50 lines
1.3 KiB
Diff
50 lines
1.3 KiB
Diff
From 1baebecc2892567373f5f9c3650d21496125af18 Mon Sep 17 00:00:00 2001
|
|
From: Maxime Ripard <maxime.ripard@free-electrons.com>
|
|
Date: Sat, 31 Aug 2013 23:08:49 +0200
|
|
Subject: [PATCH] ARM: sun7i: Add the pin muxing options for the I2C
|
|
controllers
|
|
|
|
The A20 boards we currently have share the same pins for the i2c
|
|
controllers they share. Add them to the DTSI.
|
|
|
|
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
|
|
---
|
|
arch/arm/boot/dts/sun7i-a20.dtsi | 21 +++++++++++++++++++++
|
|
1 file changed, 21 insertions(+)
|
|
|
|
diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
|
|
index 0d0ee15..a6cd039 100644
|
|
--- a/arch/arm/boot/dts/sun7i-a20.dtsi
|
|
+++ b/arch/arm/boot/dts/sun7i-a20.dtsi
|
|
@@ -226,6 +226,27 @@
|
|
allwinner,pull = <0>;
|
|
};
|
|
|
|
+ i2c0_pins_a: i2c0@0 {
|
|
+ allwinner,pins = "PB0", "PB1";
|
|
+ allwinner,function = "i2c0";
|
|
+ allwinner,drive = <0>;
|
|
+ allwinner,pull = <0>;
|
|
+ };
|
|
+
|
|
+ i2c1_pins_a: i2c1@0 {
|
|
+ allwinner,pins = "PB18", "PB19";
|
|
+ allwinner,function = "i2c1";
|
|
+ allwinner,drive = <0>;
|
|
+ allwinner,pull = <0>;
|
|
+ };
|
|
+
|
|
+ i2c2_pins_a: i2c2@0 {
|
|
+ allwinner,pins = "PB20", "PB21";
|
|
+ allwinner,function = "i2c2";
|
|
+ allwinner,drive = <0>;
|
|
+ allwinner,pull = <0>;
|
|
+ };
|
|
+
|
|
emac_pins_a: emac0@0 {
|
|
allwinner,pins = "PA0", "PA1", "PA2",
|
|
"PA3", "PA4", "PA5", "PA6",
|
|
--
|
|
1.8.4
|
|
|