Document Amazon's Annapurna Labs Memory Controller EDAC SoC binding.

Signed-off-by: Talel Shenhar <ta...@amazon.com>
Reviewed-by: Rob Herring <r...@kernel.org>
---
 .../devicetree/bindings/edac/amazon,al-mc-edac.txt | 24 ++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/edac/amazon,al-mc-edac.txt

diff --git a/Documentation/devicetree/bindings/edac/amazon,al-mc-edac.txt 
b/Documentation/devicetree/bindings/edac/amazon,al-mc-edac.txt
new file mode 100644
index 0000000..4f612e0
--- /dev/null
+++ b/Documentation/devicetree/bindings/edac/amazon,al-mc-edac.txt
@@ -0,0 +1,24 @@
+Amazon's Annapurna Labs Memory Controller EDAC
+
+EDAC node is defined to describe on-chip error detection and correction for
+Amazon's Annapurna Labs Memory Controller.
+
+Required properties:
+- compatible:  Shall be "amazon,al-mc-edac".
+- reg:         DDR controller resource.
+
+Optional:
+- interrupt-names:     may include "ue", for uncorrectable errors,
+                       and/or "ce", for correctable errors.
+- interrupts:          should contain the interrupts associated with the
+                       interrupts names.
+
+Example:
+
+edac@f0080000 {
+       compatible = "amazon,al-mc-edac";
+       reg = <0x0 0xf0080000 0x0 0x00010000>;
+       interrupt-parent = <&amazon_al_system_fabric>;
+       interrupt-names = "ue";
+       interrupts = <20 IRQ_TYPE_LEVEL_HIGH>;
+};
-- 
2.7.4

Reply via email to