/* SPDX-License-Identifier: GPL-2.0 */
/*
* This header provides constants specific to AM33XX pinctrl bindings.
*/
#ifndef _DT_BINDINGS_PINCTRL_AM33XX_H
#define _DT_BINDINGS_PINCTRL_AM33XX_H
#include <dt-bindings/pinctrl/omap.h>
/* am33xx specific mux bit defines */
#undef PULL_ENA
#undef INPUT_EN
#define PULL_DISABLE (1 << 3 )
#define INPUT_EN (1 << 5 )
#define SLEWCTRL_SLOW (1 << 6 )
#define SLEWCTRL_FAST 0
/* update macro depending on INPUT_EN and PULL_ENA */
#undef PIN_OUTPUT
#undef PIN_OUTPUT_PULLUP
#undef PIN_OUTPUT_PULLDOWN
#undef PIN_INPUT
#undef PIN_INPUT_PULLUP
#undef PIN_INPUT_PULLDOWN
#define PIN_OUTPUT (PULL_DISABLE)
#define PIN_OUTPUT_PULLUP (PULL_UP)
#define PIN_OUTPUT_PULLDOWN 0
#define PIN_INPUT (INPUT_EN | PULL_DISABLE)
#define PIN_INPUT_PULLUP (INPUT_EN | PULL_UP)
#define PIN_INPUT_PULLDOWN (INPUT_EN)
/* undef non-existing modes */
#undef PIN_OFF_NONE
#undef PIN_OFF_OUTPUT_HIGH
#undef PIN_OFF_OUTPUT_LOW
#undef PIN_OFF_INPUT_PULLUP
#undef PIN_OFF_INPUT_PULLDOWN
#undef PIN_OFF_WAKEUPENABLE
#define AM335X_PIN_OFFSET_MIN 0 x0800U
#define AM335X_PIN_GPMC_AD0 0 x800
#define AM335X_PIN_GPMC_AD1 0 x804
#define AM335X_PIN_GPMC_AD2 0 x808
#define AM335X_PIN_GPMC_AD3 0 x80c
#define AM335X_PIN_GPMC_AD4 0 x810
#define AM335X_PIN_GPMC_AD5 0 x814
#define AM335X_PIN_GPMC_AD6 0 x818
#define AM335X_PIN_GPMC_AD7 0 x81c
#define AM335X_PIN_GPMC_AD8 0 x820
#define AM335X_PIN_GPMC_AD9 0 x824
#define AM335X_PIN_GPMC_AD10 0 x828
#define AM335X_PIN_GPMC_AD11 0 x82c
#define AM335X_PIN_GPMC_AD12 0 x830
#define AM335X_PIN_GPMC_AD13 0 x834
#define AM335X_PIN_GPMC_AD14 0 x838
#define AM335X_PIN_GPMC_AD15 0 x83c
#define AM335X_PIN_GPMC_A0 0 x840
#define AM335X_PIN_GPMC_A1 0 x844
#define AM335X_PIN_GPMC_A2 0 x848
#define AM335X_PIN_GPMC_A3 0 x84c
#define AM335X_PIN_GPMC_A4 0 x850
#define AM335X_PIN_GPMC_A5 0 x854
#define AM335X_PIN_GPMC_A6 0 x858
#define AM335X_PIN_GPMC_A7 0 x85c
#define AM335X_PIN_GPMC_A8 0 x860
#define AM335X_PIN_GPMC_A9 0 x864
#define AM335X_PIN_GPMC_A10 0 x868
#define AM335X_PIN_GPMC_A11 0 x86c
#define AM335X_PIN_GPMC_WAIT0 0 x870
#define AM335X_PIN_GPMC_WPN 0 x874
#define AM335X_PIN_GPMC_BEN1 0 x878
#define AM335X_PIN_GPMC_CSN0 0 x87c
#define AM335X_PIN_GPMC_CSN1 0 x880
#define AM335X_PIN_GPMC_CSN2 0 x884
#define AM335X_PIN_GPMC_CSN3 0 x888
#define AM335X_PIN_GPMC_CLK 0 x88c
#define AM335X_PIN_GPMC_ADVN_ALE 0 x890
#define AM335X_PIN_GPMC_OEN_REN 0 x894
#define AM335X_PIN_GPMC_WEN 0 x898
#define AM335X_PIN_GPMC_BEN0_CLE 0 x89c
#define AM335X_PIN_LCD_DATA0 0 x8a0
#define AM335X_PIN_LCD_DATA1 0 x8a4
#define AM335X_PIN_LCD_DATA2 0 x8a8
#define AM335X_PIN_LCD_DATA3 0 x8ac
#define AM335X_PIN_LCD_DATA4 0 x8b0
#define AM335X_PIN_LCD_DATA5 0 x8b4
#define AM335X_PIN_LCD_DATA6 0 x8b8
#define AM335X_PIN_LCD_DATA7 0 x8bc
#define AM335X_PIN_LCD_DATA8 0 x8c0
#define AM335X_PIN_LCD_DATA9 0 x8c4
#define AM335X_PIN_LCD_DATA10 0 x8c8
#define AM335X_PIN_LCD_DATA11 0 x8cc
#define AM335X_PIN_LCD_DATA12 0 x8d0
#define AM335X_PIN_LCD_DATA13 0 x8d4
#define AM335X_PIN_LCD_DATA14 0 x8d8
#define AM335X_PIN_LCD_DATA15 0 x8dc
#define AM335X_PIN_LCD_VSYNC 0 x8e0
#define AM335X_PIN_LCD_HSYNC 0 x8e4
#define AM335X_PIN_LCD_PCLK 0 x8e8
#define AM335X_PIN_LCD_AC_BIAS_EN 0 x8ec
#define AM335X_PIN_MMC0_DAT3 0 x8f0
#define AM335X_PIN_MMC0_DAT2 0 x8f4
#define AM335X_PIN_MMC0_DAT1 0 x8f8
#define AM335X_PIN_MMC0_DAT0 0 x8fc
#define AM335X_PIN_MMC0_CLK 0 x900
#define AM335X_PIN_MMC0_CMD 0 x904
#define AM335X_PIN_MII1_COL 0 x908
#define AM335X_PIN_MII1_CRS 0 x90c
#define AM335X_PIN_MII1_RX_ER 0 x910
#define AM335X_PIN_MII1_TX_EN 0 x914
#define AM335X_PIN_MII1_RX_DV 0 x918
#define AM335X_PIN_MII1_TXD3 0 x91c
#define AM335X_PIN_MII1_TXD2 0 x920
#define AM335X_PIN_MII1_TXD1 0 x924
#define AM335X_PIN_MII1_TXD0 0 x928
#define AM335X_PIN_MII1_TX_CLK 0 x92c
#define AM335X_PIN_MII1_RX_CLK 0 x930
#define AM335X_PIN_MII1_RXD3 0 x934
#define AM335X_PIN_MII1_RXD2 0 x938
#define AM335X_PIN_MII1_RXD1 0 x93c
#define AM335X_PIN_MII1_RXD0 0 x940
#define AM335X_PIN_RMII1_REF_CLK 0 x944
#define AM335X_PIN_MDIO 0 x948
#define AM335X_PIN_MDC 0 x94c
#define AM335X_PIN_SPI0_SCLK 0 x950
#define AM335X_PIN_SPI0_D0 0 x954
#define AM335X_PIN_SPI0_D1 0 x958
#define AM335X_PIN_SPI0_CS0 0 x95c
#define AM335X_PIN_SPI0_CS1 0 x960
#define AM335X_PIN_ECAP0_IN_PWM0_OUT 0 x964
#define AM335X_PIN_UART0_CTSN 0 x968
#define AM335X_PIN_UART0_RTSN 0 x96c
#define AM335X_PIN_UART0_RXD 0 x970
#define AM335X_PIN_UART0_TXD 0 x974
#define AM335X_PIN_UART1_CTSN 0 x978
#define AM335X_PIN_UART1_RTSN 0 x97c
#define AM335X_PIN_UART1_RXD 0 x980
#define AM335X_PIN_UART1_TXD 0 x984
#define AM335X_PIN_I2C0_SDA 0 x988
#define AM335X_PIN_I2C0_SCL 0 x98c
#define AM335X_PIN_MCASP0_ACLKX 0 x990
#define AM335X_PIN_MCASP0_FSX 0 x994
#define AM335X_PIN_MCASP0_AXR0 0 x998
#define AM335X_PIN_MCASP0_AHCLKR 0 x99c
#define AM335X_PIN_MCASP0_ACLKR 0 x9a0
#define AM335X_PIN_MCASP0_FSR 0 x9a4
#define AM335X_PIN_MCASP0_AXR1 0 x9a8
#define AM335X_PIN_MCASP0_AHCLKX 0 x9ac
#define AM335X_PIN_XDMA_EVENT_INTR0 0 x9b0
#define AM335X_PIN_XDMA_EVENT_INTR1 0 x9b4
#define AM335X_PIN_WARMRSTN 0 x9b8
#define AM335X_PIN_NNMI 0 x9c0
#define AM335X_PIN_TMS 0 x9d0
#define AM335X_PIN_TDI 0 x9d4
#define AM335X_PIN_TDO 0 x9d8
#define AM335X_PIN_TCK 0 x9dc
#define AM335X_PIN_TRSTN 0 x9e0
#define AM335X_PIN_EMU0 0 x9e4
#define AM335X_PIN_EMU1 0 x9e8
#define AM335X_PIN_RTC_PWRONRSTN 0 x9f8
#define AM335X_PIN_PMIC_POWER_EN 0 x9fc
#define AM335X_PIN_EXT_WAKEUP 0 xa00
#define AM335X_PIN_USB0_DRVVBUS 0 xa1c
#define AM335X_PIN_USB1_DRVVBUS 0 xa34
#define AM335X_PIN_OFFSET_MAX 0 x0a34U
#endif
Messung V0.5 in Prozent C=95 H=94 G=94
¤ Dauer der Verarbeitung: 0.9 Sekunden
(vorverarbeitet am 2026-06-07)
¤
*© Formatika GbR, Deutschland