blob: 4220262b23c9b60b3ab0d06c905f05fdc1ba02ea [file] [log] [blame]
Xiaohu.Huanga2c5a042022-03-12 22:41:09 +08001/*
2 * Copyright (c) 2021-2022 Amlogic, Inc. All rights reserved.
3 *
4 * SPDX-License-Identifier: MIT
5 */
6
7#ifndef __CEC_S4_DATA_H__
8#define __CEC_S4_DATA_H__
9
10/*s4 data define*/
11
12/*GPIOH_3 FUNC4:ceca, FUNC1:ceca FUNC2:cecb*/
xiaohu.huang38262102022-05-06 22:21:48 +080013#define CEC_PIN_MX GPIOH_3
14#define CEC_PIN_FUNC PIN_FUNC2
15#define CEC_IP 1 /* 0: cec a, 1: cecb*/
Xiaohu.Huanga2c5a042022-03-12 22:41:09 +080016
17//reg table define
18//#define CEC_CHIP_SEL_T7
19//#define CEC_CHIP_SEL_T5
20//#define CEC_CHIP_SEL_SC2
21#define CEC_CHIP_SEL_S4
22
xiaohu.huang38262102022-05-06 22:21:48 +080023#define CEC_ON 1
Xiaohu.Huanga2c5a042022-03-12 22:41:09 +080024#endif