zephyr/boards/x86/tinytile/board.h

25 lines
444 B
C

/*
* Copyright (c) 2015 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef __INC_BOARD_H
#define __INC_BOARD_H
#include <soc.h>
#if CONFIG_GPIO
#define LED0_GPIO_PORT CONFIG_GPIO_QMSI_0_NAME
#define LED0_GPIO_PIN 8
#endif
#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 */