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
|
|
|
*
|
2015-10-07 00:00:37 +08:00
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
2015-04-11 07:44:37 +08:00
|
|
|
*
|
2015-10-07 00:00:37 +08:00
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
2015-04-11 07:44:37 +08:00
|
|
|
*
|
2015-10-07 00:00:37 +08:00
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
* limitations under the License.
|
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-03-29 02:03:05 +08:00
|
|
|
/*
|
|
|
|
* PINMUX configuration settings
|
|
|
|
*/
|
2016-05-20 03:41:23 +08:00
|
|
|
#define PINMUX_NUM_PINS 20
|
2016-03-29 02:03:05 +08:00
|
|
|
|
2016-05-20 03:41:23 +08:00
|
|
|
/*
|
|
|
|
* The name of the GPIO expander labelled as EXP0 in the schematic.
|
|
|
|
*/
|
|
|
|
#define PINMUX_GALILEO_EXP0_NAME CONFIG_GPIO_PCAL9535A_0_DEV_NAME
|
|
|
|
/*
|
|
|
|
* The name of the GPIO expander labelled as EXP1 in the schematic.
|
|
|
|
*/
|
|
|
|
#define PINMUX_GALILEO_EXP1_NAME CONFIG_GPIO_PCAL9535A_1_DEV_NAME
|
|
|
|
/*
|
|
|
|
* The name of the GPIO expander labelled as EXP2 in the schematic.
|
|
|
|
*/
|
|
|
|
#define PINMUX_GALILEO_EXP2_NAME CONFIG_GPIO_PCAL9535A_2_DEV_NAME
|
|
|
|
/*
|
|
|
|
* The name of the PWM LED expander labelled as PWM0 in the schematic.
|
|
|
|
*/
|
|
|
|
#define PINMUX_GALILEO_PWM0_NAME CONFIG_PWM_PCA9685_0_DEV_NAME
|
|
|
|
/*
|
|
|
|
* The name of the DesignWare GPIO with GPIO<0>..GPIO<7> in the schematic.
|
|
|
|
*/
|
|
|
|
#define PINMUX_GALILEO_GPIO_DW_NAME CONFIG_GPIO_DW_0_NAME
|
|
|
|
/*
|
|
|
|
* The name of the Legacy Bridge Core Well GPIO with GPIO<8>..GPIO<9>
|
|
|
|
* in the schematic.
|
|
|
|
*/
|
|
|
|
#define PINMUX_GALILEO_GPIO_INTEL_CW_NAME CONFIG_GPIO_SCH_0_DEV_NAME
|
|
|
|
/*
|
|
|
|
* The name of the Legacy Bridge Resume Well GPIO with
|
|
|
|
* GPIO_SUS<0>..GPIO_SUS<5> in the schematic.
|
|
|
|
*/
|
|
|
|
#define PINMUX_GALILEO_GPIO_INTEL_RW_NAME CONFIG_GPIO_SCH_1_DEV_NAME
|
2016-03-29 02:03:05 +08:00
|
|
|
|
2015-12-13 22:31:16 +08:00
|
|
|
#endif /* __INC_BOARD_H */
|