18c2ecf20Sopenharmony_ciAspeed AST2500 SoC EDAC node 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciThe Aspeed AST2500 SoC supports DDR3 and DDR4 memory with and without ECC (error 48c2ecf20Sopenharmony_cicorrection check). 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ciThe memory controller supports SECDED (single bit error correction, double bit 78c2ecf20Sopenharmony_cierror detection) and single bit error auto scrubbing by reserving 8 bits for 88c2ecf20Sopenharmony_cievery 64 bit word (effectively reducing available memory to 8/9). 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ciNote, the bootloader must configure ECC mode in the memory controller. 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ciRequired properties: 148c2ecf20Sopenharmony_ci- compatible: should be "aspeed,ast2500-sdram-edac" 158c2ecf20Sopenharmony_ci- reg: sdram controller register set should be <0x1e6e0000 0x174> 168c2ecf20Sopenharmony_ci- interrupts: should be AVIC interrupt #0 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ciExample: 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ci edac: sdram@1e6e0000 { 228c2ecf20Sopenharmony_ci compatible = "aspeed,ast2500-sdram-edac"; 238c2ecf20Sopenharmony_ci reg = <0x1e6e0000 0x174>; 248c2ecf20Sopenharmony_ci interrupts = <0>; 258c2ecf20Sopenharmony_ci }; 26