1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
3 * Copyright (C) 2022 MediaTek Inc.
4 * Author: Sam.Shih <sam.shih@mediatek.com>
8 #include "mt7988a-rfb.dtsi"
11 spi0_flash_pins: spi0-pins {
14 groups = "spi0", "spi0_wp_hold";
20 pinctrl-names = "default";
21 pinctrl-0 = <&spi0_flash_pins>;
24 spi_nand: spi_nand@0 {
25 compatible = "spi-nand";
27 spi-max-frequency = <52000000>;
28 spi-tx-buswidth = <4>;
29 spi-rx-buswidth = <4>;
36 mediatek,bmt-max-ratio = <1>;
37 mediatek,bmt-max-reserved-blocks = <64>;
40 compatible = "fixed-partitions";
46 reg = <0x00000 0x0100000>;
52 reg = <0x0100000 0x0080000>;
55 factory: partition@180000 {
57 reg = <0x180000 0x0400000>;
62 reg = <0x580000 0x0200000>;
67 reg = <0x780000 0x7080000>;