From: Maxime Ripard <maxime.ripard@free-electrons.com>
To: linux-arm-kernel@lists.infradead.org, Wolfram Sang <wsa@the-dreams.de>
Cc: Emilio Lopez <emilio@elopez.com.ar>,
linux-i2c@vger.kernel.org, kevin@allwinnertech.com,
sunny@allwinnertech.com, shuge@allwinnertech.com,
Maxime Ripard <maxime.ripard@free-electrons.com>,
Russell King <linux@arm.linux.org.uk>,
linux-kernel@vger.kernel.org
Subject: [PATCH 3/5] ARM: sun4i: dt: Add i2c muxing options
Date: Fri, 3 May 2013 11:17:47 +0200 [thread overview]
Message-ID: <1367572669-24354-4-git-send-email-maxime.ripard@free-electrons.com> (raw)
In-Reply-To: <1367572669-24354-1-git-send-email-maxime.ripard@free-electrons.com>
The i2c controller found on the Allwinner A10 has only one muxing option
available for each controller. Add them to the dtsi
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
arch/arm/boot/dts/sun4i-a10.dtsi | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi
index 311dcd4..63f6716 100644
--- a/arch/arm/boot/dts/sun4i-a10.dtsi
+++ b/arch/arm/boot/dts/sun4i-a10.dtsi
@@ -199,6 +199,27 @@
allwinner,drive = <0>;
allwinner,pull = <0>;
};
+
+ i2c0_pins_a: i2c0@0 {
+ allwinner,pins = "PB0", "PB1";
+ allwinner,function = "i2c0";
+ allwinner,drive = <0>;
+ allwinner,pull = <1>;
+ };
+
+ i2c1_pins_a: i2c1@0 {
+ allwinner,pins = "PB18", "PB19";
+ allwinner,function = "i2c1";
+ allwinner,drive = <0>;
+ allwinner,pull = <1>;
+ };
+
+ i2c2_pins_a: i2c2@0 {
+ allwinner,pins = "PB20", "PB21";
+ allwinner,function = "i2c2";
+ allwinner,drive = <0>;
+ allwinner,pull = <1>;
+ };
};
timer@01c20c00 {
--
1.8.1.2
next prev parent reply other threads:[~2013-05-03 9:17 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-03 9:17 [PATCH RESEND 0/5] Add I2C support for Allwinner SoCs Maxime Ripard
2013-05-03 9:17 ` [PATCH 1/5] i2c: sunxi: Add Allwinner A1X i2c driver Maxime Ripard
2013-05-25 12:06 ` Tomasz Figa
2013-05-25 15:22 ` Maxime Ripard
2013-05-03 9:17 ` [PATCH 2/5] ARM: sunxi: dt: Add i2c controller nodes to the DTSI Maxime Ripard
2013-05-03 9:17 ` Maxime Ripard [this message]
2013-05-03 9:17 ` [PATCH 4/5] ARM: sun5i: dt: Add i2c muxing options Maxime Ripard
[not found] ` <1367572669-24354-1-git-send-email-maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2013-05-03 9:17 ` [PATCH 5/5] ARM: sun5i: olinuxino: Enable the i2c controllers Maxime Ripard
2013-05-24 9:58 ` [PATCH RESEND 0/5] Add I2C support for Allwinner SoCs Maxime Ripard
-- strict thread matches above, loose matches on Subject: below --
2013-05-02 10:45 [PATCH " Maxime Ripard
2013-05-02 10:45 ` [PATCH 3/5] ARM: sun4i: dt: Add i2c muxing options Maxime Ripard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1367572669-24354-4-git-send-email-maxime.ripard@free-electrons.com \
--to=maxime.ripard@free-electrons.com \
--cc=emilio@elopez.com.ar \
--cc=kevin@allwinnertech.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=shuge@allwinnertech.com \
--cc=sunny@allwinnertech.com \
--cc=wsa@the-dreams.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).