]>
Commit | Line | Data |
---|---|---|
f8c42495 KG |
1 | /* |
2 | * Copyright 2010 Freescale Semiconductor, Inc. | |
3 | * | |
1a459660 | 4 | * SPDX-License-Identifier: GPL-2.0+ |
f8c42495 KG |
5 | */ |
6 | ||
7 | #ifndef __ASM_PPC_FSL_ENET_H | |
8 | #define __ASM_PPC_FSL_ENET_H | |
9 | ||
865ff856 | 10 | #include <phy.h> |
f8c42495 | 11 | |
063c1263 AF |
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 | ||
865ff856 | 22 | int fdt_fixup_phy_connection(void *blob, int offset, phy_interface_t phyc); |
a1964ea5 | 23 | |
f8c42495 | 24 | #endif /* __ASM_PPC_FSL_ENET_H */ |