From: Jisheng Zhang <jszhang@marvell.com>
To: sebastian.hesselbarth@gmail.com, robh+dt@kernel.org,
pawel.moll@arm.com, mark.rutland@arm.com,
ijc+devicetree@hellion.org.uk, galak@codeaurora.org,
catalin.marinas@arm.com, will.deacon@arm.com
Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, Jisheng Zhang <jszhang@marvell.com>
Subject: [PATCH 1/2] arm64: dts: berlin4ct: add I2C nodes for BG4CT
Date: Fri, 20 Nov 2015 17:47:00 +0800 [thread overview]
Message-ID: <1448012821-7413-2-git-send-email-jszhang@marvell.com> (raw)
In-Reply-To: <1448012821-7413-1-git-send-email-jszhang@marvell.com>
The Marvell Berlin BG4CT SoC has 4 TWSI which are compatible with the
Synopsys DesignWare I2C driver. Add the corresponding nodes.
Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
---
arch/arm64/boot/dts/marvell/berlin4ct.dtsi | 52 ++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)
diff --git a/arch/arm64/boot/dts/marvell/berlin4ct.dtsi b/arch/arm64/boot/dts/marvell/berlin4ct.dtsi
index cca4c41..39d0676 100644
--- a/arch/arm64/boot/dts/marvell/berlin4ct.dtsi
+++ b/arch/arm64/boot/dts/marvell/berlin4ct.dtsi
@@ -232,6 +232,32 @@
};
};
+ i2c0: i2c@1400 {
+ compatible = "snps,designware-i2c";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <0x1400 0x100>;
+ clocks = <&clk CLK_APBCORE>;
+ i2c-sda-hold-time-ns = <35>;
+ i2c-sda-falling-time-ns = <425>;
+ i2c-scl-falling-time-ns = <205>;
+ interrupts = <4>;
+ status = "disabled";
+ };
+
+ i2c1: i2c@1800 {
+ compatible = "snps,designware-i2c";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <0x1800 0x100>;
+ clocks = <&clk CLK_APBCORE>;
+ i2c-sda-hold-time-ns = <35>;
+ i2c-sda-falling-time-ns = <425>;
+ i2c-scl-falling-time-ns = <205>;
+ interrupts = <5>;
+ status = "disabled";
+ };
+
aic: interrupt-controller@3800 {
compatible = "snps,dw-apb-ictl";
reg = <0x3800 0x30>;
@@ -319,6 +345,32 @@
};
};
+ i2c2: i2c@b000 {
+ compatible = "snps,designware-i2c";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <0xb000 0x100>;
+ clocks = <&osc>;
+ i2c-sda-hold-time-ns = <140>;
+ i2c-sda-falling-time-ns = <500>;
+ i2c-scl-falling-time-ns = <220>;
+ interrupts = <6>;
+ status = "disabled";
+ };
+
+ i2c3: i2c@c000 {
+ compatible = "snps,designware-i2c";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <0xc000 0x100>;
+ clocks = <&osc>;
+ i2c-sda-hold-time-ns = <140>;
+ i2c-sda-falling-time-ns = <500>;
+ i2c-scl-falling-time-ns = <220>;
+ interrupts = <7>;
+ status = "disabled";
+ };
+
uart0: uart@d000 {
compatible = "snps,dw-apb-uart";
reg = <0xd000 0x100>;
--
2.6.2
next prev parent reply other threads:[~2015-11-20 9:47 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-20 9:46 [PATCH 0/2] Add I2C support for Marvell Berlin BG4CT Jisheng Zhang
2015-11-20 9:47 ` Jisheng Zhang [this message]
2015-11-20 21:21 ` [PATCH 1/2] arm64: dts: berlin4ct: add I2C nodes for BG4CT Sebastian Hesselbarth
2015-11-23 2:43 ` Jisheng Zhang
2015-11-20 9:47 ` [PATCH 2/2] arm64: dts: berlin4ct: enable all i2c nodes for the STB board Jisheng Zhang
2015-11-20 21:19 ` Sebastian Hesselbarth
[not found] ` <564F8E64.7020606-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-11-23 2:49 ` Jisheng Zhang
2015-11-23 8:12 ` Sebastian Hesselbarth
[not found] ` <5652CA62.50602-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-11-23 8:17 ` Jisheng Zhang
[not found] ` <1448012821-7413-1-git-send-email-jszhang-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org>
2015-11-20 9:51 ` [PATCH 0/2] Add I2C support for Marvell Berlin BG4CT Jisheng Zhang
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=1448012821-7413-2-git-send-email-jszhang@marvell.com \
--to=jszhang@marvell.com \
--cc=catalin.marinas@arm.com \
--cc=devicetree@vger.kernel.org \
--cc=galak@codeaurora.org \
--cc=ijc+devicetree@hellion.org.uk \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=pawel.moll@arm.com \
--cc=robh+dt@kernel.org \
--cc=sebastian.hesselbarth@gmail.com \
--cc=will.deacon@arm.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).