blob: 2fd0730ee193524e2a69881540f908403543b0b1 [file] [log] [blame]
/*
* Copyright (c) 2019 Foundries.io
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef __INC_BOARD_H
#define __INC_BOARD_H
/* pin used to enable the buffer power */
#define SERIAL_BUFFER_ENABLE_GPIO_NAME DT_LABEL(DT_INST(0, nordic_nrf_gpio))
#define SERIAL_BUFFER_ENABLE_GPIO_PIN 25
#define SERIAL_BUFFER_ENABLE_GPIO_FLAGS GPIO_ACTIVE_LOW
/* pin used to detect V_INT (buffer power) */
#define V_INT_DETECT_GPIO_PIN 2
#define V_INT_DETECT_GPIO_FLAGS GPIO_ACTIVE_HIGH
/* SKYWORKS SKY13351 antenna selection settings (only use vctl1) */
#define ANT_UFLn_GPIO_NAME DT_GPIO_LABEL(DT_INST(0, skyworks_sky13351), vctl1_gpios)
#define ANT_UFLn_GPIO_FLAGS DT_GPIO_FLAGS(DT_INST(0, skyworks_sky13351), vctl1_gpios)
#define ANT_UFLn_GPIO_PIN DT_GPIO_PIN(DT_INST(0, skyworks_sky13351), vctl1_gpios)
#endif /* __INC_BOARD_H */