2017-02-10 11:18:38 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2015 Intel Corporation
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __INC_BOARD_H
|
|
|
|
#define __INC_BOARD_H
|
|
|
|
|
|
|
|
#include <soc.h>
|
|
|
|
|
2017-07-01 22:27:16 +08:00
|
|
|
#if CONFIG_GPIO
|
2017-02-10 11:18:38 +08:00
|
|
|
#define LED0_GPIO_PORT CONFIG_GPIO_QMSI_0_NAME
|
|
|
|
#define LED0_GPIO_PIN 8
|
2017-07-01 22:27:16 +08:00
|
|
|
#endif
|
2017-02-10 11:18:38 +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
|
|
|
|
|
|
|
|
#endif /* __INC_BOARD_H */
|