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

dt-bindings: edac: Add bindings for Xilinx ZynqMP OCM

Add bindings for Xilinx ZynqMP OCM controller.

Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Co-developed-by: Sai Krishna Potthuri <sai.krishna.potthuri@amd.com>
Signed-off-by: Sai Krishna Potthuri <sai.krishna.potthuri@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230104084512.1855243-2-sai.krishna.potthuri@amd.com

authored by

Shubhrajyoti Datta and committed by
Borislav Petkov (AMD)
c67ea7d2 b7bfaa76

+45
+45
Documentation/devicetree/bindings/memory-controllers/xlnx,zynqmp-ocmc-1.0.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/memory-controllers/xlnx,zynqmp-ocmc-1.0.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Xilinx Zynqmp OCM(On-Chip Memory) Controller 8 + 9 + maintainers: 10 + - Shubhrajyoti Datta <shubhrajyoti.datta@amd.com> 11 + - Sai Krishna Potthuri <sai.krishna.potthuri@amd.com> 12 + 13 + description: | 14 + The OCM supports 64-bit wide ECC functionality to detect multi-bit errors 15 + and recover from a single-bit memory fault.On a write, if all bytes are 16 + being written, the ECC is generated and written into the ECC RAM along with 17 + the write-data that is written into the data RAM. If one or more bytes are 18 + not written, then the read operation results in an correctable error or 19 + uncorrectable error. 20 + 21 + properties: 22 + compatible: 23 + const: xlnx,zynqmp-ocmc-1.0 24 + 25 + reg: 26 + maxItems: 1 27 + 28 + interrupts: 29 + maxItems: 1 30 + 31 + required: 32 + - compatible 33 + - reg 34 + - interrupts 35 + 36 + additionalProperties: false 37 + 38 + examples: 39 + - | 40 + #include <dt-bindings/interrupt-controller/arm-gic.h> 41 + memory-controller@ff960000 { 42 + compatible = "xlnx,zynqmp-ocmc-1.0"; 43 + reg = <0xff960000 0x1000>; 44 + interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; 45 + };