1 --- a/arch/arm64/boot/dts/mediatek/mt7622.dtsi
2 +++ b/arch/arm64/boot/dts/mediatek/mt7622.dtsi
7 + snand: snfi@1100d000 {
8 + compatible = "mediatek,mt7622-snand";
9 + reg = <0 0x1100d000 0 0x1000>, <0 0x1100e000 0 0x1000>;
10 + reg-names = "nfi", "ecc";
11 + interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_LOW>;
12 + clocks = <&pericfg CLK_PERI_NFI_PD>,
13 + <&pericfg CLK_PERI_SNFI_PD>,
14 + <&pericfg CLK_PERI_NFIECC_PD>;
15 + clock-names = "nfi_clk", "pad_clk", "ecc_clk";
16 + #address-cells = <1>;
18 + status = "disabled";
21 nor_flash: spi@11014000 {
22 compatible = "mediatek,mt7622-nor",
23 "mediatek,mt8173-nor";
24 --- a/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
25 +++ b/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
32 + pinctrl-names = "default";
33 + pinctrl-0 = <&serial_nand_pins>;
37 + compatible = "fixed-partitions";
38 + #address-cells = <1>;
42 + label = "Preloader";
43 + reg = <0x00000 0x0080000>;
49 + reg = <0x80000 0x0040000>;
53 + label = "Bootloader";
54 + reg = <0xc0000 0x0080000>;
59 + reg = <0x140000 0x0080000>;
64 + reg = <0x1c0000 0x0100000>;
69 + reg = <0x2c0000 0x2000000>;
73 + label = "User_data";
74 + reg = <0x22c0000 0x4000000>;
80 pinctrl-names = "default";
81 pinctrl-0 = <&spic0_pins>;