diff options
author | Lokesh Vutla <lokeshvutla@ti.com> | 2016-05-16 11:11:17 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-05-27 15:47:46 -0400 |
commit | 7dd12830482bd145861578e37b39735abefdaa8f (patch) | |
tree | cf766089820f12bb19761c60174c396458e27f6a /include/dt-bindings/pinctrl | |
parent | 4c4e3b37750f3fa1300ce2b69b148d21f6802051 (diff) | |
download | u-boot-7dd12830482bd145861578e37b39735abefdaa8f.tar.gz |
ARM: dts: AM43x-EPOS Initial Support
Add initial DTS support for AM43-EPOS evm.
Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'include/dt-bindings/pinctrl')
-rw-r--r-- | include/dt-bindings/pinctrl/am43xx.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/dt-bindings/pinctrl/am43xx.h b/include/dt-bindings/pinctrl/am43xx.h index 720368782e..292c2ebf58 100644 --- a/include/dt-bindings/pinctrl/am43xx.h +++ b/include/dt-bindings/pinctrl/am43xx.h @@ -30,4 +30,10 @@ #define PIN_INPUT_PULLUP (INPUT_EN | PULL_UP) #define PIN_INPUT_PULLDOWN (INPUT_EN) +/* + * Macro to allow using the absolute physical address instead of the + * padconf registers instead of the offset from padconf base. + */ +#define AM4372_IOPAD(pa, val) (((pa) & 0xffff) - 0x0800) (val) + #endif |