summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-highbank
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2013-02-16 19:23:46 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-03-03 14:08:44 +0100
commit07ca814239129f91bede0ba2a6de9c36e53fb33c (patch)
tree87b4b99cf030a14e9696a5e3682db1e1a3570e44 /arch/arm/mach-highbank
parente503b299efbbd49cac43878acb1f901c66c41d3d (diff)
downloadbarebox-07ca814239129f91bede0ba2a6de9c36e53fb33c.tar.gz
barebox-07ca814239129f91bede0ba2a6de9c36e53fb33c.tar.xz
highbank: add of fixup
depending on the power domain register we need to disable sata or mmc and update the cpu informations take from Calxeda U-Boot git Register the original dtb to /dev/firmware-dtb and the fixed dtb to /dev/dtb Cc: Rob Herring <rob.herring@calxeda.com> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-highbank')
-rw-r--r--arch/arm/mach-highbank/include/mach/sysregs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-highbank/include/mach/sysregs.h b/arch/arm/mach-highbank/include/mach/sysregs.h
index c879422194..2f058f2d96 100644
--- a/arch/arm/mach-highbank/include/mach/sysregs.h
+++ b/arch/arm/mach-highbank/include/mach/sysregs.h
@@ -23,6 +23,11 @@ extern void __iomem *sregs_base;
#define HB_SREG_A9_PWR_REQ 0xf00
#define HB_SREG_A9_BOOT_STAT 0xf04
#define HB_SREG_A9_BOOT_DATA 0xf08
+#define HB_SREG_A9_PWRDOM_DATA 0xf20
+
+#define HB_PWRDOM_STAT_SATA 0x80000000
+#define HB_PWRDOM_STAT_PCI 0x40000000
+#define HB_PWRDOM_STAT_EMMC 0x20000000
#define HB_PWR_SUSPEND 0
#define HB_PWR_SOFT_RESET 1