xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/pinctrl/pinctrl-sg2002.h (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
1*b2d2a78aSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause */
2*b2d2a78aSEmmanuel Vadot /*
3*b2d2a78aSEmmanuel Vadot  * Copyright (C) 2024 Inochi Amaoto <inochiama@outlook.com>
4*b2d2a78aSEmmanuel Vadot  *
5*b2d2a78aSEmmanuel Vadot  * This file is generated from vendor pinout definition.
6*b2d2a78aSEmmanuel Vadot  */
7*b2d2a78aSEmmanuel Vadot 
8*b2d2a78aSEmmanuel Vadot #ifndef _DT_BINDINGS_PINCTRL_SG2002_H
9*b2d2a78aSEmmanuel Vadot #define _DT_BINDINGS_PINCTRL_SG2002_H
10*b2d2a78aSEmmanuel Vadot 
11*b2d2a78aSEmmanuel Vadot #include <dt-bindings/pinctrl/pinctrl-cv18xx.h>
12*b2d2a78aSEmmanuel Vadot 
13*b2d2a78aSEmmanuel Vadot #define PIN_AUD_AINL_MIC		2
14*b2d2a78aSEmmanuel Vadot #define PIN_AUD_AOUTR			4
15*b2d2a78aSEmmanuel Vadot #define PIN_SD0_CLK			6
16*b2d2a78aSEmmanuel Vadot #define PIN_SD0_CMD			7
17*b2d2a78aSEmmanuel Vadot #define PIN_SD0_D0			8
18*b2d2a78aSEmmanuel Vadot #define PIN_SD0_D1			10
19*b2d2a78aSEmmanuel Vadot #define PIN_SD0_D2			11
20*b2d2a78aSEmmanuel Vadot #define PIN_SD0_D3			12
21*b2d2a78aSEmmanuel Vadot #define PIN_SD0_CD			14
22*b2d2a78aSEmmanuel Vadot #define PIN_SD0_PWR_EN			15
23*b2d2a78aSEmmanuel Vadot #define PIN_SPK_EN			17
24*b2d2a78aSEmmanuel Vadot #define PIN_UART0_TX			18
25*b2d2a78aSEmmanuel Vadot #define PIN_UART0_RX			19
26*b2d2a78aSEmmanuel Vadot #define PIN_EMMC_DAT2			20
27*b2d2a78aSEmmanuel Vadot #define PIN_EMMC_CLK			21
28*b2d2a78aSEmmanuel Vadot #define PIN_EMMC_DAT0			22
29*b2d2a78aSEmmanuel Vadot #define PIN_EMMC_DAT3			23
30*b2d2a78aSEmmanuel Vadot #define PIN_EMMC_CMD			24
31*b2d2a78aSEmmanuel Vadot #define PIN_EMMC_DAT1			25
32*b2d2a78aSEmmanuel Vadot #define PIN_JTAG_CPU_TMS		26
33*b2d2a78aSEmmanuel Vadot #define PIN_JTAG_CPU_TCK		27
34*b2d2a78aSEmmanuel Vadot #define PIN_IIC0_SCL			28
35*b2d2a78aSEmmanuel Vadot #define PIN_IIC0_SDA			29
36*b2d2a78aSEmmanuel Vadot #define PIN_AUX0			30
37*b2d2a78aSEmmanuel Vadot #define PIN_GPIO_ZQ			35
38*b2d2a78aSEmmanuel Vadot #define PIN_PWR_VBAT_DET		38
39*b2d2a78aSEmmanuel Vadot #define PIN_PWR_RSTN			39
40*b2d2a78aSEmmanuel Vadot #define PIN_PWR_SEQ1			40
41*b2d2a78aSEmmanuel Vadot #define PIN_PWR_SEQ2			41
42*b2d2a78aSEmmanuel Vadot #define PIN_PWR_WAKEUP0			43
43*b2d2a78aSEmmanuel Vadot #define PIN_PWR_BUTTON1			44
44*b2d2a78aSEmmanuel Vadot #define PIN_XTAL_XIN			45
45*b2d2a78aSEmmanuel Vadot #define PIN_PWR_GPIO0			47
46*b2d2a78aSEmmanuel Vadot #define PIN_PWR_GPIO1			48
47*b2d2a78aSEmmanuel Vadot #define PIN_PWR_GPIO2			49
48*b2d2a78aSEmmanuel Vadot #define PIN_SD1_D3			51
49*b2d2a78aSEmmanuel Vadot #define PIN_SD1_D2			52
50*b2d2a78aSEmmanuel Vadot #define PIN_SD1_D1			53
51*b2d2a78aSEmmanuel Vadot #define PIN_SD1_D0			54
52*b2d2a78aSEmmanuel Vadot #define PIN_SD1_CMD			55
53*b2d2a78aSEmmanuel Vadot #define PIN_SD1_CLK			56
54*b2d2a78aSEmmanuel Vadot #define PIN_PWM0_BUCK			58
55*b2d2a78aSEmmanuel Vadot #define PIN_ADC1			59
56*b2d2a78aSEmmanuel Vadot #define PIN_USB_VBUS_DET		60
57*b2d2a78aSEmmanuel Vadot #define PIN_ETH_TXP			62
58*b2d2a78aSEmmanuel Vadot #define PIN_ETH_TXM			63
59*b2d2a78aSEmmanuel Vadot #define PIN_ETH_RXP			64
60*b2d2a78aSEmmanuel Vadot #define PIN_ETH_RXM			65
61*b2d2a78aSEmmanuel Vadot #define PIN_GPIO_RTX			67
62*b2d2a78aSEmmanuel Vadot #define PIN_MIPIRX4N			72
63*b2d2a78aSEmmanuel Vadot #define PIN_MIPIRX4P			73
64*b2d2a78aSEmmanuel Vadot #define PIN_MIPIRX3N			74
65*b2d2a78aSEmmanuel Vadot #define PIN_MIPIRX3P			75
66*b2d2a78aSEmmanuel Vadot #define PIN_MIPIRX2N			76
67*b2d2a78aSEmmanuel Vadot #define PIN_MIPIRX2P			77
68*b2d2a78aSEmmanuel Vadot #define PIN_MIPIRX1N			78
69*b2d2a78aSEmmanuel Vadot #define PIN_MIPIRX1P			79
70*b2d2a78aSEmmanuel Vadot #define PIN_MIPIRX0N			80
71*b2d2a78aSEmmanuel Vadot #define PIN_MIPIRX0P			81
72*b2d2a78aSEmmanuel Vadot #define PIN_MIPI_TXM2			83
73*b2d2a78aSEmmanuel Vadot #define PIN_MIPI_TXP2			84
74*b2d2a78aSEmmanuel Vadot #define PIN_MIPI_TXM1			85
75*b2d2a78aSEmmanuel Vadot #define PIN_MIPI_TXP1			86
76*b2d2a78aSEmmanuel Vadot #define PIN_MIPI_TXM0			87
77*b2d2a78aSEmmanuel Vadot #define PIN_MIPI_TXP0			88
78*b2d2a78aSEmmanuel Vadot 
79*b2d2a78aSEmmanuel Vadot #endif /* _DT_BINDINGS_PINCTRL_SG2002_H */
80