Commit c920a6ca authored by Roger Quadros's avatar Roger Quadros Committed by Vignesh Raghavendra

arm64: dts: ti: k3-am64-main: Add ELM (Error Location Module) node

The ELM module is used for GPMC NAND accesses for detecting
and correcting errors during reads due to NAND bitflips errors.

4-, 8-, and 16-bit error-correction levels are supported using
the BCH (Bose-ChaudhurI-Hocquenghem) algorithm.
Signed-off-by: default avatarRoger Quadros <rogerq@kernel.org>
Signed-off-by: default avatarVignesh Raghavendra <vigneshr@ti.com>
Reviewed-by: default avatarBryan Brattlof <bb@ti.com>
Link: https://lore.kernel.org/r/20220802104456.11069-3-rogerq@kernel.org
parent 5ec06904
......@@ -1347,4 +1347,13 @@ gpmc0: memory-controller@3b000000 {
gpio-controller;
#gpio-cells = <2>;
};
elm0: ecc@25010000 {
compatible = "ti,am64-elm";
reg = <0x00 0x25010000 0x00 0x2000>;
interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>;
power-domains = <&k3_pds 54 TI_SCI_PD_EXCLUSIVE>;
clocks = <&k3_clks 54 0>;
clock-names = "fck";
};
};
......@@ -680,3 +680,7 @@ &main_mcan1 {
&gpmc0 {
status = "disabled";
};
&elm0 {
status = "disabled";
};
......@@ -611,3 +611,7 @@ &main_mcan1 {
&gpmc0 {
status = "disabled";
};
&elm0 {
status = "disabled";
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment