ARM: shmobile: kzm9g-reference: add ethernet support
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Thu, 21 Mar 2013 16:05:44 +0000 (17:05 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 3 Apr 2013 01:50:42 +0000 (10:50 +0900)
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>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/sh73a0-kzm9g-reference.dts

index f33b5ccb744655de591a1f8b071036de5b9d6078..5972abb55f9cfbbf85cbc133eef788a9635e17d5 100644 (file)
                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 {