summaryrefslogtreecommitdiff
path: root/zephyr/projects/corsola/include/gpio_map.h
blob: 562671b685518b7d7990fbf37d6b8cdf8cdea373 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* Copyright 2021 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.
 */

#ifndef __ZEPHYR_GPIO_MAP_H
#define __ZEPHYR_GPIO_MAP_H


#include <zephyr/devicetree.h>
#include <gpio_signal.h>

#define GPIO_ENTERING_RW		GPIO_UNIMPLEMENTED

#ifdef CONFIG_PLATFORM_EC_USB_PD_TCPM_RT1718S
#define GPIO_EN_USB_C1_SINK         RT1718S_GPIO1
#define GPIO_EN_USB_C1_SOURCE       RT1718S_GPIO2
#define GPIO_EN_USB_C1_FRS          RT1718S_GPIO3
#endif

#endif /* __ZEPHYR_GPIO_MAP_H */