package: add fitblk util to release /dev/fit* devices
[openwrt/staging/wigyori.git] / target / linux / mediatek / files-5.15 / arch / arm64 / boot / dts / mediatek / mt7986a-rfb-spim-nand.dts
1 /* SPDX-License-Identifier: (GPL-2.0-only OR MIT) */
2
3 #include "mt7986a-rfb.dtsi"
4
5 / {
6 compatible = "mediatek,mt7986a-rfb-snand";
7 };
8
9 &spi0 {
10 status = "okay";
11
12 spi_nand: spi_nand@0 {
13 #address-cells = <1>;
14 #size-cells = <1>;
15 compatible = "spi-nand";
16 reg = <1>;
17 spi-max-frequency = <10000000>;
18 spi-tx-bus-width = <4>;
19 spi-rx-bus-width = <4>;
20
21 partitions {
22 compatible = "fixed-partitions";
23 #address-cells = <1>;
24 #size-cells = <1>;
25 partition@0 {
26 label = "BL2";
27 reg = <0x00000 0x0100000>;
28 read-only;
29 };
30 partition@100000 {
31 label = "u-boot-env";
32 reg = <0x0100000 0x0080000>;
33 };
34 factory: partition@180000 {
35 label = "Factory";
36 reg = <0x180000 0x0200000>;
37 };
38 partition@380000 {
39 label = "FIP";
40 reg = <0x380000 0x0200000>;
41 };
42 partition@580000 {
43 label = "ubi";
44 reg = <0x580000 0x4000000>;
45 };
46 };
47 };
48 };
49
50 &wifi {
51 mediatek,mtd-eeprom = <&factory 0>;
52 };