1/*	$NetBSD: pcs-rzn1-miic.h,v 1.1.1.1 2026/01/18 05:21:50 skrll Exp $	*/
2
3/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
4/*
5 * Copyright (C) 2022 Schneider-Electric
6 *
7 * Clément Léger <clement.leger@bootlin.com>
8 */
9
10#ifndef _DT_BINDINGS_PCS_RZN1_MIIC
11#define _DT_BINDINGS_PCS_RZN1_MIIC
12
13/*
14 * Reefer to the datasheet [1] section 8.2.1, Internal Connection of Ethernet
15 * Ports to check the available combination
16 *
17 * [1] REN_r01uh0750ej0140-rzn1-introduction_MAT_20210228.pdf
18 */
19
20#define MIIC_GMAC1_PORT			0
21#define MIIC_GMAC2_PORT			1
22#define MIIC_RTOS_PORT			2
23#define MIIC_SERCOS_PORTA		3
24#define MIIC_SERCOS_PORTB		4
25#define MIIC_ETHERCAT_PORTA		5
26#define MIIC_ETHERCAT_PORTB		6
27#define MIIC_ETHERCAT_PORTC		7
28#define MIIC_SWITCH_PORTA		8
29#define MIIC_SWITCH_PORTB		9
30#define MIIC_SWITCH_PORTC		10
31#define MIIC_SWITCH_PORTD		11
32#define MIIC_HSR_PORTA			12
33#define MIIC_HSR_PORTB			13
34
35#endif
36