Skip to content

Commit fb6a691

Browse files
mnaranisuryasaimadhu
authored andcommitted
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 <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Reviewed-by: Rob Herring <[email protected]> CC: Mark Rutland <[email protected]> CC: [email protected] CC: [email protected] CC: [email protected] CC: [email protected] CC: linux-edac <[email protected]> CC: [email protected] CC: [email protected] CC: [email protected] Link: http://lkml.kernel.org/r/[email protected]
1 parent 84de0b4 commit fb6a691

File tree

1 file changed

+22
-5
lines changed
  • Documentation/devicetree/bindings/memory-controllers

1 file changed

+22
-5
lines changed
Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,32 @@
11
Binding for Synopsys IntelliDDR Multi Protocol Memory Controller
22

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.
611

712
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.
1020

1121
Example:
1222
memory-controller@f8006000 {
1323
compatible = "xlnx,zynq-ddrc-a05";
1424
reg = <0xf8006000 0x1000>;
1525
};
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>;
32+
};

0 commit comments

Comments
 (0)