ramips: mt7621: add new NAND driver

Add new NAND driver for MT7621

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
This commit is contained in:
DENG Qingfang
2020-04-01 11:19:12 +08:00
committed by Chuanhong Guo
parent 92daa06f22
commit 10f27c6f00
4 changed files with 1496 additions and 2 deletions

View File

@@ -414,13 +414,23 @@
};
};
nficlock: nficlock {
#clock-cells = <0>;
compatible = "fixed-clock";
clock-frequency = <125000000>;
};
nand: nand@1e003000 {
status = "disabled";
compatible = "mtk,mt7621-nand";
bank-width = <2>;
compatible = "mediatek,mt7621-nfc";
reg = <0x1e003000 0x800
0x1e003800 0x800>;
reg-names = "nfi", "ecc";
clocks = <&nficlock>;
clock-names = "nfi_clk";
};
ethsys: syscon@1e000000 {