Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
34 lines
843 B
C
34 lines
843 B
C
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
|
|
/*
|
|
* Copyright (C) 2022 Schneider-Electric
|
|
*
|
|
* Clément Léger <clement.leger@bootlin.com>
|
|
*/
|
|
|
|
#ifndef _DT_BINDINGS_PCS_RZN1_MIIC
|
|
#define _DT_BINDINGS_PCS_RZN1_MIIC
|
|
|
|
/*
|
|
* Reefer to the datasheet [1] section 8.2.1, Internal Connection of Ethernet
|
|
* Ports to check the available combination
|
|
*
|
|
* [1] REN_r01uh0750ej0140-rzn1-introduction_MAT_20210228.pdf
|
|
*/
|
|
|
|
#define MIIC_GMAC1_PORT 0
|
|
#define MIIC_GMAC2_PORT 1
|
|
#define MIIC_RTOS_PORT 2
|
|
#define MIIC_SERCOS_PORTA 3
|
|
#define MIIC_SERCOS_PORTB 4
|
|
#define MIIC_ETHERCAT_PORTA 5
|
|
#define MIIC_ETHERCAT_PORTB 6
|
|
#define MIIC_ETHERCAT_PORTC 7
|
|
#define MIIC_SWITCH_PORTA 8
|
|
#define MIIC_SWITCH_PORTB 9
|
|
#define MIIC_SWITCH_PORTC 10
|
|
#define MIIC_SWITCH_PORTD 11
|
|
#define MIIC_HSR_PORTA 12
|
|
#define MIIC_HSR_PORTB 13
|
|
|
|
#endif
|