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

dt: bindings: Document ZynqMP DDRC in Synopsys documentation

Add information for ZynqMP DDRC which reports the single bit errors that
are corrected and the double bit errors that are detected.

Signed-off-by: Manish Narani <manish.narani@xilinx.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Rob Herring <robh@kernel.org>
CC: Mark Rutland <mark.rutland@arm.com>
CC: amit.kucheria@linaro.org
CC: devicetree@vger.kernel.org
CC: leoyang.li@nxp.com
CC: linux-arm-kernel@lists.infradead.org
CC: linux-edac <linux-edac@vger.kernel.org>
CC: mchehab@kernel.org
CC: michal.simek@xilinx.com
CC: sudeep.holla@arm.com
Link: http://lkml.kernel.org/r/1540447621-22870-3-git-send-email-manish.narani@xilinx.com

authored by

Manish Narani and committed by
Borislav Petkov
fb6a691a 84de0b49

+22 -5
+22 -5
Documentation/devicetree/bindings/memory-controllers/synopsys.txt
··· 1 1 Binding for Synopsys IntelliDDR Multi Protocol Memory Controller 2 2 3 - This controller has an optional ECC support in half-bus width (16-bit) 4 - configuration. The ECC controller corrects one bit error and detects 5 - two bit errors. 3 + The ZynqMP DDR ECC controller has an optional ECC support in 64-bit and 32-bit 4 + bus width configurations. 5 + 6 + The Zynq DDR ECC controller has an optional ECC support in half-bus width 7 + (16-bit) configuration. 8 + 9 + These both ECC controllers correct single bit ECC errors and detect double bit 10 + ECC errors. 6 11 7 12 Required properties: 8 - - compatible: Should be 'xlnx,zynq-ddrc-a05' 9 - - reg: Base address and size of the controllers memory area 13 + - compatible: One of: 14 + - 'xlnx,zynq-ddrc-a05' : Zynq DDR ECC controller 15 + - 'xlnx,zynqmp-ddrc-2.40a' : ZynqMP DDR ECC controller 16 + - reg: Should contain DDR controller registers location and length. 17 + 18 + Required properties for "xlnx,zynqmp-ddrc-2.40a": 19 + - interrupts: Property with a value describing the interrupt number. 10 20 11 21 Example: 12 22 memory-controller@f8006000 { 13 23 compatible = "xlnx,zynq-ddrc-a05"; 14 24 reg = <0xf8006000 0x1000>; 25 + }; 26 + 27 + mc: memory-controller@fd070000 { 28 + compatible = "xlnx,zynqmp-ddrc-2.40a"; 29 + reg = <0x0 0xfd070000 0x0 0x30000>; 30 + interrupt-parent = <&gic>; 31 + interrupts = <0 112 4>; 15 32 };