ath79: ubnt-unifi: make u-boot-env partition read-only
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9558_comfast_cf-wr650ac-v1.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "qca9558_comfast_cf-wr650ac.dtsi"
4
5 / {
6 compatible = "comfast,cf-wr650ac-v1", "qca,qca9558";
7 model = "Comfast CF-WR650AC v1";
8 };
9
10 &spi {
11 status = "okay";
12 num-cs = <1>;
13
14 flash@0 {
15 compatible = "jedec,spi-nor";
16 reg = <0>;
17 spi-max-frequency = <25000000>;
18
19 partitions {
20 compatible = "fixed-partitions";
21 #address-cells = <1>;
22 #size-cells = <1>;
23
24 partition@0 {
25 label = "u-boot";
26 reg = <0x000000 0x020000>;
27 read-only;
28 };
29
30 art: partition@20000 {
31 label = "art";
32 reg = <0x020000 0x010000>;
33 read-only;
34 };
35
36 partition@30000 {
37 label = "firmware";
38 compatible = "denx,uimage";
39 reg = <0x030000 0xfc0000>;
40 };
41
42 partition@ff0000 {
43 label = "nvram";
44 reg = <0xff0000 0x010000>;
45 read-only;
46 };
47 };
48 };
49 };