All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
To: horms@verge.net.au, linux-renesas-soc@vger.kernel.org,
	robh+dt@kernel.org, mark.rutland@arm.com,
	devicetree@vger.kernel.org
Cc: magnus.damm@gmail.com, linux@arm.linux.org.uk,
	linux-arm-kernel@lists.infradead.org
Subject: [PATCH v6 4/7] ARM: dts: r8a7743: add Ether support
Date: Mon, 31 Oct 2016 22:56:36 +0300	[thread overview]
Message-ID: <1507182.SPSiN92QcM@wasted.cogentembedded.com> (raw)
In-Reply-To: <1746536.qobnGdHRfV@wasted.cogentembedded.com>

Define the generic R8A7743 part of the Ether device node.

Based on the original (and large) patch by Dmitry Shifrin
<dmitry.shifrin@cogentembedded.com>.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

---
Changes in version 5:
- refreshed the patch.

Changes in version 4:
- refreshed the patch;
- added Geert's tag.

Changes in version 3:
- resolved a reject;
- updated the "clocks" property for the CPG/MSSR driver.

Changes in version 2:
- new patch.

 arch/arm/boot/dts/r8a7743.dtsi |   12 ++++++++++++
 1 file changed, 12 insertions(+)

Index: renesas/arch/arm/boot/dts/r8a7743.dtsi
===================================================================
--- renesas.orig/arch/arm/boot/dts/r8a7743.dtsi
+++ renesas/arch/arm/boot/dts/r8a7743.dtsi
@@ -418,6 +418,18 @@
 			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
 			status = "disabled";
 		};
+
+		ether: ethernet@ee700000 {
+			compatible = "renesas,ether-r8a7743";
+			reg = <0 0xee700000 0 0x400>;
+			interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 813>;
+			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
+			phy-mode = "rmii";
+			#address-cells = <1>;
+			#size-cells = <0>;
+			status = "disabled";
+		};
 	};
 
 	/* External root clock */

WARNING: multiple messages have this Message-ID (diff)
From: sergei.shtylyov@cogentembedded.com (Sergei Shtylyov)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v6 4/7] ARM: dts: r8a7743: add Ether support
Date: Mon, 31 Oct 2016 22:56:36 +0300	[thread overview]
Message-ID: <1507182.SPSiN92QcM@wasted.cogentembedded.com> (raw)
In-Reply-To: <1746536.qobnGdHRfV@wasted.cogentembedded.com>

Define the generic R8A7743 part of the Ether device node.

Based on the original (and large) patch by Dmitry Shifrin
<dmitry.shifrin@cogentembedded.com>.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

---
Changes in version 5:
- refreshed the patch.

Changes in version 4:
- refreshed the patch;
- added Geert's tag.

Changes in version 3:
- resolved a reject;
- updated the "clocks" property for the CPG/MSSR driver.

Changes in version 2:
- new patch.

 arch/arm/boot/dts/r8a7743.dtsi |   12 ++++++++++++
 1 file changed, 12 insertions(+)

Index: renesas/arch/arm/boot/dts/r8a7743.dtsi
===================================================================
--- renesas.orig/arch/arm/boot/dts/r8a7743.dtsi
+++ renesas/arch/arm/boot/dts/r8a7743.dtsi
@@ -418,6 +418,18 @@
 			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
 			status = "disabled";
 		};
+
+		ether: ethernet at ee700000 {
+			compatible = "renesas,ether-r8a7743";
+			reg = <0 0xee700000 0 0x400>;
+			interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 813>;
+			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
+			phy-mode = "rmii";
+			#address-cells = <1>;
+			#size-cells = <0>;
+			status = "disabled";
+		};
 	};
 
 	/* External root clock */

  parent reply	other threads:[~2016-10-31 19:56 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-31 19:52 [PATCH v6 0/7] Add R8A7743/SK-RZG1M board support Sergei Shtylyov
2016-10-31 19:52 ` Sergei Shtylyov
2016-10-31 19:54 ` [PATCH v6 1/7] ARM: dts: r8a7743: initial SoC device tree Sergei Shtylyov
2016-10-31 19:54   ` Sergei Shtylyov
     [not found] ` <1746536.qobnGdHRfV-gHKXc3Y1Z8zGSmamagVegGFoWSdPRAKMAL8bYrjMMd8@public.gmane.org>
2016-10-31 19:54   ` [PATCH v6 2/7] ARM: dts: r8a7743: add SYS-DMAC support Sergei Shtylyov
2016-10-31 19:54     ` Sergei Shtylyov
2016-10-31 19:54     ` Sergei Shtylyov
2016-10-31 19:55   ` [PATCH v6 3/7] ARM: dts: r8a7743: add [H]SCIF{A|B} support Sergei Shtylyov
2016-10-31 19:55     ` Sergei Shtylyov
2016-10-31 19:55     ` Sergei Shtylyov
     [not found]     ` <29562553.JmvzVUkhx3-gHKXc3Y1Z8zGSmamagVegGFoWSdPRAKMAL8bYrjMMd8@public.gmane.org>
2016-11-15 17:54       ` Simon Horman
2016-11-15 17:54         ` Simon Horman
2016-11-15 17:54         ` Simon Horman
2016-10-31 20:00   ` [PATCH v6 7/7] ARM: dts: sk-rzg1m: add Ether support Sergei Shtylyov
2016-10-31 20:00     ` Sergei Shtylyov
2016-10-31 20:00     ` Sergei Shtylyov
2016-10-31 19:56 ` Sergei Shtylyov [this message]
2016-10-31 19:56   ` [PATCH v6 4/7] ARM: dts: r8a7743: " Sergei Shtylyov
2016-10-31 19:58 ` [PATCH v6 5/7] ARM: dts: r8a7743: add IRQC support Sergei Shtylyov
2016-10-31 19:58   ` Sergei Shtylyov
2016-10-31 19:59 ` [PATCH v6 6/7] ARM: dts: sk-rzg1m: initial device tree Sergei Shtylyov
2016-10-31 19:59   ` Sergei Shtylyov
2016-11-15 17:54 ` [PATCH v6 0/7] Add R8A7743/SK-RZG1M board support Simon Horman
2016-11-15 17: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=1507182.SPSiN92QcM@wasted.cogentembedded.com \
    --to=sergei.shtylyov@cogentembedded.com \
    --cc=devicetree@vger.kernel.org \
    --cc=horms@verge.net.au \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=magnus.damm@gmail.com \
    --cc=mark.rutland@arm.com \
    --cc=robh+dt@kernel.org \
    /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.