aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan M Schaeckeler <[email protected]>2019-01-17 08:38:17 -0800
committerBorislav Petkov <[email protected]>2019-01-18 15:26:49 +0100
commit5296bab33b6037897a1e32958ddbc2b3dab405be (patch)
tree3af1ed438c422d24327fd9c9d27239853ec1c9bf
parent9b7e6242ee4efcd7f9ef699bf1965e3a5343f216 (diff)
dt-bindings, EDAC: Add Aspeed AST2500
Add support for EDAC on the Aspeed AST2500 SoC. Signed-off-by: Stefan M Schaeckeler <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Reviewed-by: Andrew Jeffery <[email protected]> Cc: Joel Stanley <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Mauro Carvalho Chehab <[email protected]> Cc: Rob Herring <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: linux-edac <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
-rw-r--r--Documentation/devicetree/bindings/edac/aspeed-sdram-edac.txt25
1 files changed, 25 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/edac/aspeed-sdram-edac.txt b/Documentation/devicetree/bindings/edac/aspeed-sdram-edac.txt
new file mode 100644
index 000000000000..6a0f3d90d682
--- /dev/null
+++ b/Documentation/devicetree/bindings/edac/aspeed-sdram-edac.txt
@@ -0,0 +1,25 @@
+Aspeed AST2500 SoC EDAC node
+
+The Aspeed AST2500 SoC supports DDR3 and DDR4 memory with and without ECC (error
+correction check).
+
+The memory controller supports SECDED (single bit error correction, double bit
+error detection) and single bit error auto scrubbing by reserving 8 bits for
+every 64 bit word (effectively reducing available memory to 8/9).
+
+Note, the bootloader must configure ECC mode in the memory controller.
+
+
+Required properties:
+- compatible: should be "aspeed,ast2500-sdram-edac"
+- reg: sdram controller register set should be <0x1e6e0000 0x174>
+- interrupts: should be AVIC interrupt #0
+
+
+Example:
+
+ edac: sdram@1e6e0000 {
+ compatible = "aspeed,ast2500-sdram-edac";
+ reg = <0x1e6e0000 0x174>;
+ interrupts = <0>;
+ };