summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/mt2701.dtsi
diff options
context:
space:
mode:
authorXiaolei Li <xiaolei.li@mediatek.com>2017-01-13 11:42:55 +0300
committerMatthias Brugger <matthias.bgg@gmail.com>2017-01-13 18:14:36 +0300
commit111758b738cc9190521f75d65cb7987b230fede4 (patch)
tree7f8ce87f54ef374b0e843747bee84853668ce4c2 /arch/arm/boot/dts/mt2701.dtsi
parent159f5ae739c89c50881740900724cc8a91a8ef2c (diff)
downloadlinux-111758b738cc9190521f75d65cb7987b230fede4.tar.xz
arm: dts: mt2701: Add nand device node
Add mt2701 nand device node, include nfi and bch ecc. Signed-off-by: Xiaolei Li <xiaolei.li@mediatek.com> Signed-off-by: Erin Lo <erin.lo@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'arch/arm/boot/dts/mt2701.dtsi')
-rw-r--r--arch/arm/boot/dts/mt2701.dtsi22
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/mt2701.dtsi b/arch/arm/boot/dts/mt2701.dtsi
index 2bfd8afc1c00..9edf000cf7af 100644
--- a/arch/arm/boot/dts/mt2701.dtsi
+++ b/arch/arm/boot/dts/mt2701.dtsi
@@ -260,6 +260,28 @@
status = "disabled";
};
+ nandc: nfi@1100d000 {
+ compatible = "mediatek,mt2701-nfc";
+ reg = <0 0x1100d000 0 0x1000>;
+ interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_LOW>;
+ clocks = <&pericfg CLK_PERI_NFI>,
+ <&pericfg CLK_PERI_NFI_PAD>;
+ clock-names = "nfi_clk", "pad_clk";
+ status = "disabled";
+ ecc-engine = <&bch>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ };
+
+ bch: ecc@1100e000 {
+ compatible = "mediatek,mt2701-ecc";
+ reg = <0 0x1100e000 0 0x1000>;
+ interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_LOW>;
+ clocks = <&pericfg CLK_PERI_NFI_ECC>;
+ clock-names = "nfiecc_clk";
+ status = "disabled";
+ };
+
spi1: spi@11016000 {
compatible = "mediatek,mt2701-spi";
#address-cells = <1>;