| /* |
| * Copyright (c) 2019 Interay Solutions B.V. |
| * Copyright (c) 2019 Oane Kingma |
| * |
| * SPDX-License-Identifier: Apache-2.0 |
| */ |
| |
| #ifndef __INC_BOARD_H |
| #define __INC_BOARD_H |
| |
| /* This pin is used to enable the serial port using the board controller */ |
| #define BC_ENABLE_GPIO_NAME "GPIO_E" |
| #define BC_ENABLE_GPIO_PIN 1 |
| |
| /* Ethernet specific pins */ |
| #ifdef CONFIG_ETH_GECKO |
| #define ETH_PWR_ENABLE_GPIO_NAME "GPIO_I" |
| #define ETH_PWR_ENABLE_GPIO_PIN 10 |
| |
| #define ETH_RESET_GPIO_NAME "GPIO_H" |
| #define ETH_RESET_GPIO_PIN 7 |
| |
| #define ETH_REF_CLK_GPIO_NAME "GPIO_D" |
| #define ETH_REF_CLK_GPIO_PIN DT_PROP_BY_IDX(DT_INST(0, silabs_gecko_ethernet), location_rmii_refclk, 2) |
| #define ETH_REF_CLK_LOCATION DT_PROP_BY_IDX(DT_INST(0, silabs_gecko_ethernet), location_rmii_refclk, 0) |
| |
| #endif /* CONFIG_ETH_GECKO */ |
| |
| #endif /* __INC_BOARD_H */ |