mx6sabreauto: Convert to DM_ETH
[oweals/u-boot.git] / include / cpsw.h
index c7532fc866b8e1d9a160e563c539e6a4b0cb1ac9..786f8b385b75da4f74c89f110e04fb6faa0f4e73 100644 (file)
@@ -16,6 +16,8 @@
 #ifndef _CPSW_H_
 #define _CPSW_H_
 
+#include <dm/ofnode.h>
+
 /* reg offset */
 #define CPSW_HOST_PORT_OFFSET  0x108
 #define CPSW_SLAVE0_OFFSET     0x208
@@ -38,7 +40,7 @@ struct cpsw_slave_data {
        u32             sliver_reg_ofs;
        int             phy_addr;
        int             phy_if;
-       int             phy_of_handle;
+       ofnode          phy_of_handle;
        int             max_speed;
 };