Patchwork [1/1] powerpc: dts: virtex440: add ethernet phy to virtex440-ml507

login
register
mail settings
Submitter Gernot Vormayr
Date Nov. 14, 2012, 4:59 p.m.
Message ID <1352912349-15538-1-git-send-email-gvormayr@gmail.com>
Download mbox | patch
Permalink /patch/198966/
State Accepted, archived
Commit 41c7b401b9c131a53823673a788d73e340ce4d2a
Delegated to: Benjamin Herrenschmidt
Headers show

Comments

Gernot Vormayr - Nov. 14, 2012, 4:59 p.m.
This adds the marvel phy which is present on the ml507 board.
Without this ethtool causes kernel-oopses.

Tested on ml507 board.

Signed-off-by: Gernot Vormayr <gvormayr@gmail.com>
---
 arch/powerpc/boot/dts/virtex440-ml507.dts |    6 ++++++
 1 file changed, 6 insertions(+)

Patch

diff --git a/arch/powerpc/boot/dts/virtex440-ml507.dts b/arch/powerpc/boot/dts/virtex440-ml507.dts
index 52d8c1a..fc7073b 100644
--- a/arch/powerpc/boot/dts/virtex440-ml507.dts
+++ b/arch/powerpc/boot/dts/virtex440-ml507.dts
@@ -272,6 +272,12 @@ 
 				xlnx,temac-type = <0>;
 				xlnx,txcsum = <1>;
 				xlnx,txfifo = <0x1000>;
+                                phy-handle = <&phy7>;
+                                clock-frequency = <100000000>;
+                                phy7: phy@7 {
+                                          compatible = "marvell,88e1111";
+                                          reg = <7>;
+                                } ;
 			} ;
 		} ;
 		IIC_EEPROM: i2c@81600000 {