Patchwork [net-next,2/3] ARM: dts: AM33XX: Add CPSW phy_id device tree data to am335x-evmsk

login
register
mail settings
Submitter Mugunthan V N
Date April 22, 2013, 6:20 p.m.
Message ID <1366654838-26479-3-git-send-email-mugunthanvnm@ti.com>
Download mbox | patch
Permalink /patch/238613/
State Rejected
Delegated to: David Miller
Headers show

Comments

Mugunthan V N - April 22, 2013, 6:20 p.m.
Add phy_id device tree data to am335x-evmsk device to bring up CPSW
ethernet present on am335x starter kit.

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
---
 arch/arm/boot/dts/am335x-evmsk.dts |    8 ++++++++
 1 file changed, 8 insertions(+)

Patch

diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts
index f5a6162..f297b85 100644
--- a/arch/arm/boot/dts/am335x-evmsk.dts
+++ b/arch/arm/boot/dts/am335x-evmsk.dts
@@ -248,3 +248,11 @@ 
 		};
 	};
 };
+
+&cpsw_emac0 {
+	phy_id = <&davinci_mdio>, <0>;
+};
+
+&cpsw_emac1 {
+	phy_id = <&davinci_mdio>, <1>;
+};