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 #include "qca9563_zte_mf286.dtsi"
8 compatible = "zte,mf286", "qca,qca9563";
11 compatible = "mtd-concat";
12 devices = <&ubiconcat0 &ubiconcat1>;
15 compatible = "fixed-partitions";
20 reg = <0x0 0x7840000>;
28 /* Hidden green SMD LED below signal strength LEDs
29 * Visible through slits underside of the case,
30 * and slightly through the case below signal state LEDs
32 color = <LED_COLOR_ID_GREEN>;
33 label = "green:debug";
40 reg = <0x000000 0x080000>;
46 reg = <0x080000 0x020000>;
56 reg = <0x000000 0x140000>;
62 reg = <0x140000 0x140000>;
66 compatible = "fixed-layout";
70 cal_caldata_1000: cal@1000 {
74 cal_caldata_5000: cal@5000 {
82 reg = <0x280000 0x140000>;
86 compatible = "fixed-layout";
90 macaddr_mac_0: macaddr@0 {
91 compatible = "mac-base";
93 #nvmem-cell-cells = <1>;
98 /* This encompasses stock cfg-param, oops, web partitions,
99 * which can be overwritten safely
101 ubiconcat0: partition@3c0000 {
102 label = "ubiconcat0";
103 reg = <0x3c0000 0xf40000>;
106 /* Kernel MTD size is increased to 4MB from stock 3MB */
109 reg = <0x1300000 0x400000>;
112 /* This encompasses stock rootfs, data, fota partitions,
113 * which can be overwritten safely
115 ubiconcat1: partition@1600000 {
116 label = "ubiconcat1";
117 reg = <0x1700000 0x6900000>;
123 nvmem-cells = <&macaddr_mac_0 0>;
124 nvmem-cell-names = "mac-address";
128 nvmem-cells = <&macaddr_mac_0 1>, <&cal_caldata_5000>, <&cal_caldata_5000>;
129 nvmem-cell-names = "mac-address", "calibration", "pre-calibration";
133 nvmem-cells = <&macaddr_mac_0 0>, <&cal_caldata_1000>;
134 nvmem-cell-names = "mac-address", "calibration";