summaryrefslogtreecommitdiff
path: root/src/soc/nvidia/tegra132
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/nvidia/tegra132')
-rw-r--r--src/soc/nvidia/tegra132/include/soc/pinmux.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/soc/nvidia/tegra132/include/soc/pinmux.h b/src/soc/nvidia/tegra132/include/soc/pinmux.h
index 822d091eb8..949127c404 100644
--- a/src/soc/nvidia/tegra132/include/soc/pinmux.h
+++ b/src/soc/nvidia/tegra132/include/soc/pinmux.h
@@ -24,6 +24,22 @@
#include <soc/nvidia/tegra/gpio.h>
#include <soc/nvidia/tegra/pinmux.h>
+enum {
+ PINMUX_FUNC_MASK = 3 << 0,
+
+ PINMUX_PULL_MASK = 3 << 2,
+ PINMUX_PULL_NONE = 0 << 2,
+ PINMUX_PULL_DOWN = 1 << 2,
+ PINMUX_PULL_UP = 2 << 2,
+
+ PINMUX_TRISTATE = 1 << 4,
+ PINMUX_INPUT_ENABLE = 1 << 5,
+ PINMUX_OPEN_DRAIN = 1 << 6,
+ PINMUX_LOCK = 1 << 7,
+ PINMUX_IO_RESET = 1 << 8,
+ PINMUX_RCV_SEL = 1 << 9
+};
+
/* GPIO index constants. */
#define GPIO_PORT_CONSTANTS(port) \