aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ep93xx/ts72xx.h
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2017-12-12 00:36:25 +0100
committerAlexander Sverdlin <alexander.sverdlin@gmail.com>2017-12-13 22:26:10 +0100
commitc8cee3596d955f9d4f5efa09ff091ab7e26fe066 (patch)
tree06bc1cedb6cc8fb610322a895675649371932fd6 /arch/arm/mach-ep93xx/ts72xx.h
parentARM: ep93xx: ts72xx: cosmetic: Add some description to ts72xx code (diff)
downloadlinux-dev-c8cee3596d955f9d4f5efa09ff091ab7e26fe066.tar.xz
linux-dev-c8cee3596d955f9d4f5efa09ff091ab7e26fe066.zip
ARM: ep93xx: ts72xx: Add support for BK3 board - ts72xx derivative
The BK3 board is a derivative of the ts72xx reference design. Signed-off-by: Lukasz Majewski <lukma@denx.de> Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Diffstat (limited to 'arch/arm/mach-ep93xx/ts72xx.h')
-rw-r--r--arch/arm/mach-ep93xx/ts72xx.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-ep93xx/ts72xx.h b/arch/arm/mach-ep93xx/ts72xx.h
index 7b7490f10fa9..00b4941d29c9 100644
--- a/arch/arm/mach-ep93xx/ts72xx.h
+++ b/arch/arm/mach-ep93xx/ts72xx.h
@@ -10,6 +10,7 @@
* febff000 22000000 4K model number register (bits 0-2)
* febfe000 22400000 4K options register
* febfd000 22800000 4K options register #2
+ * febfc000 23400000 4K CPLD version register
*/
#ifndef __TS72XX_H_
@@ -42,6 +43,10 @@
#define TS72XX_OPTIONS2_TS9420 0x04
#define TS72XX_OPTIONS2_TS9420_BOOT 0x02
+#define TS72XX_CPLDVER_PHYS_BASE 0x23400000
+#define TS72XX_CPLDVER_VIRT_BASE IOMEM(0xfebfc000)
+#define TS72XX_CPLDVER_SIZE 0x00001000
+
#ifndef __ASSEMBLY__
static inline int ts72xx_model(void)