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 = <&spi2_flash_pins>;
23 compatible = "jedec,spi-nor";
25 spi-cal-mode = "read-data";
26 spi-cal-datalen = <7>;
27 spi-cal-data = /bits/ 8 <
28 0x53 0x46 0x5F 0x42 0x4F 0x4F 0x54>; /* SF_BOOT */
29 spi-cal-addrlen = <1>;
30 spi-cal-addr = /bits/ 32 <0x0>;
32 spi-max-frequency = <52000000>;
33 spi-tx-bus-width = <4>;
34 spi-rx-bus-width = <4>;
38 reg = <0x00000 0x0040000>;
42 reg = <0x40000 0x0010000>;
46 reg = <0x50000 0x0200000>;
50 reg = <0x250000 0x0080000>;
54 reg = <0x2D0000 0x1D30000>;