1 /* 2 * Copyright (c) 2019 Interay Solutions B.V. 3 * Copyright (c) 2019 Oane Kingma 4 * 5 * SPDX-License-Identifier: Apache-2.0 6 */ 7 8 #ifndef __INC_BOARD_H 9 #define __INC_BOARD_H 10 11 /* Ethernet specific pins */ 12 #ifdef CONFIG_ETH_GECKO 13 #define ETH_PWR_ENABLE_GPIO_NODE DT_NODELABEL(gpioi) 14 #define ETH_PWR_ENABLE_GPIO_PIN 10 15 16 #define ETH_RESET_GPIO_NODE DT_NODELABEL(gpioh) 17 #define ETH_RESET_GPIO_PIN 7 18 19 #define ETH_REF_CLK_GPIO_NODE DT_NODELABEL(gpiod) 20 #define ETH_REF_CLK_GPIO_PIN DT_PROP_BY_IDX(DT_INST(0, silabs_gecko_ethernet), location_rmii_refclk, 2) 21 #define ETH_REF_CLK_LOCATION DT_PROP_BY_IDX(DT_INST(0, silabs_gecko_ethernet), location_rmii_refclk, 0) 22 23 #endif /* CONFIG_ETH_GECKO */ 24 25 #endif /* __INC_BOARD_H */ 26