| .. | .. |
|---|
| 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>; |
|---|
| 15 | 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>; |
|---|
| 32 | + }; |
|---|