Skip to content

Commit 5ba090a

Browse files
981213mbgg
authored andcommitted
arm64: dts: mediatek: add mtk-snfi for mt7622
This patch adds a device-tree node for the MTK SPI-NAND Flash Interface for MT7622 device tree. Signed-off-by: Chuanhong Guo <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Matthias Brugger <[email protected]>
1 parent 7640d43 commit 5ba090a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

arch/arm64/boot/dts/mediatek/mt7622.dtsi

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,18 @@
552552
status = "disabled";
553553
};
554554

555+
snfi: spi@1100d000 {
556+
compatible = "mediatek,mt7622-snand";
557+
reg = <0 0x1100d000 0 0x1000>;
558+
interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_LOW>;
559+
clocks = <&pericfg CLK_PERI_NFI_PD>, <&pericfg CLK_PERI_SNFI_PD>;
560+
clock-names = "nfi_clk", "pad_clk";
561+
nand-ecc-engine = <&bch>;
562+
#address-cells = <1>;
563+
#size-cells = <0>;
564+
status = "disabled";
565+
};
566+
555567
bch: ecc@1100e000 {
556568
compatible = "mediatek,mt7622-ecc";
557569
reg = <0 0x1100e000 0 0x1000>;

0 commit comments

Comments
 (0)