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 {
96 /* This encompasses stock cfg-param, oops, web partitions,
97 * which can be overwritten safely
99 ubiconcat0: partition@3c0000 {
100 label = "ubiconcat0";
101 reg = <0x3c0000 0xf40000>;
104 /* Kernel MTD size is increased to 4MB from stock 3MB */
107 reg = <0x1300000 0x400000>;
110 /* This encompasses stock rootfs, data, fota partitions,
111 * which can be overwritten safely
113 ubiconcat1: partition@1600000 {
114 label = "ubiconcat1";
115 reg = <0x1700000 0x6900000>;
121 nvmem-cells = <&macaddr_mac_0>;
122 nvmem-cell-names = "mac-address";
126 nvmem-cells = <&macaddr_mac_0>, <&cal_caldata_5000>, <&cal_caldata_5000>;
127 nvmem-cell-names = "mac-address", "calibration", "pre-calibration";
128 mac-address-increment = <1>;
132 nvmem-cells = <&macaddr_mac_0>, <&cal_caldata_1000>;
133 nvmem-cell-names = "mac-address", "calibration";