]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/powerpc/include/asm/fsl_enet.h
Add GPL-2.0+ SPDX-License-Identifier to source files
[karo-tx-uboot.git] / arch / powerpc / include / asm / fsl_enet.h
1 /*
2  * Copyright 2010 Freescale Semiconductor, Inc.
3  *
4  * SPDX-License-Identifier:     GPL-2.0+
5  */
6
7 #ifndef __ASM_PPC_FSL_ENET_H
8 #define __ASM_PPC_FSL_ENET_H
9
10 #include <phy.h>
11
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
22 int fdt_fixup_phy_connection(void *blob, int offset, phy_interface_t phyc);
23
24 #endif /* __ASM_PPC_FSL_ENET_H */