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 = "mtd-concat";
11 devices = <&ubiconcat0 &ubiconcat1>;
14 compatible = "fixed-partitions";
19 reg = <0x0 0x7a60000>;
27 /* Hidden blue SMD LED below signal strength LEDs
28 * Visible through slits underside of the case,
29 * and slightly through the case below signal state LEDs
31 color = <LED_COLOR_ID_BLUE>;
32 function = LED_FUNCTION_DEBUG;
33 color = <LED_COLOR_ID_BLUE>;
40 reg = <0x000000 0x0a0000>;
46 reg = <0x0a0000 0x020000>;
52 reg = <0x0c0000 0x140000>;
62 reg = <0x00000 0xa0000>;
68 reg = <0xa0000 0x80000>;
72 compatible = "fixed-layout";
76 cal_art_1000: cal@1000 {
80 precal_art_5000: precal@5000 {
81 reg = <0x5000 0x2f20>;
88 reg = <0x120000 0x80000>;
92 compatible = "fixed-layout";
96 macaddr_mac_0: mac-address@0 {
97 compatible = "mac-base";
99 #nvmem-cell-cells = <1>;
104 /* This encompasses stock reserved2, cfg-param, log, oops,
105 * reserved3, web partitions,
106 * which can be overwritten safely
108 ubiconcat0: partition@1a0000 {
109 label = "ubiconcat0";
110 reg = <0x1a0000 0x1660000>;
113 /* Kernel MTD size is increased to 4MB from stock 3MB */
116 reg = <0x1800000 0x400000>;
119 /* This encompasses stock rootfs, data, fota partitions,
120 * which can be overwritten safely
122 ubiconcat1: partition@1c00000 {
123 label = "ubiconcat1";
124 reg = <0x1c00000 0x6400000>;
130 nvmem-cells = <&macaddr_mac_0 0>;
131 nvmem-cell-names = "mac-address";
135 nvmem-cells = <&macaddr_mac_0 0x20000>, <&precal_art_5000>;
136 nvmem-cell-names = "mac-address", "pre-calibration";
140 nvmem-cells = <&macaddr_mac_0 0>, <&cal_art_1000>;
141 nvmem-cell-names = "mac-address", "calibration";