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 | |
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')
-rw-r--r-- | include/dt-bindings/pinctrl/am43xx.h | 6 | ||||
-rw-r--r-- | include/dt-bindings/sound/tlv320aic31xx-micbias.h | 8 |
2 files changed, 14 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 diff --git a/include/dt-bindings/sound/tlv320aic31xx-micbias.h b/include/dt-bindings/sound/tlv320aic31xx-micbias.h new file mode 100644 index 0000000000..f5cb772ab9 --- /dev/null +++ b/include/dt-bindings/sound/tlv320aic31xx-micbias.h @@ -0,0 +1,8 @@ +#ifndef __DT_TLV320AIC31XX_MICBIAS_H +#define __DT_TLV320AIC31XX_MICBIAS_H + +#define MICBIAS_2_0V 1 +#define MICBIAS_2_5V 2 +#define MICBIAS_AVDDV 3 + +#endif /* __DT_TLV320AIC31XX_MICBIAS_H */ |