f597b869abc80d1a73f44ebb85ad4da17376bb52
[openwrt/staging/stintel.git] / target / linux / mediatek / dts / mt7986a-bananapi-bpi-r3-nor.dts
1 /* SPDX-License-Identifier: (GPL-2.0-only OR MIT) */
2
3 /dts-v1/;
4 /plugin/;
5
6 / {
7 compatible = "bananapi,bpi-r3", "mediatek,mt7986a";
8
9 fragment@0 {
10 target-path = "/soc/spi@1100a000";
11 __overlay__ {
12 flash@0 {
13 compatible = "jedec,spi-nor";
14 reg = <0>;
15 spi-max-frequency = <10000000>;
16
17 partitions {
18 compatible = "fixed-partitions";
19 #address-cells = <1>;
20 #size-cells = <1>;
21
22 partition@0 {
23 label = "bl2";
24 reg = <0x0 0x40000>;
25 read-only;
26 };
27
28 partition@40000 {
29 label = "u-boot-env";
30 reg = <0x40000 0x40000>;
31 };
32
33 partition@80000 {
34 label = "reserved2";
35 reg = <0x80000 0x80000>;
36 };
37
38 partition@100000 {
39 label = "fip";
40 reg = <0x100000 0x80000>;
41 read-only;
42 };
43
44 partition@180000 {
45 label = "recovery";
46 reg = <0x180000 0xa80000>;
47 };
48
49 partition@c00000 {
50 label = "fit";
51 reg = <0xc00000 0x1400000>;
52 compatible = "denx,fit";
53 };
54 };
55 };
56 };
57 };
58 };