summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/memory-controllers/xlnx,zynqmp-ocmc-1.0.yaml
blob: ca9fc747bf4feb7adf701ab98d19c2c8c798dfe6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/memory-controllers/xlnx,zynqmp-ocmc-1.0.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Xilinx Zynqmp OCM(On-Chip Memory) Controller

maintainers:
  - Shubhrajyoti Datta <shubhrajyoti.datta@amd.com>
  - Sai Krishna Potthuri <sai.krishna.potthuri@amd.com>

description: |
  The OCM supports 64-bit wide ECC functionality to detect multi-bit errors
  and recover from a single-bit memory fault.On a write, if all bytes are
  being written, the ECC is generated and written into the ECC RAM along with
  the write-data that is written into the data RAM. If one or more bytes are
  not written, then the read operation results in an correctable error or
  uncorrectable error.

properties:
  compatible:
    const: xlnx,zynqmp-ocmc-1.0

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

required:
  - compatible
  - reg
  - interrupts

additionalProperties: false

examples:
  - |
    #include <dt-bindings/interrupt-controller/arm-gic.h>
    memory-controller@ff960000 {
      compatible = "xlnx,zynqmp-ocmc-1.0";
      reg = <0xff960000 0x1000>;
      interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
    };