1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 // Copyright (c) 2021 Cezary Jackiewicz
4 #include <dt-bindings/leds/common.h>
5 // Copyright (c) 2021, 2022 Lech Perczak
6 #include "qca9563_zte_mf286.dtsi"
10 compatible = "zte,mf286", "qca,qca9563";
13 compatible = "mtd-concat";
14 devices = <&ubiconcat0 &ubiconcat1>;
17 compatible = "fixed-partitions";
22 reg = <0x0 0x7840000>;
30 /* Hidden green SMD LED below signal strength LEDs
31 * Visible through slits underside of the case,
32 * and slightly through the case below signal state LEDs
34 color = <LED_COLOR_ID_GREEN>;
35 function = LED_FUNCTION_DEBUG;
36 color = <LED_COLOR_ID_GREEN>;
43 reg = <0x000000 0x080000>;
49 reg = <0x080000 0x020000>;
59 reg = <0x000000 0x140000>;
65 reg = <0x140000 0x140000>;
69 compatible = "fixed-layout";
73 cal_caldata_1000: cal@1000 {
77 cal_caldata_5000: cal@5000 {
85 reg = <0x280000 0x140000>;
89 compatible = "fixed-layout";
93 macaddr_mac_0: macaddr@0 {
94 compatible = "mac-base";
96 #nvmem-cell-cells = <1>;
101 /* This encompasses stock cfg-param, oops, web partitions,
102 * which can be overwritten safely
104 ubiconcat0: partition@3c0000 {
105 label = "ubiconcat0";
106 reg = <0x3c0000 0xf40000>;
109 /* Kernel MTD size is increased to 4MB from stock 3MB */
112 reg = <0x1300000 0x400000>;
115 /* This encompasses stock rootfs, data, fota partitions,
116 * which can be overwritten safely
118 ubiconcat1: partition@1600000 {
119 label = "ubiconcat1";
120 reg = <0x1700000 0x6900000>;
126 nvmem-cells = <&macaddr_mac_0 0>;
127 nvmem-cell-names = "mac-address";
131 nvmem-cells = <&macaddr_mac_0 1>, <&cal_caldata_5000>, <&cal_caldata_5000>;
132 nvmem-cell-names = "mac-address", "calibration", "pre-calibration";
136 nvmem-cells = <&macaddr_mac_0 0>, <&cal_caldata_1000>;
137 nvmem-cell-names = "mac-address", "calibration";