1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 // Copyright (c) 2021 Cezary Jackiewicz
3 // Copyright (c) 2021, 2022 Lech Perczak
4 // Copyright (c) 2022 David Bauer <mail@david-bauer.net>
5 // Copyright (c) 2023 Andreas Böhler <dev@aboehler.at>
7 #include "qca9563_zte_mf28x.dtsi"
11 compatible = "zte,mf282", "qca,qca9563";
14 compatible = "mtd-concat";
15 devices = <&ubiconcat0 &ubiconcat1>;
18 compatible = "fixed-partitions";
23 reg = <0x0 0x7440000>;
32 color = <LED_COLOR_ID_BLUE>;
45 reg = <0x80000 0x20000>;
55 reg = <0x000000 0x140000>;
61 reg = <0x140000 0x140000>;
65 compatible = "fixed-layout";
69 cal_caldata_1000: cal@1000 {
73 cal_caldata_5000: cal@5000 {
81 reg = <0x280000 0x140000>;
85 compatible = "fixed-layout";
89 macaddr_mac_0: macaddr@0 {
90 compatible = "mac-base";
92 #nvmem-cell-cells = <1>;
97 /* This encompasses stock cfg-param, oops, web partitions,
98 * which can be overwritten safely
100 ubiconcat0: partition@3c0000 {
101 label = "ubiconcat0";
102 reg = <0x3c0000 0xf40000>;
105 /* Kernel MTD size is increased to 8MB from stock 3MB */
108 reg = <0x1300000 0x800000>;
111 /* This encompasses stock rootfs, data, fota partitions,
112 * which can be overwritten safely
114 ubiconcat1: partition@1b00000 {
115 label = "ubiconcat1";
116 reg = <0x1b00000 0x6500000>;
122 nvmem-cells = <&macaddr_mac_0 0>;
123 nvmem-cell-names = "mac-address";
127 nvmem-cells = <&macaddr_mac_0 1>, <&cal_caldata_5000>;
128 nvmem-cell-names = "mac-address", "calibration";
132 nvmem-cells = <&macaddr_mac_0 0>, <&cal_caldata_1000>;
133 nvmem-cell-names = "mac-address", "calibration";