From: Rahul Sharma <rahul.sharma@samsung.com>
To: linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org
Cc: kgene.kim@samsung.com, sw0312.kim@samsung.com,
inki.dae@samsung.com, tomasz.figa@gmail.com,
s.nawrocki@samsung.com, joshi@samsung.com, r.sh.open@gmail.com,
Andrew Bresticker <abrestic@chromium.org>,
Rahul Sharma <rahul.sharma@samsung.com>
Subject: [PATCH v5 3/6] ARM: dts: add i2c device nodes for Exynos5420
Date: Mon, 26 Aug 2013 15:08:18 +0530 [thread overview]
Message-ID: <1377509901-9467-4-git-send-email-rahul.sharma@samsung.com> (raw)
In-Reply-To: <1377509901-9467-1-git-send-email-rahul.sharma@samsung.com>
From: Andrew Bresticker <abrestic@chromium.org>
This adds device-tree nodes for the i2c busses on Exynos
5420 platforms.
Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
Signed-off-by: Rahul Sharma <rahul.sharma@samsung.com>
---
arch/arm/boot/dts/exynos5420.dtsi | 56 +++++++++++++++++++++++++++++++++++++
1 file changed, 56 insertions(+)
diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi
index 5353e32..05dee86 100644
--- a/arch/arm/boot/dts/exynos5420.dtsi
+++ b/arch/arm/boot/dts/exynos5420.dtsi
@@ -27,6 +27,10 @@
pinctrl2 = &pinctrl_2;
pinctrl3 = &pinctrl_3;
pinctrl4 = &pinctrl_4;
+ i2c0 = &i2c_0;
+ i2c1 = &i2c_1;
+ i2c2 = &i2c_2;
+ i2c3 = &i2c_3;
};
cpus {
@@ -218,4 +222,56 @@
clocks = <&clock 147>, <&clock 421>;
clock-names = "sclk_fimd", "fimd";
};
+
+ i2c_0: i2c@12C60000 {
+ compatible = "samsung,s3c2440-i2c";
+ reg = <0x12C60000 0x100>;
+ interrupts = <0 56 0>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ clocks = <&clock 261>;
+ clock-names = "i2c";
+ pinctrl-names = "default";
+ pinctrl-0 = <&i2c0_bus>;
+ status = "disabled";
+ };
+
+ i2c_1: i2c@12C70000 {
+ compatible = "samsung,s3c2440-i2c";
+ reg = <0x12C70000 0x100>;
+ interrupts = <0 57 0>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ clocks = <&clock 262>;
+ clock-names = "i2c";
+ pinctrl-names = "default";
+ pinctrl-0 = <&i2c1_bus>;
+ status = "disabled";
+ };
+
+ i2c_2: i2c@12C80000 {
+ compatible = "samsung,s3c2440-i2c";
+ reg = <0x12C80000 0x100>;
+ interrupts = <0 58 0>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ clocks = <&clock 263>;
+ clock-names = "i2c";
+ pinctrl-names = "default";
+ pinctrl-0 = <&i2c2_bus>;
+ status = "disabled";
+ };
+
+ i2c_3: i2c@12C90000 {
+ compatible = "samsung,s3c2440-i2c";
+ reg = <0x12C90000 0x100>;
+ interrupts = <0 59 0>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ clocks = <&clock 264>;
+ clock-names = "i2c";
+ pinctrl-names = "default";
+ pinctrl-0 = <&i2c3_bus>;
+ status = "disabled";
+ };
};
--
1.7.10.4
next prev parent reply other threads:[~2013-08-26 9:38 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-26 9:38 [PATCH v5 0/6] ARM: dts: add support for exynos hdmi subsystem Rahul Sharma
2013-08-26 9:38 ` [PATCH v5 1/6] ARM: dts: add mixer clocks to mixer node for Exynos5250 Rahul Sharma
2013-08-26 9:38 ` [PATCH v5 2/6] ARM: dts: add clocks to hdmi dt node for exynos5250 Rahul Sharma
2013-08-26 9:38 ` Rahul Sharma [this message]
2013-08-26 9:38 ` [PATCH v5 4/6] ARM: dts: add dt nodes for exynos5420 hdmi subsystem Rahul Sharma
2013-08-26 23:29 ` Tomasz Figa
2013-08-27 3:56 ` Rahul Sharma
2013-08-26 9:38 ` [PATCH v5 5/6] ARM: dts: add hdmi hpd gpio pinctrl node for exynos5420 Rahul Sharma
2013-08-26 9:38 ` [PATCH v5 6/6] of/documentation: update with clock information for exynos hdmi subsystem Rahul Sharma
2013-08-26 23:40 ` Tomasz Figa
2013-08-27 5:05 ` Rahul Sharma
2013-08-26 23:42 ` [PATCH v5 0/6] ARM: dts: add support " Tomasz Figa
2013-08-27 5:29 ` Rahul Sharma
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=1377509901-9467-4-git-send-email-rahul.sharma@samsung.com \
--to=rahul.sharma@samsung.com \
--cc=abrestic@chromium.org \
--cc=devicetree@vger.kernel.org \
--cc=inki.dae@samsung.com \
--cc=joshi@samsung.com \
--cc=kgene.kim@samsung.com \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=r.sh.open@gmail.com \
--cc=s.nawrocki@samsung.com \
--cc=sw0312.kim@samsung.com \
--cc=tomasz.figa@gmail.com \
/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).