Path: blob/master/Documentation/devicetree/bindings/edac/apm-xgene-edac.txt
26308 views
* APM X-Gene SoC EDAC node12EDAC node is defined to describe on-chip error detection and correction.3The follow error types are supported:45memory controller - Memory controller6PMD (L1/L2) - Processor module unit (PMD) L1/L2 cache7L3 - L3 cache controller8SoC - SoC IP's such as Ethernet, SATA, and etc910The following section describes the EDAC DT node binding.1112Required properties:13- compatible : Shall be "apm,xgene-edac".14- regmap-csw : Regmap of the CPU switch fabric (CSW) resource.15- regmap-mcba : Regmap of the MCB-A (memory bridge) resource.16- regmap-mcbb : Regmap of the MCB-B (memory bridge) resource.17- regmap-efuse : Regmap of the PMD efuse resource.18- regmap-rb : Regmap of the register bus resource. This property19is optional only for compatibility. If the RB20error conditions are not cleared, it will21continuously generate interrupt.22- reg : First resource shall be the CPU bus (PCP) resource.23- interrupts : Interrupt-specifier for MCU, PMD, L3, or SoC error24IRQ(s).2526Required properties for memory controller subnode:27- compatible : Shall be "apm,xgene-edac-mc".28- reg : First resource shall be the memory controller unit29(MCU) resource.30- memory-controller : Instance number of the memory controller.3132Required properties for PMD subnode:33- compatible : Shall be "apm,xgene-edac-pmd" or34"apm,xgene-edac-pmd-v2".35- reg : First resource shall be the PMD resource.36- pmd-controller : Instance number of the PMD controller.3738Required properties for L3 subnode:39- compatible : Shall be "apm,xgene-edac-l3" or40"apm,xgene-edac-l3-v2".41- reg : First resource shall be the L3 EDAC resource.4243Required properties for SoC subnode:44- compatible : Shall be "apm,xgene-edac-soc-v1" for revision 1 or45"apm,xgene-edac-l3-soc" for general value reporting46only.47- reg : First resource shall be the SoC EDAC resource.4849Example:50csw: csw@7e200000 {51compatible = "apm,xgene-csw", "syscon";52reg = <0x0 0x7e200000 0x0 0x1000>;53};5455mcba: mcba@7e700000 {56compatible = "apm,xgene-mcb", "syscon";57reg = <0x0 0x7e700000 0x0 0x1000>;58};5960mcbb: mcbb@7e720000 {61compatible = "apm,xgene-mcb", "syscon";62reg = <0x0 0x7e720000 0x0 0x1000>;63};6465efuse: efuse@1054a000 {66compatible = "apm,xgene-efuse", "syscon";67reg = <0x0 0x1054a000 0x0 0x20>;68};6970rb: rb@7e000000 {71compatible = "apm,xgene-rb", "syscon";72reg = <0x0 0x7e000000 0x0 0x10>;73};7475edac@78800000 {76compatible = "apm,xgene-edac";77#address-cells = <2>;78#size-cells = <2>;79ranges;80regmap-csw = <&csw>;81regmap-mcba = <&mcba>;82regmap-mcbb = <&mcbb>;83regmap-efuse = <&efuse>;84regmap-rb = <&rb>;85reg = <0x0 0x78800000 0x0 0x100>;86interrupts = <0x0 0x20 0x4>,87<0x0 0x21 0x4>,88<0x0 0x27 0x4>;8990edacmc@7e800000 {91compatible = "apm,xgene-edac-mc";92reg = <0x0 0x7e800000 0x0 0x1000>;93memory-controller = <0>;94};9596edacpmd@7c000000 {97compatible = "apm,xgene-edac-pmd";98reg = <0x0 0x7c000000 0x0 0x200000>;99pmd-controller = <0>;100};101102edacl3@7e600000 {103compatible = "apm,xgene-edac-l3";104reg = <0x0 0x7e600000 0x0 0x1000>;105};106107edacsoc@7e930000 {108compatible = "apm,xgene-edac-soc-v1";109reg = <0x0 0x7e930000 0x0 0x1000>;110};111};112113114