arm64: dts: add nand nodes for MT2712
authorYT Shen <yt.shen@mediatek.com>
Mon, 3 Dec 2018 11:36:01 +0000 (19:36 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Wed, 9 Jan 2019 17:16:07 +0000 (18:16 +0100)
Signed-off-by: YT Shen <yt.shen@mediatek.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt2712e.dtsi

index 4f0aa65..e8afb54 100644 (file)
                status = "disabled";
        };
 
+       nandc: nfi@1100e000 {
+               compatible = "mediatek,mt2712-nfc";
+               reg = <0 0x1100e000 0 0x1000>;
+               interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_LOW>;
+               clocks = <&topckgen CLK_TOP_NFI2X_EN>, <&pericfg CLK_PERI_NFI>;
+               clock-names = "nfi_clk", "pad_clk";
+               ecc-engine = <&bch>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+               status = "disabled";
+       };
+
+       bch: ecc@1100f000 {
+               compatible = "mediatek,mt2712-ecc";
+               reg = <0 0x1100f000 0 0x1000>;
+               interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_LOW>;
+               clocks = <&topckgen CLK_TOP_NFI1X_CK_EN>;
+               clock-names = "nfiecc_clk";
+               status = "disabled";
+       };
+
        i2c3: i2c@11010000 {
                compatible = "mediatek,mt2712-i2c";
                reg = <0 0x11010000 0 0x90>,