^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) %YAML 1.2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) ---
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) $id: http://devicetree.org/schemas/edac/dmc-520.yaml#
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) $schema: http://devicetree.org/meta-schemas/core.yaml#
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) title: ARM DMC-520 EDAC bindings
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) maintainers:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) - Lei Wang <lewan@microsoft.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) description: |+
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) DMC-520 node is defined to describe DRAM error detection and correction.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) https://static.docs.arm.com/100000/0200/corelink_dmc520_trm_100000_0200_01_en.pdf
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) compatible:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) items:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) - const: brcm,dmc-520
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) - const: arm,dmc-520
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) reg:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) maxItems: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) interrupts:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) minItems: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) maxItems: 10
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) interrupt-names:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) minItems: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) maxItems: 10
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) items:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) enum:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) - ram_ecc_errc
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) - ram_ecc_errd
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) - dram_ecc_errc
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) - dram_ecc_errd
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) - failed_access
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) - failed_prog
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) - link_err
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) - temperature_event
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) - arch_fsm
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) - phy_request
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) required:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) - compatible
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) - reg
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) - interrupts
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) - interrupt-names
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) additionalProperties: false
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) examples:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) - |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) dmc0: dmc@200000 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) compatible = "brcm,dmc-520", "arm,dmc-520";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) reg = <0x200000 0x80000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) interrupts = <0x0 0x349 0x4>, <0x0 0x34B 0x4>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) interrupt-names = "dram_ecc_errc", "dram_ecc_errd";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) };