From 7dd12830482bd145861578e37b39735abefdaa8f Mon Sep 17 00:00:00 2001 From: Lokesh Vutla Date: Mon, 16 May 2016 11:11:17 +0530 Subject: ARM: dts: AM43x-EPOS Initial Support Add initial DTS support for AM43-EPOS evm. Reviewed-by: Tom Rini Signed-off-by: Lokesh Vutla --- include/dt-bindings/pinctrl/am43xx.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/dt-bindings/pinctrl') diff --git a/include/dt-bindings/pinctrl/am43xx.h b/include/dt-bindings/pinctrl/am43xx.h index 7203687..292c2eb 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 -- cgit v1.1