aboutsummaryrefslogtreecommitdiff
path: root/include/ast.h
diff options
context:
space:
mode:
authorRussell Currey <ruscur@russell.cc>2017-02-24 16:36:46 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-03-03 09:50:04 +1100
commitfcb5114c426119dedb0226137d4a3468462f979f (patch)
tree2e70a55f2223dc6a74e7872fab4631667ca7f83a /include/ast.h
parentdca7b559ba83af087114a51954910e8e4b262755 (diff)
downloadskiboot-fcb5114c426119dedb0226137d4a3468462f979f.zip
skiboot-fcb5114c426119dedb0226137d4a3468462f979f.tar.gz
skiboot-fcb5114c426119dedb0226137d4a3468462f979f.tar.bz2
pci/quirk: Populate device tree for AST2400 VGA
Adding these properties enables the kernel to function in the same way that it would if it could no longer access BMC configuration registers through a backdoor, which may become the default in future. The comments describe how isolating the host from the BMC could be achieved in skiboot, assuming all kernels that the system boots support this. Isolating the BMC and the host from each other is important if they are owned by different parties; for example, a cloud provider renting machines "bare metal". Acked-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Russell Currey <ruscur@russell.cc> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/ast.h')
-rw-r--r--include/ast.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/ast.h b/include/ast.h
index 40225e9..414ff6a 100644
--- a/include/ast.h
+++ b/include/ast.h
@@ -51,6 +51,13 @@
/* SCU registers */
#define SCU_BASE 0x1e6e2000
#define SCU_HW_STRAPPING (SCU_BASE + 0x70)
+#define SCU_REVISION_ID (SCU_BASE + 0x7C)
+
+/* MCR registers */
+#define MCR_BASE 0x1e6e0000
+#define MCR_CONFIGURATION (MCR_BASE + 0x04)
+#define MCR_SCU_MPLL (MCR_BASE + 0x120)
+#define MCR_SCU_STRAP (MCR_BASE + 0x170)
/*
* AHB Accessors