mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 13:51:44 +00:00
5979b84dc1
Update the APM X-Gene SoC EDAC documentation binding to reference the missing register bus for the SoC EDAC. Signed-off-by: Loc Ho <lho@apm.com> Cc: Arnd Bergmann <arnd@arndb.de> Cc: devicetree@vger.kernel.org Cc: Ian Campbell <ijc+devicetree@hellion.org.uk> Cc: Kumar Gala <galak@codeaurora.org> Cc: linux-arm-kernel@lists.infradead.org Cc: linux-edac <linux-edac@vger.kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: mchehab@osg.samsung.com Cc: patches@apm.com Cc: Pawel Moll <pawel.moll@arm.com> Cc: Rob Herring <robh+dt@kernel.org> Link: http://lkml.kernel.org/r/1453495625-28006-2-git-send-email-lho@apm.com Signed-off-by: Borislav Petkov <bp@suse.de>
113 lines
3.3 KiB
Plaintext
113 lines
3.3 KiB
Plaintext
* APM X-Gene SoC EDAC node
|
|
|
|
EDAC node is defined to describe on-chip error detection and correction.
|
|
The follow error types are supported:
|
|
|
|
memory controller - Memory controller
|
|
PMD (L1/L2) - Processor module unit (PMD) L1/L2 cache
|
|
L3 - L3 cache controller
|
|
SoC - SoC IP's such as Ethernet, SATA, and etc
|
|
|
|
The following section describes the EDAC DT node binding.
|
|
|
|
Required properties:
|
|
- compatible : Shall be "apm,xgene-edac".
|
|
- regmap-csw : Regmap of the CPU switch fabric (CSW) resource.
|
|
- regmap-mcba : Regmap of the MCB-A (memory bridge) resource.
|
|
- regmap-mcbb : Regmap of the MCB-B (memory bridge) resource.
|
|
- regmap-efuse : Regmap of the PMD efuse resource.
|
|
- regmap-rb : Regmap of the register bus resource. This property
|
|
is optional only for compatibility. If the RB
|
|
error conditions are not cleared, it will
|
|
continuously generate interrupt.
|
|
- reg : First resource shall be the CPU bus (PCP) resource.
|
|
- interrupts : Interrupt-specifier for MCU, PMD, L3, or SoC error
|
|
IRQ(s).
|
|
|
|
Required properties for memory controller subnode:
|
|
- compatible : Shall be "apm,xgene-edac-mc".
|
|
- reg : First resource shall be the memory controller unit
|
|
(MCU) resource.
|
|
- memory-controller : Instance number of the memory controller.
|
|
|
|
Required properties for PMD subnode:
|
|
- compatible : Shall be "apm,xgene-edac-pmd" or
|
|
"apm,xgene-edac-pmd-v2".
|
|
- reg : First resource shall be the PMD resource.
|
|
- pmd-controller : Instance number of the PMD controller.
|
|
|
|
Required properties for L3 subnode:
|
|
- compatible : Shall be "apm,xgene-edac-l3" or
|
|
"apm,xgene-edac-l3-v2".
|
|
- reg : First resource shall be the L3 EDAC resource.
|
|
|
|
Required properties for SoC subnode:
|
|
- compatible : Shall be "apm,xgene-edac-soc-v1" for revision 1 or
|
|
"apm,xgene-edac-l3-soc" for general value reporting
|
|
only.
|
|
- reg : First resource shall be the SoC EDAC resource.
|
|
|
|
Example:
|
|
csw: csw@7e200000 {
|
|
compatible = "apm,xgene-csw", "syscon";
|
|
reg = <0x0 0x7e200000 0x0 0x1000>;
|
|
};
|
|
|
|
mcba: mcba@7e700000 {
|
|
compatible = "apm,xgene-mcb", "syscon";
|
|
reg = <0x0 0x7e700000 0x0 0x1000>;
|
|
};
|
|
|
|
mcbb: mcbb@7e720000 {
|
|
compatible = "apm,xgene-mcb", "syscon";
|
|
reg = <0x0 0x7e720000 0x0 0x1000>;
|
|
};
|
|
|
|
efuse: efuse@1054a000 {
|
|
compatible = "apm,xgene-efuse", "syscon";
|
|
reg = <0x0 0x1054a000 0x0 0x20>;
|
|
};
|
|
|
|
rb: rb@7e000000 {
|
|
compatible = "apm,xgene-rb", "syscon";
|
|
reg = <0x0 0x7e000000 0x0 0x10>;
|
|
};
|
|
|
|
edac@78800000 {
|
|
compatible = "apm,xgene-edac";
|
|
#address-cells = <2>;
|
|
#size-cells = <2>;
|
|
ranges;
|
|
regmap-csw = <&csw>;
|
|
regmap-mcba = <&mcba>;
|
|
regmap-mcbb = <&mcbb>;
|
|
regmap-efuse = <&efuse>;
|
|
regmap-rb = <&rb>;
|
|
reg = <0x0 0x78800000 0x0 0x100>;
|
|
interrupts = <0x0 0x20 0x4>,
|
|
<0x0 0x21 0x4>,
|
|
<0x0 0x27 0x4>;
|
|
|
|
edacmc@7e800000 {
|
|
compatible = "apm,xgene-edac-mc";
|
|
reg = <0x0 0x7e800000 0x0 0x1000>;
|
|
memory-controller = <0>;
|
|
};
|
|
|
|
edacpmd@7c000000 {
|
|
compatible = "apm,xgene-edac-pmd";
|
|
reg = <0x0 0x7c000000 0x0 0x200000>;
|
|
pmd-controller = <0>;
|
|
};
|
|
|
|
edacl3@7e600000 {
|
|
compatible = "apm,xgene-edac-l3";
|
|
reg = <0x0 0x7e600000 0x0 0x1000>;
|
|
};
|
|
|
|
edacsoc@7e930000 {
|
|
compatible = "apm,xgene-edac-soc-v1";
|
|
reg = <0x0 0x7e930000 0x0 0x1000>;
|
|
};
|
|
};
|