1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
3 * Copyright (C) 2022 MediaTek Inc.
4 * Author: Sam.Shih <sam.shih@mediatek.com>
11 compatible = "mediatek,mt7988a-rfb", "mediatek,mt7988a";
16 pinctrl-names = "default";
17 pinctrl-0 = <&spi0_flash_pins>;
21 compatible = "spi-nand";
23 spi-max-frequency = <52000000>;
24 spi-tx-bus-width = <4>;
25 spi-rx-bus-width = <4>;
27 mediatek,bmt-max-ratio = <1>;
28 mediatek,bmt-max-reserved-blocks = <64>;
31 compatible = "fixed-partitions";
37 reg = <0x00000 0x0100000>;
43 reg = <0x0100000 0x0080000>;
48 reg = <0x180000 0x0400000>;
53 reg = <0x580000 0x0200000>;
58 reg = <0x780000 0x7080000>;