pcs-rzn1-miic.h 843 B

123456789101112131415161718192021222324252627282930313233
  1. /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
  2. /*
  3. * Copyright (C) 2022 Schneider-Electric
  4. *
  5. * Clément Léger <[email protected]>
  6. */
  7. #ifndef _DT_BINDINGS_PCS_RZN1_MIIC
  8. #define _DT_BINDINGS_PCS_RZN1_MIIC
  9. /*
  10. * Reefer to the datasheet [1] section 8.2.1, Internal Connection of Ethernet
  11. * Ports to check the available combination
  12. *
  13. * [1] REN_r01uh0750ej0140-rzn1-introduction_MAT_20210228.pdf
  14. */
  15. #define MIIC_GMAC1_PORT 0
  16. #define MIIC_GMAC2_PORT 1
  17. #define MIIC_RTOS_PORT 2
  18. #define MIIC_SERCOS_PORTA 3
  19. #define MIIC_SERCOS_PORTB 4
  20. #define MIIC_ETHERCAT_PORTA 5
  21. #define MIIC_ETHERCAT_PORTB 6
  22. #define MIIC_ETHERCAT_PORTC 7
  23. #define MIIC_SWITCH_PORTA 8
  24. #define MIIC_SWITCH_PORTB 9
  25. #define MIIC_SWITCH_PORTC 10
  26. #define MIIC_SWITCH_PORTD 11
  27. #define MIIC_HSR_PORTA 12
  28. #define MIIC_HSR_PORTB 13
  29. #endif