From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
To: Geert Uytterhoeven <geert+renesas@glider.be>,
Wolfram Sang <wsa+renesas@sang-engineering.com>,
Rob Herring <robh+dt@kernel.org>,
Wolfgang Grandegger <wg@grandegger.com>,
Marc Kleine-Budde <mkl@pengutronix.de>,
"David S. Miller" <davem@davemloft.net>,
Jakub Kicinski <kuba@kernel.org>, Mark Brown <broonie@kernel.org>,
Niklas <niklas.soderlund@ragnatech.se>,
Zhang Rui <rui.zhang@intel.com>,
Wim Van Sebroeck <wim@linux-watchdog.org>,
Guenter Roeck <linux@roeck-us.net>,
Magnus Damm <magnus.damm@gmail.com>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>,
Amit Kucheria <amit.kucheria@verdurent.com>,
Thomas Gleixner <tglx@linutronix.de>,
Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>,
linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org, linux-can@vger.kernel.org,
netdev@vger.kernel.org, linux-spi@vger.kernel.org,
linux-renesas-soc@vger.kernel.org, linux-pm@vger.kernel.org,
linux-watchdog@vger.kernel.org,
Prabhakar <prabhakar.csengg@gmail.com>,
Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Subject: [PATCH 13/20] arm64: dts: renesas: r8a774e1: Add I2C and IIC-DVFS support
Date: Wed, 15 Jul 2020 12:09:03 +0100 [thread overview]
Message-ID: <1594811350-14066-14-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> (raw)
In-Reply-To: <1594811350-14066-1-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com>
Add the I2C[0-6] and IIC Bus Interface for DVFS (IIC for DVFS)
devices nodes to the r8a774e1 device tree.
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
---
arch/arm64/boot/dts/renesas/r8a774e1.dtsi | 119 +++++++++++++++++++++-
1 file changed, 116 insertions(+), 3 deletions(-)
diff --git a/arch/arm64/boot/dts/renesas/r8a774e1.dtsi b/arch/arm64/boot/dts/renesas/r8a774e1.dtsi
index 7650152b695b..e221c03bdd87 100644
--- a/arch/arm64/boot/dts/renesas/r8a774e1.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a774e1.dtsi
@@ -607,22 +607,135 @@
status = "disabled";
};
+ i2c0: i2c@e6500000 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ compatible = "renesas,i2c-r8a774e1",
+ "renesas,rcar-gen3-i2c";
+ reg = <0 0xe6500000 0 0x40>;
+ interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cpg CPG_MOD 931>;
+ power-domains = <&sysc R8A774E1_PD_ALWAYS_ON>;
+ resets = <&cpg 931>;
+ dmas = <&dmac1 0x91>, <&dmac1 0x90>,
+ <&dmac2 0x91>, <&dmac2 0x90>;
+ dma-names = "tx", "rx", "tx", "rx";
+ i2c-scl-internal-delay-ns = <110>;
+ status = "disabled";
+ };
+
+ i2c1: i2c@e6508000 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ compatible = "renesas,i2c-r8a774e1",
+ "renesas,rcar-gen3-i2c";
+ reg = <0 0xe6508000 0 0x40>;
+ interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cpg CPG_MOD 930>;
+ power-domains = <&sysc R8A774E1_PD_ALWAYS_ON>;
+ resets = <&cpg 930>;
+ dmas = <&dmac1 0x93>, <&dmac1 0x92>,
+ <&dmac2 0x93>, <&dmac2 0x92>;
+ dma-names = "tx", "rx", "tx", "rx";
+ i2c-scl-internal-delay-ns = <6>;
+ status = "disabled";
+ };
+
i2c2: i2c@e6510000 {
- reg = <0 0xe6510000 0 0x40>;
#address-cells = <1>;
#size-cells = <0>;
+ compatible = "renesas,i2c-r8a774e1",
+ "renesas,rcar-gen3-i2c";
+ reg = <0 0xe6510000 0 0x40>;
+ interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cpg CPG_MOD 929>;
+ power-domains = <&sysc R8A774E1_PD_ALWAYS_ON>;
+ resets = <&cpg 929>;
+ dmas = <&dmac1 0x95>, <&dmac1 0x94>,
+ <&dmac2 0x95>, <&dmac2 0x94>;
+ dma-names = "tx", "rx", "tx", "rx";
+ i2c-scl-internal-delay-ns = <6>;
status = "disabled";
+ };
- /* placeholder */
+ i2c3: i2c@e66d0000 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ compatible = "renesas,i2c-r8a774e1",
+ "renesas,rcar-gen3-i2c";
+ reg = <0 0xe66d0000 0 0x40>;
+ interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cpg CPG_MOD 928>;
+ power-domains = <&sysc R8A774E1_PD_ALWAYS_ON>;
+ resets = <&cpg 928>;
+ dmas = <&dmac0 0x97>, <&dmac0 0x96>;
+ dma-names = "tx", "rx";
+ i2c-scl-internal-delay-ns = <110>;
+ status = "disabled";
};
i2c4: i2c@e66d8000 {
#address-cells = <1>;
#size-cells = <0>;
+ compatible = "renesas,i2c-r8a774e1",
+ "renesas,rcar-gen3-i2c";
reg = <0 0xe66d8000 0 0x40>;
+ interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cpg CPG_MOD 927>;
+ power-domains = <&sysc R8A774E1_PD_ALWAYS_ON>;
+ resets = <&cpg 927>;
+ dmas = <&dmac0 0x99>, <&dmac0 0x98>;
+ dma-names = "tx", "rx";
+ i2c-scl-internal-delay-ns = <110>;
status = "disabled";
+ };
- /* placeholder */
+ i2c5: i2c@e66e0000 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ compatible = "renesas,i2c-r8a774e1",
+ "renesas,rcar-gen3-i2c";
+ reg = <0 0xe66e0000 0 0x40>;
+ interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cpg CPG_MOD 919>;
+ power-domains = <&sysc R8A774E1_PD_ALWAYS_ON>;
+ resets = <&cpg 919>;
+ dmas = <&dmac0 0x9b>, <&dmac0 0x9a>;
+ dma-names = "tx", "rx";
+ i2c-scl-internal-delay-ns = <110>;
+ status = "disabled";
+ };
+
+ i2c6: i2c@e66e8000 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ compatible = "renesas,i2c-r8a774e1",
+ "renesas,rcar-gen3-i2c";
+ reg = <0 0xe66e8000 0 0x40>;
+ interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cpg CPG_MOD 918>;
+ power-domains = <&sysc R8A774E1_PD_ALWAYS_ON>;
+ resets = <&cpg 918>;
+ dmas = <&dmac0 0x9d>, <&dmac0 0x9c>;
+ dma-names = "tx", "rx";
+ i2c-scl-internal-delay-ns = <6>;
+ status = "disabled";
+ };
+
+ i2c_dvfs: i2c@e60b0000 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ compatible = "renesas,iic-r8a774e1",
+ "renesas,rcar-gen3-iic",
+ "renesas,rmobile-iic";
+ reg = <0 0xe60b0000 0 0x425>;
+ interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cpg CPG_MOD 926>;
+ power-domains = <&sysc R8A774E1_PD_ALWAYS_ON>;
+ resets = <&cpg 926>;
+ dmas = <&dmac0 0x11>, <&dmac0 0x10>;
+ dma-names = "tx", "rx";
+ status = "disabled";
};
hscif0: serial@e6540000 {
--
2.17.1
next prev parent reply other threads:[~2020-07-15 11:11 UTC|newest]
Thread overview: 67+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-15 11:08 [PATCH 00/20] Add support for [H]SCIF/TMU/CMT/THS/SDHI/MSIOF/CAN[FD]/I2C/IIC/RWDT on R8A774E1 Lad Prabhakar
2020-07-15 11:08 ` [PATCH 01/20] arm64: dts: renesas: r8a774e1: Add operating points Lad Prabhakar
2020-07-16 15:38 ` Geert Uytterhoeven
2020-07-15 11:08 ` [PATCH 02/20] dt-bindings: thermal: rcar-gen3-thermal: Add r8a774e1 support Lad Prabhakar
2020-07-16 14:16 ` Geert Uytterhoeven
2020-07-17 13:22 ` Niklas
2020-07-21 2:42 ` Rob Herring
2020-08-27 16:52 ` Lad, Prabhakar
2020-09-19 11:05 ` Lad, Prabhakar
2020-09-19 11:25 ` Daniel Lezcano
2020-07-15 11:08 ` [PATCH 03/20] thermal: rcar_gen3_thermal: " Lad Prabhakar
2020-07-16 14:37 ` Geert Uytterhoeven
2020-07-17 4:44 ` Daniel Lezcano
2020-07-17 13:23 ` Niklas
2020-07-15 11:08 ` [PATCH 04/20] arm64: dts: renesas: r8a774e1: Add RZ/G2H thermal support Lad Prabhakar
2020-07-16 15:38 ` Geert Uytterhoeven
2020-07-15 11:08 ` [PATCH 05/20] dt-bindings: timer: renesas,cmt: Document r8a774e1 CMT support Lad Prabhakar
2020-07-16 14:17 ` Geert Uytterhoeven
2020-07-21 2:42 ` Rob Herring
2020-08-27 17:00 ` Lad, Prabhakar
2020-09-19 11:00 ` Lad, Prabhakar
2020-09-19 11:13 ` Daniel Lezcano
2020-09-27 9:27 ` [tip: timers/core] " tip-bot2 for Lad Prabhakar
2020-07-15 11:08 ` [PATCH 06/20] arm64: dts: renesas: r8a774e1: Add CMT device nodes Lad Prabhakar
2020-07-16 15:38 ` Geert Uytterhoeven
2020-07-15 11:08 ` [PATCH 07/20] dt-bindings: timer: renesas,tmu: Document r8a774e1 bindings Lad Prabhakar
2020-07-16 14:24 ` Geert Uytterhoeven
2020-07-15 11:08 ` [PATCH 08/20] arm64: dts: renesas: r8a774e1: Add TMU device nodes Lad Prabhakar
2020-07-16 15:38 ` Geert Uytterhoeven
2020-07-15 11:08 ` [PATCH 09/20] arm64: dts: renesas: r8a774e1: Add SCIF and HSCIF nodes Lad Prabhakar
2020-07-16 15:38 ` Geert Uytterhoeven
2020-07-15 11:09 ` [PATCH 10/20] arm64: dts: renesas: r8a774e1: Add SDHI nodes Lad Prabhakar
2020-07-16 15:39 ` Geert Uytterhoeven
2020-07-15 11:09 ` [PATCH 11/20] dt-bindings: i2c: renesas,i2c: Document r8a774e1 support Lad Prabhakar
2020-07-16 14:25 ` Geert Uytterhoeven
2020-07-21 2:44 ` Rob Herring
2020-07-26 12:35 ` Wolfram Sang
2020-07-15 11:09 ` [PATCH 12/20] dt-bindings: i2c: renesas,iic: " Lad Prabhakar
2020-07-16 14:28 ` Geert Uytterhoeven
2020-07-21 2:44 ` Rob Herring
2020-07-26 12:35 ` Wolfram Sang
2020-07-15 11:09 ` Lad Prabhakar [this message]
2020-07-16 15:39 ` [PATCH 13/20] arm64: dts: renesas: r8a774e1: Add I2C and IIC-DVFS support Geert Uytterhoeven
2020-07-15 11:09 ` [PATCH 14/20] dt-bindings: spi: renesas,sh-msiof: Add r8a774e1 support Lad Prabhakar
2020-07-16 14:29 ` Geert Uytterhoeven
2020-07-17 11:59 ` Mark Brown
2020-07-17 12:15 ` Lad, Prabhakar
2020-07-17 12:22 ` Mark Brown
2020-07-21 2:51 ` Rob Herring
2020-07-21 2:51 ` Rob Herring
2020-07-15 11:09 ` [PATCH 15/20] arm64: dts: renesas: r8a774e1: Add MSIOF nodes Lad Prabhakar
2020-07-16 15:39 ` Geert Uytterhoeven
2020-07-15 11:09 ` [PATCH 16/20] dt-bindings: watchdog: renesas,wdt: Document r8a774e1 support Lad Prabhakar
2020-07-16 14:30 ` Geert Uytterhoeven
2020-07-19 13:59 ` Guenter Roeck
2020-07-21 2:52 ` Rob Herring
2020-07-15 11:09 ` [PATCH 17/20] arm64: dts: renesas: r8a774e1: Add RWDT node Lad Prabhakar
2020-07-16 15:39 ` Geert Uytterhoeven
2020-07-15 11:09 ` [PATCH 18/20] dt-bindings: can: rcar_can: Document r8a774e1 support Lad Prabhakar
2020-07-16 14:34 ` Geert Uytterhoeven
2020-07-21 2:52 ` Rob Herring
2020-07-15 11:09 ` [PATCH 19/20] dt-bindings: can: rcar_canfd: " Lad Prabhakar
2020-07-16 14:35 ` Geert Uytterhoeven
2020-07-21 2:53 ` Rob Herring
2020-07-15 11:09 ` [PATCH 20/20] arm64: dts: renesas: r8a774e1: Add CAN[FD] support Lad Prabhakar
2020-07-16 15:39 ` Geert Uytterhoeven
2020-07-20 11:12 ` [PATCH 00/20] Add support for [H]SCIF/TMU/CMT/THS/SDHI/MSIOF/CAN[FD]/I2C/IIC/RWDT on R8A774E1 Mark Brown
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=1594811350-14066-14-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com \
--to=prabhakar.mahadev-lad.rj@bp.renesas.com \
--cc=amit.kucheria@verdurent.com \
--cc=broonie@kernel.org \
--cc=daniel.lezcano@linaro.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=geert+renesas@glider.be \
--cc=kuba@kernel.org \
--cc=laurent.pinchart+renesas@ideasonboard.com \
--cc=linux-can@vger.kernel.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=linux-spi@vger.kernel.org \
--cc=linux-watchdog@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=magnus.damm@gmail.com \
--cc=mkl@pengutronix.de \
--cc=netdev@vger.kernel.org \
--cc=niklas.soderlund@ragnatech.se \
--cc=prabhakar.csengg@gmail.com \
--cc=robh+dt@kernel.org \
--cc=rui.zhang@intel.com \
--cc=tglx@linutronix.de \
--cc=wg@grandegger.com \
--cc=wim@linux-watchdog.org \
--cc=wsa+renesas@sang-engineering.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).