]> Git Repo - linux.git/commitdiff
arm64: dts: mediatek: add mtk-snfi for mt7622
authorChuanhong Guo <[email protected]>
Sun, 24 Apr 2022 03:25:27 +0000 (11:25 +0800)
committerMatthias Brugger <[email protected]>
Fri, 13 May 2022 11:27:40 +0000 (13:27 +0200)
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]>
arch/arm64/boot/dts/mediatek/mt7622.dtsi

index 5551f004945be224a2e65688c416e1a06e45b1e9..9768523fe4c30209a5a7f59dfdb98a0182fd0bc1 100644 (file)
                status = "disabled";
        };
 
+       snfi: spi@1100d000 {
+               compatible = "mediatek,mt7622-snand";
+               reg = <0 0x1100d000 0 0x1000>;
+               interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_LOW>;
+               clocks = <&pericfg CLK_PERI_NFI_PD>, <&pericfg CLK_PERI_SNFI_PD>;
+               clock-names = "nfi_clk", "pad_clk";
+               nand-ecc-engine = <&bch>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+               status = "disabled";
+       };
+
        bch: ecc@1100e000 {
                compatible = "mediatek,mt7622-ecc";
                reg = <0 0x1100e000 0 0x1000>;
This page took 0.061011 seconds and 4 git commands to generate.