1 /* SPDX-License-Identifier: GPL-2.0-only OR BS 1 2 /* 3 * Copyright (C) 2024 Inochi Amaoto <inochiama 4 * 5 * This file is generated from vendor pinout d 6 */ 7 8 #ifndef _DT_BINDINGS_PINCTRL_SG2000_H 9 #define _DT_BINDINGS_PINCTRL_SG2000_H 10 11 #include <dt-bindings/pinctrl/pinctrl-cv18xx.h 12 13 #define PINPOS(row, col) 14 ((((row) - 'A' + 1) << 8) + ((col) - 1 15 16 #define PIN_MIPI_TXM4 PINPOS 17 #define PIN_MIPIRX0N PINPOS 18 #define PIN_MIPIRX3P PINPOS 19 #define PIN_MIPIRX4P PINPOS 20 #define PIN_VIVO_D2 PINPOS 21 #define PIN_VIVO_D3 PINPOS 22 #define PIN_VIVO_D10 PINPOS 23 #define PIN_USB_VBUS_DET PINPOS 24 #define PIN_MIPI_TXP3 PINPOS 25 #define PIN_MIPI_TXM3 PINPOS 26 #define PIN_MIPI_TXP4 PINPOS 27 #define PIN_MIPIRX0P PINPOS 28 #define PIN_MIPIRX1N PINPOS 29 #define PIN_MIPIRX2N PINPOS 30 #define PIN_MIPIRX4N PINPOS 31 #define PIN_MIPIRX5N PINPOS 32 #define PIN_VIVO_D1 PINPOS 33 #define PIN_VIVO_D5 PINPOS 34 #define PIN_VIVO_D7 PINPOS 35 #define PIN_VIVO_D9 PINPOS 36 #define PIN_USB_ID PINPOS 37 #define PIN_ETH_RXM PINPOS 38 #define PIN_MIPI_TXP2 PINPOS 39 #define PIN_MIPI_TXM2 PINPOS 40 #define PIN_CAM_PD0 PINPOS 41 #define PIN_CAM_MCLK0 PINPOS 42 #define PIN_MIPIRX1P PINPOS 43 #define PIN_MIPIRX2P PINPOS 44 #define PIN_MIPIRX3N PINPOS 45 #define PIN_MIPIRX5P PINPOS 46 #define PIN_VIVO_CLK PINPOS 47 #define PIN_VIVO_D6 PINPOS 48 #define PIN_VIVO_D8 PINPOS 49 #define PIN_USB_VBUS_EN PINPOS 50 #define PIN_ETH_RXP PINPOS 51 #define PIN_GPIO_RTX PINPOS 52 #define PIN_MIPI_TXP1 PINPOS 53 #define PIN_MIPI_TXM1 PINPOS 54 #define PIN_CAM_MCLK1 PINPOS 55 #define PIN_IIC3_SCL PINPOS 56 #define PIN_VIVO_D4 PINPOS 57 #define PIN_ETH_TXM PINPOS 58 #define PIN_ETH_TXP PINPOS 59 #define PIN_MIPI_TXP0 PINPOS 60 #define PIN_MIPI_TXM0 PINPOS 61 #define PIN_CAM_PD1 PINPOS 62 #define PIN_CAM_RST0 PINPOS 63 #define PIN_VIVO_D0 PINPOS 64 #define PIN_ADC1 PINPOS 65 #define PIN_ADC2 PINPOS 66 #define PIN_ADC3 PINPOS 67 #define PIN_AUD_AOUTL PINPOS 68 #define PIN_IIC3_SDA PINPOS 69 #define PIN_SD1_D2 PINPOS 70 #define PIN_AUD_AOUTR PINPOS 71 #define PIN_SD1_D3 PINPOS 72 #define PIN_SD1_CLK PINPOS 73 #define PIN_SD1_CMD PINPOS 74 #define PIN_AUD_AINL_MIC PINPOS 75 #define PIN_RSTN PINPOS 76 #define PIN_PWM0_BUCK PINPOS 77 #define PIN_SD1_D1 PINPOS 78 #define PIN_SD1_D0 PINPOS 79 #define PIN_AUD_AINR_MIC PINPOS 80 #define PIN_IIC2_SCL PINPOS 81 #define PIN_IIC2_SDA PINPOS 82 #define PIN_SD0_CD PINPOS 83 #define PIN_SD0_D1 PINPOS 84 #define PIN_UART2_RX PINPOS 85 #define PIN_UART2_CTS PINPOS 86 #define PIN_UART2_TX PINPOS 87 #define PIN_SD0_CLK PINPOS 88 #define PIN_SD0_D0 PINPOS 89 #define PIN_SD0_CMD PINPOS 90 #define PIN_CLK32K PINPOS 91 #define PIN_UART2_RTS PINPOS 92 #define PIN_SD0_D3 PINPOS 93 #define PIN_SD0_D2 PINPOS 94 #define PIN_UART0_RX PINPOS 95 #define PIN_UART0_TX PINPOS 96 #define PIN_JTAG_CPU_TRST PINPOS 97 #define PIN_PWR_ON PINPOS 98 #define PIN_PWR_GPIO2 PINPOS 99 #define PIN_PWR_GPIO0 PINPOS 100 #define PIN_CLK25M PINPOS 101 #define PIN_SD0_PWR_EN PINPOS 102 #define PIN_SPK_EN PINPOS 103 #define PIN_JTAG_CPU_TCK PINPOS 104 #define PIN_JTAG_CPU_TMS PINPOS 105 #define PIN_PWR_WAKEUP1 PINPOS 106 #define PIN_PWR_WAKEUP0 PINPOS 107 #define PIN_PWR_GPIO1 PINPOS 108 #define PIN_EMMC_DAT3 PINPOS 109 #define PIN_EMMC_DAT0 PINPOS 110 #define PIN_EMMC_DAT2 PINPOS 111 #define PIN_EMMC_RSTN PINPOS 112 #define PIN_AUX0 PINPOS 113 #define PIN_IIC0_SDA PINPOS 114 #define PIN_PWR_SEQ3 PINPOS 115 #define PIN_PWR_VBAT_DET PINPOS 116 #define PIN_PWR_SEQ1 PINPOS 117 #define PIN_PWR_BUTTON1 PINPOS 118 #define PIN_EMMC_DAT1 PINPOS 119 #define PIN_EMMC_CMD PINPOS 120 #define PIN_EMMC_CLK PINPOS 121 #define PIN_IIC0_SCL PINPOS 122 #define PIN_GPIO_ZQ PINPOS 123 #define PIN_PWR_RSTN PINPOS 124 #define PIN_PWR_SEQ2 PINPOS 125 #define PIN_XTAL_XIN PINPOS 126 127 #endif /* _DT_BINDINGS_PINCTRL_SG2000_H */ 128
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.