mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-09 17:11:42 +00:00
1. DLM 16KB. 2. Add KBC/KMSC module for emulation board. Signed-off-by: Dino Li <dino.li@ite.com.tw> BRANCH=none BUG=none TEST=EVB + x86 MB can boot into DOS and keyboard works. Change-Id: Ia5cc2d4f1733ce07879d410b0447b2d48e50cd95 Reviewed-on: https://chromium-review.googlesource.com/259923 Reviewed-by: Vincent Palatin <vpalatin@chromium.org> Tested-by: Dino Li <dino.li@ite.com.tw> Commit-Queue: Dino Li <dino.li@ite.com.tw>
71 lines
1.2 KiB
C
71 lines
1.2 KiB
C
/* Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
* found in the LICENSE file.
|
|
*/
|
|
|
|
/* IT8380 development board configuration */
|
|
|
|
#ifndef __BOARD_H
|
|
#define __BOARD_H
|
|
|
|
/* Optional features */
|
|
#define CONFIG_POWER_BUTTON
|
|
#define CONFIG_KEYBOARD_PROTOCOL_8042
|
|
#define CONFIG_KEYBOARD_BOARD_CONFIG
|
|
#undef CONFIG_KEYBOARD_KSI_WUC_INT
|
|
|
|
/* Debug */
|
|
#undef CONFIG_KEYBOARD_DEBUG
|
|
#undef CONFIG_UART_TX_BUF_SIZE
|
|
#define CONFIG_UART_TX_BUF_SIZE 4096
|
|
|
|
#ifndef __ASSEMBLER__
|
|
|
|
#include "gpio_signal.h"
|
|
|
|
enum pwm_channel {
|
|
PWM_CH_0,
|
|
PWM_CH_1,
|
|
PWM_CH_2,
|
|
PWM_CH_3,
|
|
PWM_CH_4,
|
|
PWM_CH_5,
|
|
PWM_CH_6,
|
|
PWM_CH_7,
|
|
|
|
/* Number of PWM channels */
|
|
PWM_CH_COUNT
|
|
};
|
|
|
|
enum adc_channel {
|
|
ADC_CH_0,
|
|
ADC_CH_1,
|
|
ADC_CH_2,
|
|
ADC_CH_3,
|
|
ADC_CH_4,
|
|
ADC_CH_5,
|
|
ADC_CH_6,
|
|
ADC_CH_7,
|
|
|
|
/* Number of ADC channels */
|
|
ADC_CH_COUNT
|
|
};
|
|
|
|
enum ec2i_setting {
|
|
EC2I_SET_KB_LDN,
|
|
EC2I_SET_KB_IRQ,
|
|
EC2I_SET_KB_ENABLE,
|
|
EC2I_SET_MOUSE_LDN,
|
|
EC2I_SET_MOUSE_IRQ,
|
|
EC2I_SET_MOUSE_ENABLE,
|
|
EC2I_SET_PMC1_LDN,
|
|
EC2I_SET_PMC1_IRQ,
|
|
EC2I_SET_PMC1_ENABLE,
|
|
|
|
/* Number of EC2I settings */
|
|
EC2I_SETTING_COUNT
|
|
};
|
|
|
|
#endif /* !__ASSEMBLER__ */
|
|
#endif /* __BOARD_H */
|