fsl_enet.h 679 B

123456789101112131415161718192021222324
  1. /*
  2. * Copyright 2010 Freescale Semiconductor, Inc.
  3. *
  4. * SPDX-License-Identifier: GPL-2.0+
  5. */
  6. #ifndef __ASM_PPC_FSL_ENET_H
  7. #define __ASM_PPC_FSL_ENET_H
  8. #include <phy.h>
  9. struct tsec_mii_mng {
  10. u32 miimcfg; /* MII management configuration reg */
  11. u32 miimcom; /* MII management command reg */
  12. u32 miimadd; /* MII management address reg */
  13. u32 miimcon; /* MII management control reg */
  14. u32 miimstat; /* MII management status reg */
  15. u32 miimind; /* MII management indication reg */
  16. u32 ifstat; /* Interface Status Register */
  17. } __attribute__ ((packed));
  18. int fdt_fixup_phy_connection(void *blob, int offset, phy_interface_t phyc);
  19. #endif /* __ASM_PPC_FSL_ENET_H */