mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 00:48:50 +00:00
e36a17f846
Add Aspeed AST2400 and AST2600 binding for the Aspeed EDAC driver. Signed-off-by: Troy Lee <troy_lee@aspeedtech.com> Signed-off-by: Borislav Petkov <bp@suse.de> Acked-by: Joel Stanley <joel@jms.id.au> Link: https://lkml.kernel.org/r/20201207090013.14145-1-troy_lee@aspeedtech.com
28 lines
811 B
Text
28 lines
811 B
Text
Aspeed BMC SoC EDAC node
|
|
|
|
The Aspeed BMC 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 one of
|
|
- "aspeed,ast2400-sdram-edac"
|
|
- "aspeed,ast2500-sdram-edac"
|
|
- "aspeed,ast2600-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>;
|
|
};
|