All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Horman <horms+renesas@verge.net.au>
To: linux-renesas-soc@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org,
	Magnus Damm <magnus.damm@gmail.com>,
	Fabrizio Castro <fabrizio.castro@bp.renesas.com>,
	Simon Horman <horms+renesas@verge.net.au>
Subject: [PATCH 02/16] ARM: dts: r8a77470: Add I2C[0123] support
Date: Wed, 28 Nov 2018 14:03:04 +0100	[thread overview]
Message-ID: <4f94af57237ad1c9c6328b468fd8fbbd19c2fb78.1543409901.git.horms+renesas@verge.net.au> (raw)
In-Reply-To: <cover.1543409901.git.horms+renesas@verge.net.au>

From: Fabrizio Castro <fabrizio.castro@bp.renesas.com>

Add device tree nodes for the I2C[0123] controllers. Also, add
the aliases node.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a77470.dtsi | 64 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 64 insertions(+)

diff --git a/arch/arm/boot/dts/r8a77470.dtsi b/arch/arm/boot/dts/r8a77470.dtsi
index 9ec78d3d0ca8..9611a936e1b8 100644
--- a/arch/arm/boot/dts/r8a77470.dtsi
+++ b/arch/arm/boot/dts/r8a77470.dtsi
@@ -14,6 +14,14 @@
 	#address-cells = <2>;
 	#size-cells = <2>;
 
+	aliases {
+		i2c0 = &i2c0;
+		i2c1 = &i2c1;
+		i2c2 = &i2c2;
+		i2c3 = &i2c3;
+		i2c4 = &i2c4;
+	};
+
 	cpus {
 		#address-cells = <1>;
 		#size-cells = <0>;
@@ -237,6 +245,62 @@
 			reg = <0 0xe6300000 0 0x20000>;
 		};
 
+		i2c0: i2c@e6508000 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "renesas,i2c-r8a77470",
+				     "renesas,rcar-gen2-i2c";
+			reg = <0 0xe6508000 0 0x40>;
+			interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 931>;
+			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
+			resets = <&cpg 931>;
+			i2c-scl-internal-delay-ns = <6>;
+			status = "disabled";
+		};
+
+		i2c1: i2c@e6518000 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "renesas,i2c-r8a77470",
+				     "renesas,rcar-gen2-i2c";
+			reg = <0 0xe6518000 0 0x40>;
+			interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 930>;
+			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
+			resets = <&cpg 930>;
+			i2c-scl-internal-delay-ns = <6>;
+			status = "disabled";
+		};
+
+		i2c2: i2c@e6530000 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "renesas,i2c-r8a77470",
+				     "renesas,rcar-gen2-i2c";
+			reg = <0 0xe6530000 0 0x40>;
+			interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 929>;
+			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
+			resets = <&cpg 929>;
+			i2c-scl-internal-delay-ns = <6>;
+			status = "disabled";
+		};
+
+		i2c3: i2c@e6540000 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "renesas,i2c-r8a77470",
+				     "renesas,rcar-gen2-i2c";
+			reg = <0 0xe6540000 0 0x40>;
+			interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 928>;
+			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
+			resets = <&cpg 928>;
+			i2c-scl-internal-delay-ns = <6>;
+			status = "disabled";
+		};
+
 		i2c4: i2c@e6520000 {
 			#address-cells = <1>;
 			#size-cells = <0>;
-- 
2.11.0

WARNING: multiple messages have this Message-ID (diff)
From: horms+renesas@verge.net.au (Simon Horman)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 02/16] ARM: dts: r8a77470: Add I2C[0123] support
Date: Wed, 28 Nov 2018 14:03:04 +0100	[thread overview]
Message-ID: <4f94af57237ad1c9c6328b468fd8fbbd19c2fb78.1543409901.git.horms+renesas@verge.net.au> (raw)
In-Reply-To: <cover.1543409901.git.horms+renesas@verge.net.au>

From: Fabrizio Castro <fabrizio.castro@bp.renesas.com>

Add device tree nodes for the I2C[0123] controllers. Also, add
the aliases node.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a77470.dtsi | 64 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 64 insertions(+)

diff --git a/arch/arm/boot/dts/r8a77470.dtsi b/arch/arm/boot/dts/r8a77470.dtsi
index 9ec78d3d0ca8..9611a936e1b8 100644
--- a/arch/arm/boot/dts/r8a77470.dtsi
+++ b/arch/arm/boot/dts/r8a77470.dtsi
@@ -14,6 +14,14 @@
 	#address-cells = <2>;
 	#size-cells = <2>;
 
+	aliases {
+		i2c0 = &i2c0;
+		i2c1 = &i2c1;
+		i2c2 = &i2c2;
+		i2c3 = &i2c3;
+		i2c4 = &i2c4;
+	};
+
 	cpus {
 		#address-cells = <1>;
 		#size-cells = <0>;
@@ -237,6 +245,62 @@
 			reg = <0 0xe6300000 0 0x20000>;
 		};
 
