Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
0002 /*
0003  * Copyright (C) 2022 Schneider-Electric
0004  *
0005  * Clément Léger <clement.leger@bootlin.com>
0006  */
0007 
0008 #ifndef _DT_BINDINGS_PCS_RZN1_MIIC
0009 #define _DT_BINDINGS_PCS_RZN1_MIIC
0010 
0011 /*
0012  * Reefer to the datasheet [1] section 8.2.1, Internal Connection of Ethernet
0013  * Ports to check the available combination
0014  *
0015  * [1] REN_r01uh0750ej0140-rzn1-introduction_MAT_20210228.pdf
0016  */
0017 
0018 #define MIIC_GMAC1_PORT         0
0019 #define MIIC_GMAC2_PORT         1
0020 #define MIIC_RTOS_PORT          2
0021 #define MIIC_SERCOS_PORTA       3
0022 #define MIIC_SERCOS_PORTB       4
0023 #define MIIC_ETHERCAT_PORTA     5
0024 #define MIIC_ETHERCAT_PORTB     6
0025 #define MIIC_ETHERCAT_PORTC     7
0026 #define MIIC_SWITCH_PORTA       8
0027 #define MIIC_SWITCH_PORTB       9
0028 #define MIIC_SWITCH_PORTC       10
0029 #define MIIC_SWITCH_PORTD       11
0030 #define MIIC_HSR_PORTA          12
0031 #define MIIC_HSR_PORTB          13
0032 
0033 #endif