2015-04-11 07:44:37 +08:00
|
|
|
/*
|
2015-12-13 22:31:16 +08:00
|
|
|
* Copyright (c) 2015 Intel Corporation
|
2015-04-11 07:44:37 +08:00
|
|
|
*
|
2017-01-19 09:01:01 +08:00
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
2015-04-11 07:44:37 +08:00
|
|
|
*/
|
|
|
|
|
2015-12-13 22:31:16 +08:00
|
|
|
#ifndef __INC_BOARD_H
|
|
|
|
#define __INC_BOARD_H
|
|
|
|
|
2015-12-17 21:54:35 +08:00
|
|
|
#include <soc.h>
|
2015-04-11 07:44:37 +08:00
|
|
|
|
2016-10-15 21:09:24 +08:00
|
|
|
#define LED0_GPIO_PORT CONFIG_GPIO_QMSI_0_NAME
|
2017-01-19 22:58:03 +08:00
|
|
|
#define LED0_GPIO_PIN 8
|
2016-10-15 21:09:24 +08:00
|
|
|
|
2016-06-01 19:20:02 +08:00
|
|
|
#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
|
|
|
|
|
2015-12-13 22:31:16 +08:00
|
|
|
#endif /* __INC_BOARD_H */
|