1e54686e4SMugunthan V N /* 2e54686e4SMugunthan V N * This header provides constants specific to AM43XX pinctrl bindings. 3e54686e4SMugunthan V N */ 4e54686e4SMugunthan V N 5e54686e4SMugunthan V N #ifndef _DT_BINDINGS_PINCTRL_AM43XX_H 6e54686e4SMugunthan V N #define _DT_BINDINGS_PINCTRL_AM43XX_H 7e54686e4SMugunthan V N 8e54686e4SMugunthan V N #define MUX_MODE0 0 9e54686e4SMugunthan V N #define MUX_MODE1 1 10e54686e4SMugunthan V N #define MUX_MODE2 2 11e54686e4SMugunthan V N #define MUX_MODE3 3 12e54686e4SMugunthan V N #define MUX_MODE4 4 13e54686e4SMugunthan V N #define MUX_MODE5 5 14e54686e4SMugunthan V N #define MUX_MODE6 6 15e54686e4SMugunthan V N #define MUX_MODE7 7 16dfc9d3f1SDarren Etheridge #define MUX_MODE8 8 17e54686e4SMugunthan V N 18e54686e4SMugunthan V N #define PULL_DISABLE (1 << 16) 19e54686e4SMugunthan V N #define PULL_UP (1 << 17) 20e54686e4SMugunthan V N #define INPUT_EN (1 << 18) 2110b21855SDave Gerlach #define SLEWCTRL_SLOW (1 << 19) 2210b21855SDave Gerlach #define SLEWCTRL_FAST 0 23e54686e4SMugunthan V N #define DS0_PULL_UP_DOWN_EN (1 << 27) 24*b6bbf598SEyal Reizer #define WAKEUP_ENABLE (1 << 29) 25e54686e4SMugunthan V N 26e54686e4SMugunthan V N #define PIN_OUTPUT (PULL_DISABLE) 27e54686e4SMugunthan V N #define PIN_OUTPUT_PULLUP (PULL_UP) 28e54686e4SMugunthan V N #define PIN_OUTPUT_PULLDOWN 0 29e54686e4SMugunthan V N #define PIN_INPUT (INPUT_EN | PULL_DISABLE) 30e54686e4SMugunthan V N #define PIN_INPUT_PULLUP (INPUT_EN | PULL_UP) 31e54686e4SMugunthan V N #define PIN_INPUT_PULLDOWN (INPUT_EN) 32e54686e4SMugunthan V N 33e54686e4SMugunthan V N #endif 34e54686e4SMugunthan V N 35