xref: /linux/Documentation/devicetree/bindings/edac/aspeed-sdram-edac.txt (revision cdd38c5f1ce4398ec58fec95904b75824daab7b5)
1*e36a17f8STroy LeeAspeed BMC SoC EDAC node
25296bab3SStefan M Schaeckeler
3*e36a17f8STroy LeeThe Aspeed BMC SoC supports DDR3 and DDR4 memory with and without ECC (error
45296bab3SStefan M Schaeckelercorrection check).
55296bab3SStefan M Schaeckeler
65296bab3SStefan M SchaeckelerThe memory controller supports SECDED (single bit error correction, double bit
75296bab3SStefan M Schaeckelererror detection) and single bit error auto scrubbing by reserving 8 bits for
85296bab3SStefan M Schaeckelerevery 64 bit word (effectively reducing available memory to 8/9).
95296bab3SStefan M Schaeckeler
105296bab3SStefan M SchaeckelerNote, the bootloader must configure ECC mode in the memory controller.
115296bab3SStefan M Schaeckeler
125296bab3SStefan M Schaeckeler
135296bab3SStefan M SchaeckelerRequired properties:
14*e36a17f8STroy Lee- compatible: should be one of
15*e36a17f8STroy Lee	- "aspeed,ast2400-sdram-edac"
16*e36a17f8STroy Lee	- "aspeed,ast2500-sdram-edac"
17*e36a17f8STroy Lee	- "aspeed,ast2600-sdram-edac"
185296bab3SStefan M Schaeckeler- reg:        sdram controller register set should be <0x1e6e0000 0x174>
195296bab3SStefan M Schaeckeler- interrupts: should be AVIC interrupt #0
205296bab3SStefan M Schaeckeler
215296bab3SStefan M Schaeckeler
225296bab3SStefan M SchaeckelerExample:
235296bab3SStefan M Schaeckeler
245296bab3SStefan M Schaeckeler	edac: sdram@1e6e0000 {
255296bab3SStefan M Schaeckeler		compatible = "aspeed,ast2500-sdram-edac";
265296bab3SStefan M Schaeckeler		reg = <0x1e6e0000 0x174>;
275296bab3SStefan M Schaeckeler		interrupts = <0>;
285296bab3SStefan M Schaeckeler	};
29