xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/net/pcs-rzn1-miic.h (revision a03411e84728e9b267056fd31c7d1d9d1dc1b01e)
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 <clement.leger@bootlin.com>
6  */
7 
8 #ifndef _DT_BINDINGS_PCS_RZN1_MIIC
9 #define _DT_BINDINGS_PCS_RZN1_MIIC
10 
11 /*
12  * Reefer to the datasheet [1] section 8.2.1, Internal Connection of Ethernet
13  * Ports to check the available combination
14  *
15  * [1] REN_r01uh0750ej0140-rzn1-introduction_MAT_20210228.pdf
16  */
17 
18 #define MIIC_GMAC1_PORT			0
19 #define MIIC_GMAC2_PORT			1
20 #define MIIC_RTOS_PORT			2
21 #define MIIC_SERCOS_PORTA		3
22 #define MIIC_SERCOS_PORTB		4
23 #define MIIC_ETHERCAT_PORTA		5
24 #define MIIC_ETHERCAT_PORTB		6
25 #define MIIC_ETHERCAT_PORTC		7
26 #define MIIC_SWITCH_PORTA		8
27 #define MIIC_SWITCH_PORTB		9
28 #define MIIC_SWITCH_PORTC		10
29 #define MIIC_SWITCH_PORTD		11
30 #define MIIC_HSR_PORTA			12
31 #define MIIC_HSR_PORTB			13
32 
33 #endif
34