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>;
65 compatible = "nvmem-cells";
69 cal_caldata_1000: cal@1000 {
73 cal_caldata_5000: cal@5000 {
80 reg = <0x280000 0x140000>;
83 compatible = "nvmem-cells";
87 macaddr_mac_0: macaddr@0 {
92 /* This encompasses stock cfg-param, oops, web partitions,
93 * which can be overwritten safely
95 ubiconcat0: partition@3c0000 {
97 reg = <0x3c0000 0xf40000>;
100 /* Kernel MTD size is increased to 4MB from stock 3MB */
103 reg = <0x1300000 0x400000>;
106 /* This encompasses stock rootfs, data, fota partitions,
107 * which can be overwritten safely
109 ubiconcat1: partition@1600000 {
110 label = "ubiconcat1";
111 reg = <0x1700000 0x6900000>;
117 nvmem-cells = <&macaddr_mac_0>;
118 nvmem-cell-names = "mac-address";
122 nvmem-cells = <&macaddr_mac_0>, <&cal_caldata_5000>;
123 nvmem-cell-names = "mac-address", "calibration";
124 mac-address-increment = <1>;
128 nvmem-cells = <&macaddr_mac_0>, <&cal_caldata_1000>;
129 nvmem-cell-names = "mac-address", "calibration";