zephyr/boards/x86/arduino_101/board.h

23 lines
421 B
C

/*
* Copyright (c) 2015 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef __INC_BOARD_H
#define __INC_BOARD_H
#include <soc.h>
#define LED0_GPIO_PORT CONFIG_GPIO_QMSI_0_NAME
#define LED0_GPIO_PIN 8
#if defined(CONFIG_USB)
/* GPIO driver name */
#define USB_GPIO_DRV_NAME CONFIG_GPIO_QMSI_0_NAME
/* GPIO pin for enabling VBUS */
#define USB_VUSB_EN_GPIO 28
#endif
#endif /* __INC_BOARD_H */