@@ -33,6 +33,11 @@
};
};
+ mdio: davinci_mdio@4a101000 {
+ compatible = "ti,davinci-mdio";
+ ti,hwmods = "davinci_mdio";
+ };
+
mac: ethernet@4A100000 {
compatible = "ti,cpsw";
ti,hwmods = "cpgmac0";
@@ -49,19 +54,13 @@
no_bd_ram = <0>;
rx_descs = <64>;
mac_control = <0x20>;
- slaves = <2>;
+ slaves = <1>;
slave@0 {
slave_reg_ofs = <0x208>;
sliver_reg_ofs = <0xd80>;
- phy_id = "davinci_mdio-0:00";
+ phy_id = "davinci_mdio.21-:00";
mac-address = [00 04 9F 01 1B B8];
};
- slave@1 {
- slave_reg_ofs = <0x308>;
- sliver_reg_ofs = <0xdc0>;
- phy_id = "davinci_mdio-0:01";
- mac-address = [00 04 9F 01 1B B9];
- };
};
};