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

Documentation: dt: edac: Add Stratix10 Peripheral bindings

Add peripheral bindings for Stratix10 EDAC to capture
the differences between the ARM64 and ARM32 architecture.

Signed-off-by: Thor Thayer <thor.thayer@linux.intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Rob Herring <robh@kernel.org>
Cc: James Morse <james.morse@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: devicetree@vger.kernel.org
Cc: dinguyen@kernel.org
Cc: linux-edac <linux-edac@vger.kernel.org>
Cc: mark.rutland@arm.com
Cc: mchehab@kernel.org
Link: https://lkml.kernel.org/r/1554388597-28019-3-git-send-email-thor.thayer@linux.intel.com

authored by

Thor Thayer and committed by
Borislav Petkov
71eec083 b9c8172e

+106
+106
Documentation/devicetree/bindings/edac/socfpga-eccmgr.txt
··· 258 258 - compatible : Should be "altr,sdram-edac-s10" 259 259 - interrupts : Should be single bit error interrupt. 260 260 261 + On-Chip RAM ECC 262 + Required Properties: 263 + - compatible : Should be "altr,socfpga-s10-ocram-ecc" 264 + - reg : Address and size for ECC block registers. 265 + - altr,ecc-parent : phandle to parent OCRAM node. 266 + - interrupts : Should be single bit error interrupt. 267 + 268 + Ethernet FIFO ECC 269 + Required Properties: 270 + - compatible : Should be "altr,socfpga-s10-eth-mac-ecc" 271 + - reg : Address and size for ECC block registers. 272 + - altr,ecc-parent : phandle to parent Ethernet node. 273 + - interrupts : Should be single bit error interrupt. 274 + 275 + NAND FIFO ECC 276 + Required Properties: 277 + - compatible : Should be "altr,socfpga-s10-nand-ecc" 278 + - reg : Address and size for ECC block registers. 279 + - altr,ecc-parent : phandle to parent NAND node. 280 + - interrupts : Should be single bit error interrupt. 281 + 282 + DMA FIFO ECC 283 + Required Properties: 284 + - compatible : Should be "altr,socfpga-s10-dma-ecc" 285 + - reg : Address and size for ECC block registers. 286 + - altr,ecc-parent : phandle to parent DMA node. 287 + - interrupts : Should be single bit error interrupt. 288 + 289 + USB FIFO ECC 290 + Required Properties: 291 + - compatible : Should be "altr,socfpga-s10-usb-ecc" 292 + - reg : Address and size for ECC block registers. 293 + - altr,ecc-parent : phandle to parent USB node. 294 + - interrupts : Should be single bit error interrupt. 295 + 296 + SDMMC FIFO ECC 297 + Required Properties: 298 + - compatible : Should be "altr,socfpga-s10-sdmmc-ecc" 299 + - reg : Address and size for ECC block registers. 300 + - altr,ecc-parent : phandle to parent SD/MMC node. 301 + - interrupts : Should be single bit error interrupt for port A 302 + and then single bit error interrupt for port B. 303 + 261 304 Example: 262 305 263 306 eccmgr { ··· 316 273 sdramedac { 317 274 compatible = "altr,sdram-edac-s10"; 318 275 interrupts = <16 IRQ_TYPE_LEVEL_HIGH>; 276 + }; 277 + 278 + ocram-ecc@ff8cc000 { 279 + compatible = "altr,socfpga-s10-ocram-ecc"; 280 + reg = <ff8cc000 0x100>; 281 + altr,ecc-parent = <&ocram>; 282 + interrupts = <1 IRQ_TYPE_LEVEL_HIGH>; 283 + }; 284 + 285 + emac0-rx-ecc@ff8c0000 { 286 + compatible = "altr,socfpga-s10-eth-mac-ecc"; 287 + reg = <0xff8c0000 0x100>; 288 + altr,ecc-parent = <&gmac0>; 289 + interrupts = <4 IRQ_TYPE_LEVEL_HIGH>; 290 + }; 291 + 292 + emac0-tx-ecc@ff8c0400 { 293 + compatible = "altr,socfpga-s10-eth-mac-ecc"; 294 + reg = <0xff8c0400 0x100>; 295 + altr,ecc-parent = <&gmac0>; 296 + interrupts = <5 IRQ_TYPE_LEVEL_HIGH>' 297 + }; 298 + 299 + nand-buf-ecc@ff8c8000 { 300 + compatible = "altr,socfpga-s10-nand-ecc"; 301 + reg = <0xff8c8000 0x100>; 302 + altr,ecc-parent = <&nand>; 303 + interrupts = <11 IRQ_TYPE_LEVEL_HIGH>; 304 + }; 305 + 306 + nand-rd-ecc@ff8c8400 { 307 + compatible = "altr,socfpga-s10-nand-ecc"; 308 + reg = <0xff8c8400 0x100>; 309 + altr,ecc-parent = <&nand>; 310 + interrupts = <13 IRQ_TYPE_LEVEL_HIGH>; 311 + }; 312 + 313 + nand-wr-ecc@ff8c8800 { 314 + compatible = "altr,socfpga-s10-nand-ecc"; 315 + reg = <0xff8c8800 0x100>; 316 + altr,ecc-parent = <&nand>; 317 + interrupts = <12 IRQ_TYPE_LEVEL_HIGH>; 318 + }; 319 + 320 + dma-ecc@ff8c9000 { 321 + compatible = "altr,socfpga-s10-dma-ecc"; 322 + reg = <0xff8c9000 0x100>; 323 + altr,ecc-parent = <&pdma>; 324 + interrupts = <10 IRQ_TYPE_LEVEL_HIGH>; 325 + 326 + usb0-ecc@ff8c4000 { 327 + compatible = "altr,socfpga-s10-usb-ecc"; 328 + reg = <0xff8c4000 0x100>; 329 + altr,ecc-parent = <&usb0>; 330 + interrupts = <2 IRQ_TYPE_LEVEL_HIGH>; 331 + }; 332 + 333 + sdmmc-ecc@ff8c8c00 { 334 + compatible = "altr,socfpga-s10-sdmmc-ecc"; 335 + reg = <0xff8c8c00 0x100>; 336 + altr,ecc-parent = <&mmc>; 337 + interrupts = <14 IRQ_TYPE_LEVEL_HIGH>, 338 + <15 IRQ_TYPE_LEVEL_HIGH>; 319 339 }; 320 340 };