hc
2024-05-10 10ebd8556b7990499c896a550e3d416b444211e6
kernel/Documentation/devicetree/bindings/memory-controllers/synopsys.txt
....@@ -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
+ };