summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/mt7623.dtsi
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2017-04-26 12:25:55 +0300
committerMatthias Brugger <matthias.bgg@gmail.com>2017-05-15 11:47:08 +0300
commit1112db665677fb08bc34fe948b48d852bc71f11a (patch)
tree86f663ebe86dd74283988904fdad5aeb35bdcb8b /arch/arm/boot/dts/mt7623.dtsi
parent44893591ea863e183eb97df89bbfb37a33d824a0 (diff)
downloadlinux-1112db665677fb08bc34fe948b48d852bc71f11a.tar.xz
arm: dts: mt7623: add nand nodes to the mt7623.dtsi file
Add NAND/EEC nodes to the mt7623.dtsi file. Signed-off-by: John Crispin <john@phrozen.org> Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'arch/arm/boot/dts/mt7623.dtsi')
-rw-r--r--arch/arm/boot/dts/mt7623.dtsi25
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/mt7623.dtsi b/arch/arm/boot/dts/mt7623.dtsi
index 85b2d6d90a62..3da69863321b 100644
--- a/arch/arm/boot/dts/mt7623.dtsi
+++ b/arch/arm/boot/dts/mt7623.dtsi
@@ -328,6 +328,31 @@
status = "disabled";
};
+ nandc: nfi@1100d000 {
+ compatible = "mediatek,mt7623-nfc",
+ "mediatek,mt2701-nfc";
+ reg = <0 0x1100d000 0 0x1000>;
+ interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_LOW>;
+ power-domains = <&scpsys MT2701_POWER_DOMAIN_IFR_MSC>;
+ 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,mt7623-ecc",
+ "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";
+ };
+
hifsys: syscon@1a000000 {
compatible = "mediatek,mt7623-hifsys",
"mediatek,mt2701-hifsys",