+		i2c0: i2c at e6508000 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "renesas,i2c-r8a77470",
+				     "renesas,rcar-gen2-i2c";
+			reg = <0 0xe6508000 0 0x40>;
+			interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 931>;
+			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
+			resets = <&cpg 931>;
+			i2c-scl-internal-delay-ns = <6>;
+			status = "disabled";
+		};
+
+		i2c1: i2c at e6518000 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "renesas,i2c-r8a77470",
+				     "renesas,rcar-gen2-i2c";
+			reg = <0 0xe6518000 0 0x40>;
+			interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 930>;
+			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
+			resets = <&cpg 930>;
+			i2c-scl-internal-delay-ns = <6>;
+			status = "disabled";
+		};
+
+		i2c2: i2c at e6530000 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "renesas,i2c-r8a77470",
+				     "renesas,rcar-gen2-i2c";
+			reg = <0 0xe6530000 0 0x40>;
+			interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 929>;
+			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
+			resets = <&cpg 929>;
+			i2c-scl-internal-delay-ns = <6>;
+			status = "disabled";
+		};
+
+		i2c3: i2c at e6540000 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "renesas,i2c-r8a77470",
+				     "renesas,rcar-gen2-i2c";
+			reg = <0 0xe6540000 0 0x40>;
+			interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 928>;
+			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
+			resets = <&cpg 928>;
+			i2c-scl-internal-delay-ns = <6>;
+			status = "disabled";
+		};
+
 		i2c4: i2c at e6520000 {
 			#address-cells = <1>;
 			#size-cells = <0>;
-- 
2.11.0

  parent reply	other threads:[~2018-11-29  0:05 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-28 13:02 [GIT PULL v2] Renesas ARM Based SoC DT Updates for v4.21 Simon Horman
2018-11-28 13:02 ` Simon Horman
2018-11-28 13:03 ` [PATCH 01/16] ARM: dts: r9a06g032: Add pinctrl node Simon Horman
2018-11-28 13:03   ` Simon Horman
2018-11-28 13:03 ` Simon Horman [this message]
2018-11-28 13:03   ` [PATCH 02/16] ARM: dts: r8a77470: Add I2C[0123] support Simon Horman
2018-11-28 13:03 ` [PATCH 03/16] ARM: dts: r8a77470: Add SDHI0 support Simon Horman
2018-11-28 13:03   ` Simon Horman
2018-11-28 13:03 ` [PATCH 04/16] ARM: dts: r8a77470: Add SDHI1 support Simon Horman
2018-11-28 13:03   ` Simon Horman
2018-11-28 13:03 ` [PATCH 05/16] ARM: dts: iwg23s-sbc: Add uSD and eMMC support Simon Horman
2018-11-28 13:03   ` Simon Horman
2018-11-28 13:03 ` [PATCH 06/16] ARM: dts: r8a779[01]: Disable unconnected LVDS encoders Simon Horman
2018-11-28 13:03   ` Simon Horman
2018-11-28 13:03 ` [PATCH 07/16] ARM: dts: r8a7740, emev2, sh73a0: Include SoC name in DTSI Simon Horman
2018-11-28 13:03   ` Simon Horman
2018-11-28 13:03 ` [PATCH 08/16] ARM: dts: r8a77470: Add watchdog support to SoC dtsi Simon Horman
2018-11-28 13:03   ` Simon Horman
2018-11-28 13:03 ` [PATCH 09/16] ARM: dts: iwg23s-sbc: Enable watchdog support Simon Horman
2018-11-28 13:03   ` Simon Horman
2018-11-28 13:03 ` [PATCH 10/16] ARM: dts: r8a77470: Add USB-DMAC device nodes Simon Horman
2018-11-28 13:03   ` Simon Horman
2018-11-28 13:03 ` [PATCH 11/16] ARM: dts: r8a77470: Add CMT SoC specific support Simon Horman
2018-11-28 13:03   ` Simon Horman
2018-11-28 13:03 ` [PATCH 12/16] ARM: dts: iwg23s-sbc: Enable cmt0 Simon Horman
2018-11-28 13:03   ` Simon Horman
2018-11-28 13:03 ` [PATCH 13/16] ARM: dts: iwg23s-sbc: Add pinctl support for EtherAVB Simon Horman
2018-11-28 13:03   ` Simon Horman
2018-11-28 13:03 ` [PATCH 14/16] ARM: dts: r8a77470: Add QSPI support Simon Horman
2018-11-28 13:03   ` Simon Horman
2018-11-28 13:03 ` [PATCH 15/16] ARM: dts: iwg23s-sbc: Add QSPI flash support Simon Horman
2018-11-28 13:03   ` Simon Horman
2018-11-28 13:03 ` [PATCH 16/16] ARM: dts: r9a06g032: Correct the GIC DT node name Simon Horman
2018-11-28 13:03   ` Simon Horman
2018-11-30 23:08 ` [GIT PULL v2] Renesas ARM Based SoC DT Updates for v4.21 Olof Johansson
2018-11-30 23:08   ` Olof Johansson
2018-12-04 13:37   ` Simon Horman
2018-12-04 13:37     ` Simon Horman
  -- strict thread matches above, loose matches on Subject: below --
2018-11-26 12:53 [GIT PULL] " Simon Horman
2018-11-26 12:54 ` [PATCH 02/16] ARM: dts: r8a77470: Add I2C[0123] support Simon Horman
2018-11-26 12:54   ` Simon Horman

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=4f94af57237ad1c9c6328b468fd8fbbd19c2fb78.1543409901.git.horms+renesas@verge.net.au \
    --to=horms+renesas@verge.net.au \
    --cc=fabrizio.castro@bp.renesas.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.