diff options
author | DENG Qingfang <dengqf6@mail2.sysu.edu.cn> | 2020-04-01 11:19:12 +0800 |
---|---|---|
committer | Chuanhong Guo <gch981213@gmail.com> | 2020-04-04 14:56:14 +0800 |
commit | 10f27c6f00ecfe75fa5a0a5817f3d66f15f847ea (patch) | |
tree | 7d87b544c939cec9d44b0899efc85364763ec815 /target/linux/ramips/dts/mt7621.dtsi | |
parent | 92daa06f22c5268277be92b55a28de5e26c19636 (diff) | |
download | upstream-10f27c6f00ecfe75fa5a0a5817f3d66f15f847ea.tar.gz upstream-10f27c6f00ecfe75fa5a0a5817f3d66f15f847ea.tar.bz2 upstream-10f27c6f00ecfe75fa5a0a5817f3d66f15f847ea.zip |
ramips: mt7621: add new NAND driver
Add new NAND driver for MT7621
Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
Diffstat (limited to 'target/linux/ramips/dts/mt7621.dtsi')
-rw-r--r-- | target/linux/ramips/dts/mt7621.dtsi | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/mt7621.dtsi b/target/linux/ramips/dts/mt7621.dtsi index cc387519e4..63befa1fdc 100644 --- a/target/linux/ramips/dts/mt7621.dtsi +++ b/target/linux/ramips/dts/mt7621.dtsi @@ -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 { |