summaryrefslogtreecommitdiffstats
path: root/dts/include/dt-bindings/pinctrl/omap.h
diff options
context:
space:
mode:
Diffstat (limited to 'dts/include/dt-bindings/pinctrl/omap.h')
-rw-r--r--dts/include/dt-bindings/pinctrl/omap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dts/include/dt-bindings/pinctrl/omap.h b/dts/include/dt-bindings/pinctrl/omap.h
index 49b5dea..6257180 100644
--- a/dts/include/dt-bindings/pinctrl/omap.h
+++ b/dts/include/dt-bindings/pinctrl/omap.h
@@ -65,6 +65,7 @@
#define DM814X_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x0800) (val)
#define DM816X_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x0800) (val)
#define AM33XX_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x0800) (val)
+#define AM33XX_PADCONF(pa, dir, mux) OMAP_IOPAD_OFFSET((pa), 0x0800) ((dir) | (mux))
/*
* Macros to allow using the offset from the padconf physical address