162306a36Sopenharmony_ci/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Copyright (C) 2022 Schneider-Electric
462306a36Sopenharmony_ci *
562306a36Sopenharmony_ci * Clément Léger <clement.leger@bootlin.com>
662306a36Sopenharmony_ci */
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci#ifndef _DT_BINDINGS_PCS_RZN1_MIIC
962306a36Sopenharmony_ci#define _DT_BINDINGS_PCS_RZN1_MIIC
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ci/*
1262306a36Sopenharmony_ci * Reefer to the datasheet [1] section 8.2.1, Internal Connection of Ethernet
1362306a36Sopenharmony_ci * Ports to check the available combination
1462306a36Sopenharmony_ci *
1562306a36Sopenharmony_ci * [1] REN_r01uh0750ej0140-rzn1-introduction_MAT_20210228.pdf
1662306a36Sopenharmony_ci */
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ci#define MIIC_GMAC1_PORT			0
1962306a36Sopenharmony_ci#define MIIC_GMAC2_PORT			1
2062306a36Sopenharmony_ci#define MIIC_RTOS_PORT			2
2162306a36Sopenharmony_ci#define MIIC_SERCOS_PORTA		3
2262306a36Sopenharmony_ci#define MIIC_SERCOS_PORTB		4
2362306a36Sopenharmony_ci#define MIIC_ETHERCAT_PORTA		5
2462306a36Sopenharmony_ci#define MIIC_ETHERCAT_PORTB		6
2562306a36Sopenharmony_ci#define MIIC_ETHERCAT_PORTC		7
2662306a36Sopenharmony_ci#define MIIC_SWITCH_PORTA		8
2762306a36Sopenharmony_ci#define MIIC_SWITCH_PORTB		9
2862306a36Sopenharmony_ci#define MIIC_SWITCH_PORTC		10
2962306a36Sopenharmony_ci#define MIIC_SWITCH_PORTD		11
3062306a36Sopenharmony_ci#define MIIC_HSR_PORTA			12
3162306a36Sopenharmony_ci#define MIIC_HSR_PORTB			13
3262306a36Sopenharmony_ci
3362306a36Sopenharmony_ci#endif
34