1 /*
2  * Copyright (c) 2019 Interay Solutions B.V.
3  * Copyright (c) 2019 Oane Kingma
4  * Copyright (c) 2020 Thorvald Natvig
5  *
6  * SPDX-License-Identifier: Apache-2.0
7  */
8 
9 #ifndef __INC_BOARD_H
10 #define __INC_BOARD_H
11 
12 /* Ethernet specific pins */
13 #define ETH_REF_CLK_GPIO_NODE           DT_NODELABEL(gpioa)
14 #define ETH_REF_CLK_GPIO_PIN            DT_PROP_BY_IDX(DT_INST(0, silabs_gecko_ethernet), location_rmii_refclk, 2)
15 /* The driver ties CMU_CLK2 to the refclk, and pin A3 is CMU_CLK2 #1 */
16 #define ETH_REF_CLK_LOCATION            1
17 
18 #endif  /* __INC_BOARD_H */
19