Kumar Gala | 3bc2d8d | 2010-09-30 09:14:40 -0500 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2010 Freescale Semiconductor, Inc. |
| 3 | * |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 4 | * SPDX-License-Identifier: GPL-2.0+ |
Kumar Gala | 3bc2d8d | 2010-09-30 09:14:40 -0500 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | #ifndef __ASM_PPC_FSL_ENET_H |
| 8 | #define __ASM_PPC_FSL_ENET_H |
| 9 | |
Andy Fleming | 7832a46 | 2011-04-13 00:37:12 -0500 | [diff] [blame] | 10 | #include <phy.h> |
Kumar Gala | 3bc2d8d | 2010-09-30 09:14:40 -0500 | [diff] [blame] | 11 | |
Andy Fleming | 422effd | 2011-04-08 02:10:54 -0500 | [diff] [blame] | 12 | struct tsec_mii_mng { |
| 13 | u32 miimcfg; /* MII management configuration reg */ |
| 14 | u32 miimcom; /* MII management command reg */ |
| 15 | u32 miimadd; /* MII management address reg */ |
| 16 | u32 miimcon; /* MII management control reg */ |
| 17 | u32 miimstat; /* MII management status reg */ |
| 18 | u32 miimind; /* MII management indication reg */ |
| 19 | u32 ifstat; /* Interface Status Register */ |
| 20 | } __attribute__ ((packed)); |
| 21 | |
Andy Fleming | 7832a46 | 2011-04-13 00:37:12 -0500 | [diff] [blame] | 22 | int fdt_fixup_phy_connection(void *blob, int offset, phy_interface_t phyc); |
Kumar Gala | 6bc9fd5 | 2010-09-30 09:15:03 -0500 | [diff] [blame] | 23 | |
Kumar Gala | 3bc2d8d | 2010-09-30 09:14:40 -0500 | [diff] [blame] | 24 | #endif /* __ASM_PPC_FSL_ENET_H */ |