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