1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/mtd/mediatek,nand-ecc-engine.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MediaTek(MTK) SoCs NAND ECC engine
10 - Xiangsheng Hou <xiangsheng.hou@mediatek.com>
13 MTK NAND ECC engine can cowork with MTK raw NAND and SPI NAND controller.
25 - description: Base physical address and size of ECC.
29 - description: ECC interrupt
44 additionalProperties: false
48 #include <dt-bindings/clock/mt2701-clk.h>
49 #include <dt-bindings/interrupt-controller/arm-gic.h>
50 #include <dt-bindings/interrupt-controller/irq.h>
57 compatible = "mediatek,mt2701-ecc";
58 reg = <0 0x1100e000 0 0x1000>;
59 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_LOW>;
60 clocks = <&pericfg CLK_PERI_NFI_ECC>;
61 clock-names = "nfiecc_clk";