All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Brandt <chris.brandt@renesas.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>,
	Simon Horman <horms+renesas@verge.net.au>,
	Magnus Damm <magnus.damm@gmail.com>,
	Rob Herring <robh+dt@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>
Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
	linux-renesas-soc@vger.kernel.org,
	Chris Brandt <chris.brandt@renesas.com>
Subject: [PATCH 2/3] ARM: dts: r7s72100: add ethernet to device tree
Date: Thu,  1 Sep 2016 11:54:29 -0400	[thread overview]
Message-ID: <20160901155430.23400-2-chris.brandt@renesas.com> (raw)
In-Reply-To: <20160901155430.23400-1-chris.brandt@renesas.com>

Signed-off-by: Chris Brandt <chris.brandt@renesas.com>
---
 arch/arm/boot/dts/r7s72100.dtsi | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/arch/arm/boot/dts/r7s72100.dtsi b/arch/arm/boot/dts/r7s72100.dtsi
index e8e2a5d7..fb9ef9c 100644
--- a/arch/arm/boot/dts/r7s72100.dtsi
+++ b/arch/arm/boot/dts/r7s72100.dtsi
@@ -108,6 +108,15 @@
 			clock-output-names = "scif0", "scif1", "scif2", "scif3", "scif4", "scif5", "scif6", "scif7";
 		};
 
+		mstp7_clks: mstp7_clks@fcfe0430 {
+			#clock-cells = <1>;
+			compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks";
+			reg = <0xfcfe0430 4>;
+			clocks = <&p0_clk>;
+			clock-indices = <R7S72100_CLK_ETHER>;
+			clock-output-names = "ether";
+		};
+
 		mstp9_clks: mstp9_clks@fcfe0438 {
 			#clock-cells = <1>;
 			compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks";
@@ -419,4 +428,17 @@
 		power-domains = <&cpg_clocks>;
 		status = "disabled";
 	};
+
+	ether: ethernet@e8203000 {
+		compatible = "renesas,ether-r7s72100";
+		reg = <0xe8203000 0x800>,
+		      <0xe8204800 0x200>;
+		interrupts = <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&mstp7_clks R7S72100_CLK_ETHER>;
+		power-domains = <&cpg_clocks>;
+		phy-mode = "mii";
+		#address-cells = <1>;
+		#size-cells = <0>;
+		status = "disabled";
+	};
 };
-- 
2.9.2

WARNING: multiple messages have this Message-ID (diff)
From: chris.brandt@renesas.com (Chris Brandt)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/3] ARM: dts: r7s72100: add ethernet to device tree
Date: Thu,  1 Sep 2016 11:54:29 -0400	[thread overview]
Message-ID: <20160901155430.23400-2-chris.brandt@renesas.com> (raw)
In-Reply-To: <20160901155430.23400-1-chris.brandt@renesas.com>

Signed-off-by: Chris Brandt <chris.brandt@renesas.com>
---
 arch/arm/boot/dts/r7s72100.dtsi | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/arch/arm/boot/dts/r7s72100.dtsi b/arch/arm/boot/dts/r7s72100.dtsi
index e8e2a5d7..fb9ef9c 100644
--- a/arch/arm/boot/dts/r7s72100.dtsi
+++ b/arch/arm/boot/dts/r7s72100.dtsi
@@ -108,6 +108,15 @@
 			clock-output-names = "scif0", "scif1", "scif2", "scif3", "scif4", "scif5", "scif6", "scif7";
 		};
 
+		mstp7_clks: mstp7_clks at fcfe0430 {
+			#clock-cells = <1>;
+			compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks";
+			reg = <0xfcfe0430 4>;
+			clocks = <&p0_clk>;
+			clock-indices = <R7S72100_CLK_ETHER>;
+			clock-output-names = "ether";
+		};
+
 		mstp9_clks: mstp9_clks at fcfe0438 {
 			#clock-cells = <1>;
 			compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks";
@@ -419,4 +428,17 @@
 		power-domains = <&cpg_clocks>;
 		status = "disabled";
 	};
+
+	ether: ethernet at e8203000 {
+		compatible = "renesas,ether-r7s72100";
+		reg = <0xe8203000 0x800>,
+		      <0xe8204800 0x200>;
+		interrupts = <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&mstp7_clks R7S72100_CLK_ETHER>;
+		power-domains = <&cpg_clocks>;
+		phy-mode = "mii";
+		#address-cells = <1>;
+		#size-cells = <0>;
+		status = "disabled";
+	};
 };
-- 
2.9.2

  reply	other threads:[~2016-09-01 15:54 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-01 15:54 [PATCH 1/3] ARM: dts: r7s72100: add ethernet clock to device tree Chris Brandt
2016-09-01 15:54 ` Chris Brandt
2016-09-01 15:54 ` Chris Brandt [this message]
2016-09-01 15:54   ` [PATCH 2/3] ARM: dts: r7s72100: add ethernet " Chris Brandt
2016-09-01 20:50   ` Geert Uytterhoeven
2016-09-01 20:50     ` Geert Uytterhoeven
2016-09-01 20:50     ` Geert Uytterhoeven
     [not found] ` <20160901155430.23400-1-chris.brandt-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
2016-09-01 15:54   ` [PATCH 3/3] ARM: dts: rskrza1: add ethernet DT support Chris Brandt
2016-09-01 15:54     ` Chris Brandt
2016-09-01 15:54     ` Chris Brandt
2016-09-01 20:50     ` Geert Uytterhoeven
2016-09-01 20:50       ` Geert Uytterhoeven
2016-09-01 20:50       ` Geert Uytterhoeven
2016-09-01 16:30 ` [PATCH 1/3] ARM: dts: r7s72100: add ethernet clock to device tree Sergei Shtylyov
2016-09-01 16:30   ` Sergei Shtylyov
2016-09-01 16:38   ` Chris Brandt
2016-09-01 16:38     ` Chris Brandt
2016-09-01 16:54     ` Sergei Shtylyov
2016-09-01 16:54       ` Sergei Shtylyov
2016-09-01 16:54       ` Sergei Shtylyov
2016-09-01 19:35 ` Geert Uytterhoeven
2016-09-01 19:35   ` Geert Uytterhoeven
2016-09-01 19:35   ` Geert Uytterhoeven
2016-09-02  1:40 ` [PATCH v2 " Chris Brandt
2016-09-02  1:40   ` Chris Brandt
     [not found]   ` <20160902014012.9383-1-chris.brandt-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
2016-09-02  1:40     ` [PATCH v2 2/3] ARM: dts: r7s72100: add ethernet " Chris Brandt
2016-09-02  1:40       ` Chris Brandt
2016-09-02  1:40       ` Chris Brandt
2016-09-02  1:40     ` [PATCH v2 3/3] ARM: dts: rskrza1: add ethernet DT support Chris Brandt
2016-09-02  1:40       ` Chris Brandt
2016-09-02  1:40       ` Chris Brandt
2016-09-02  8:26   ` [PATCH v2 1/3] ARM: dts: r7s72100: add ethernet clock to device tree Simon Horman
2016-09-02  8:26     ` Simon Horman
2016-09-02 12:50     ` Chris Brandt
2016-09-02 12:50       ` Chris Brandt
2016-09-06 10:49       ` Simon Horman
2016-09-06 10:49         ` 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=20160901155430.23400-2-chris.brandt@renesas.com \
    --to=chris.brandt@renesas.com \
    --cc=devicetree@vger.kernel.org \
    --cc=geert@linux-m68k.org \
    --cc=horms+renesas@verge.net.au \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --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.