summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500/include/mach/db8500-regs.h
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2012-02-06 11:22:24 -0800
committerArnd Bergmann <arnd@arndb.de>2012-02-13 06:31:38 +0000
commiteda413c228e227d888bc13d210e7c4c6aa62a682 (patch)
tree998f73c26e85a3557a2c911fd954c7ad0c0c8462 /arch/arm/mach-ux500/include/mach/db8500-regs.h
parent18403424c4fe5bac509bf52343f5d5407d45ee3a (diff)
ARM: ux500: export System-on-Chip information ux500 via sysfs
Here we make use of the new System-On-Chip bus driver to export vital SoC information out to userspace via sysfs. This patch provides a data structure of strings to populate the base nodes found in: /sys/devices/soc[0|1|2|...]/[family|machine|revision|soc_id]. It also adds one more node as requested by ST-Ericsson. 'process' depicts the way in which the silicon was manufactured. Signed-off-by: Lee Jones <lee.jones@linaro.org> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-ux500/include/mach/db8500-regs.h')
-rw-r--r--arch/arm/mach-ux500/include/mach/db8500-regs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/include/mach/db8500-regs.h b/arch/arm/mach-ux500/include/mach/db8500-regs.h
index 80e10f50282..9ec20b96d8f 100644
--- a/arch/arm/mach-ux500/include/mach/db8500-regs.h
+++ b/arch/arm/mach-ux500/include/mach/db8500-regs.h
@@ -161,4 +161,7 @@
#define U8500_MODEM_BASE 0xe000000
#define U8500_APE_BASE 0x6000000
+/* SoC identification number information */
+#define U8500_BB_UID_BASE (U8500_BACKUPRAM1_BASE + 0xFC0)
+
#endif