ath79: update WA/XC devices UBNT_VERSION to 8.7.4
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / arxxxx_fortinet_loader.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include <dt-bindings/mtd/partitions/uimage.h>
4
5 / {
6 virtual_flash {
7 compatible = "mtd-concat";
8
9 devices = <&fwconcat0 &fwconcat1>;
10
11 partitions {
12 compatible = "fixed-partitions";
13 #address-cells = <1>;
14 #size-cells = <1>;
15
16 partition@0 {
17 compatible = "openwrt,uimage", "denx,uimage";
18 openwrt,ih-magic = <0x73714f4b>;
19 label = "firmware";
20 reg = <0x0 0x0>;
21 };
22 };
23 };
24 };
25
26 &spi {
27 status = "okay";
28
29 flash@0 {
30 compatible = "jedec,spi-nor";
31 reg = <0>;
32 spi-max-frequency = <40000000>;
33
34 partitions {
35 compatible = "fixed-partitions";
36 #address-cells = <1>;
37 #size-cells = <1>;
38
39 uboot: partition@0 {
40 label = "u-boot";
41 reg = <0x000000 0x040000>;
42 read-only;
43
44 nvmem-layout {
45 compatible = "fixed-layout";
46 #address-cells = <1>;
47 #size-cells = <1>;
48
49 macaddr_uboot_3ff80: mac-address@3ff80 {
50 compatible = "mac-base";
51 reg = <0x3ff80 0xc>;
52 #nvmem-cell-cells = <1>;
53 };
54 };
55 };
56
57 fwconcat0: partition@40000 {
58 label = "fwconcat0";
59 reg = <0x040000 0x900000>;
60 };
61
62 partition@940000 {
63 label = "loader";
64 reg = <0x940000 0x010000>;
65 };
66
67 fwconcat1: partition@950000 {
68 label = "fwconcat1";
69 reg = <0x950000 0x1a0000>;
70 };
71
72 fwconcat2: partition@af0000 {
73 label = "reserved";
74 reg = <0xaf0000 0x500000>;
75 };
76
77 art: partition@ff0000 {
78 label = "art";
79 reg = <0xff0000 0x010000>;
80 read-only;
81 };
82 };
83 };
84 };