diff mbox

[3/3] ARM: shmobile: kzm9g-reference: add ethernet support

Message ID Pine.LNX.4.64.1303211704370.32438@axis700.grange (mailing list archive)
State Superseded
Commit b8d7e91255345b35403510a67ffa7243dddb219d
Headers show

Commit Message

Guennadi Liakhovetski March 21, 2013, 4:05 p.m. UTC
Add a DT node for the SMSC 9221 ethernet chip, found on kzm9g, to its
reference implementation.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
---
 arch/arm/boot/dts/sh73a0-kzm9g-reference.dts |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

Comments

Simon Horman March 27, 2013, 10:47 a.m. UTC | #1
On Thu, Mar 21, 2013 at 05:05:44PM +0100, Guennadi Liakhovetski wrote:
> Add a DT node for the SMSC 9221 ethernet chip, found on kzm9g, to its
> reference implementation.

Thanks, queued up for v3.10 in the boards branch of the renesas tree.
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts b/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts
index f33b5cc..5972abb 100644
--- a/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts
+++ b/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts
@@ -44,6 +44,19 @@ 
 		regulator-always-on;
 		regulator-boot-on;
 	};
+
+	lan9220@10000000 {
+		compatible = "smsc,lan9220", "smsc,lan9115";
+		reg = <0x10000000 0x100>;
+		phy-mode = "mii";
+		interrupt-parent = <&irqpin0>;
+		interrupts = <3 0>;	/* active low */
+		reg-io-width = <4>;
+		smsc,irq-push-pull;
+		smsc,save-mac-address;
+		vddvario-supply = <&reg_1p8v>;
+		vdd33a-supply = <&reg_3p3v>;
+	};
 };
 
 &mmcif {