mediatek: add mt7986 soc support to the target
[openwrt/staging/aparcar.git] / target / linux / mediatek / files-5.15 / arch / arm64 / boot / dts / mediatek / mt7986a-rfb-spim-nor.dts
1 /* SPDX-License-Identifier: (GPL-2.0-only OR MIT) */
2
3 /dts-v1/;
4 /plugin/;
5
6 / {
7 compatible = "mediatek,mt7986a-snor-rfb";
8
9 fragment@0 {
10 target-path = "/soc/spi@1100a000";
11 __overlay__ {
12 status = "okay";
13 spi_nor: spi_nor@0 {
14 #address-cells = <1>;
15 #size-cells = <1>;
16 compatible = "jedec,spi-nor";
17 reg = <0>;
18 spi-max-frequency = <52000000>;
19 spi-tx-buswidth = <4>;
20 spi-rx-buswidth = <4>;
21 partitions {
22 compatible = "fixed-partitions";
23 #address-cells = <1>;
24 #size-cells = <1>;
25
26 partition@00000 {
27 label = "BL2";
28 reg = <0x00000 0x0040000>;
29 };
30 partition@40000 {
31 label = "u-boot-env";
32 reg = <0x40000 0x0010000>;
33 };
34 factory: partition@50000 {
35 label = "Factory";
36 reg = <0x50000 0x00B0000>;
37 };
38 partition@100000 {
39 label = "FIP";
40 reg = <0x100000 0x0080000>;
41 };
42 partition@180000 {
43 label = "firmware";
44 reg = <0x180000 0xE00000>;
45 };
46 };
47 };
48 };
49 };
50 };