Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings, EDAC: Add Aspeed AST2500

Add support for EDAC on the Aspeed AST2500 SoC.

Signed-off-by: Stefan M Schaeckeler <sschaeck@cisco.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Cc: Joel Stanley <joel@jms.id.au>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: devicetree@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-aspeed@lists.ozlabs.org
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: https://lkml.kernel.org/r/1547743097-5236-3-git-send-email-schaecsn@gmx.net

authored by

Stefan M Schaeckeler and committed by
Borislav Petkov
5296bab3 9b7e6242

+25
+25
Documentation/devicetree/bindings/edac/aspeed-sdram-edac.txt
··· 1 + Aspeed AST2500 SoC EDAC node 2 + 3 + The Aspeed AST2500 SoC supports DDR3 and DDR4 memory with and without ECC (error 4 + correction check). 5 + 6 + The memory controller supports SECDED (single bit error correction, double bit 7 + error detection) and single bit error auto scrubbing by reserving 8 bits for 8 + every 64 bit word (effectively reducing available memory to 8/9). 9 + 10 + Note, the bootloader must configure ECC mode in the memory controller. 11 + 12 + 13 + Required properties: 14 + - compatible: should be "aspeed,ast2500-sdram-edac" 15 + - reg: sdram controller register set should be <0x1e6e0000 0x174> 16 + - interrupts: should be AVIC interrupt #0 17 + 18 + 19 + Example: 20 + 21 + edac: sdram@1e6e0000 { 22 + compatible = "aspeed,ast2500-sdram-edac"; 23 + reg = <0x1e6e0000 0x174>; 24 + interrupts = <0>; 25 + };