@@ -27,3 +27,7 @@
&uart0 {
status = "okay";
};
+
+&nand {
+ status = "okay";
+};
@@ -143,4 +143,16 @@
clocks = <&uart_clk>;
status = "disabled";
};
+
+ nand: nfi@1100d000 {
+ compatible = "mediatek,mt2701-nfc";
+ reg = <0 0x1100d000 0 0x1000>, <0 0x1100e000 0 0x1000>;
+ interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_LOW>,
+ <GIC_SPI 55 IRQ_TYPE_LEVEL_LOW>;
+ clocks = <&pericfg CLK_PERI_NFI>, <&pericfg CLK_PERI_NFI_ECC>,
+ <&pericfg CLK_PERI_NFI_PAD>;
+ clock-names = "nfi_clk", "nfiecc_clk", "pad_clk";
+ nand-on-flash-bbt;
+ status = "disabled";
+ };
};
MTK's SoC 2701 implements a Smart Device Gen1 type of NAND controller. Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org> --- arch/arm/boot/dts/mt2701-evb.dts | 4 ++++ arch/arm/boot/dts/mt2701.dtsi | 12 ++++++++++++ 2 files changed, 16 insertions(+) -- 2.1.4 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/