From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 2/2] ARM: shmobile: lager: add Ether DT support
Date: Wed, 19 Feb 2014 22:22:32 +0000 [thread overview]
Message-ID: <201402200222.32265.sergei.shtylyov@cogentembedded.com> (raw)
In-Reply-To: <201402200218.23099.sergei.shtylyov@cogentembedded.com>
Define the Lager board dependent part of the Ether device node.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
---
Changes in version 2:
- moved PHY pin node phandle from PHY device node to the Ether device node, thus
removing all pin control properties from the PHY node;
- resolved reject.
arch/arm/boot/dts/r8a7790-lager.dts | 28 +++++++++++++++++++++++++++-
1 file changed, 27 insertions(+), 1 deletion(-)
Index: renesas/arch/arm/boot/dts/r8a7790-lager.dts
=================================--- renesas.orig/arch/arm/boot/dts/r8a7790-lager.dts
+++ renesas/arch/arm/boot/dts/r8a7790-lager.dts
@@ -1,7 +1,8 @@
/*
* Device Tree Source for the Lager board
*
- * Copyright (C) 2013 Renesas Solutions Corp.
+ * Copyright (C) 2013-2014 Renesas Solutions Corp.
+ * Copyright (C) 2014 Cogent Embedded, Inc.
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
@@ -124,6 +125,16 @@
renesas,function = "scif0";
};
+ ether_pins: ether {
+ renesas,groups = "eth_link", "eth_mdio", "eth_rmii";
+ renesas,function = "eth";
+ };
+
+ phy1_pins: phy1 {
+ renesas,groups = "intc_irq0";
+ renesas,function = "intc";
+ };
+
scif1_pins: serial1 {
renesas,groups = "scif1_data";
renesas,function = "scif1";
@@ -150,6 +161,21 @@
};
};
+ðer {
+ pinctrl-0 = <ðer_pins &phy1_pins>;
+ pinctrl-names = "default";
+
+ phy-handle = <&phy1>;
+ renesas,ether-link-active-low;
+ status = "ok";
+
+ phy1: ethernet-phy@1 {
+ reg = <1>;
+ interrupt-parent = <&irqc0>;
+ interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
+ };
+};
+
&mmcif1 {
pinctrl-0 = <&mmc1_pins>;
pinctrl-names = "default";
next prev parent reply other threads:[~2014-02-19 22:22 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-19 22:18 [PATCH v2 0/2] Add Ether DT support for R8A7790/Lager reference board Sergei Shtylyov
2014-02-19 22:20 ` [PATCH v2 1/2] ARM: shmobile: r8a7790: add Ether DT support Sergei Shtylyov
2014-02-19 22:22 ` Sergei Shtylyov [this message]
2014-02-19 22:24 ` [PATCH v2 0/2] Add Ether DT support for R8A7791/Koelsch reference board Sergei Shtylyov
2014-02-19 22:27 ` [PATCH v2 1/2] ARM: shmobile: r8a7791: add Ether DT support Sergei Shtylyov
2014-02-19 22:28 ` [PATCH v2 2/2] ARM: shmobile: koelsch: " Sergei Shtylyov
2014-02-24 0:33 ` [PATCH v2 0/2] Add Ether DT support for R8A7791/Koelsch reference board Simon Horman
2014-02-24 0:32 ` [PATCH v2 0/2] Add Ether DT support for R8A7790/Lager " 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=201402200222.32265.sergei.shtylyov@cogentembedded.com \
--to=sergei.shtylyov@cogentembedded.com \
--cc=linux-arm-kernel@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox