blob: a28d843f51a0281ef290c3be6418bab5cd204727 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
/* Copyright 2020 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.
*/
/* Brya baseboard configuration */
#ifndef __CROS_EC_BASEBOARD_H
#define __CROS_EC_BASEBOARD_H
/*
* By default, enable all console messages excepted HC
*/
#define CC_DEFAULT (CC_ALL & ~(BIT(CC_HOSTCMD)))
/* NPCX9 config */
#define NPCX9_PWM1_SEL 1 /* GPIO C2 is used as PWM1. */
/*
* This defines which pads (GPIO10/11 or GPIO64/65) are connected to
* the "UART1" (NPCX_UART_PORT0) controller when used for
* CONSOLE_UART.
*/
#define NPCX_UART_MODULE2 1 /* 1:GPIO64/65 for UART1 */
#define CONFIG_EXTPOWER_GPIO
#define CONFIG_PWM
/* Enable I2C Support */
#define CONFIG_I2C
#define CONFIG_I2C_CONTROLLER
#ifndef __ASSEMBLER__
#include "baseboard_usbc_config.h"
#include "extpower.h"
#endif /* !__ASSEMBLER__ */
#endif /* __CROS_EC_BASEBOARD_H */
|