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 = "mtd-concat";
9 devices = <&ubiconcat0 &ubiconcat1>;
12 compatible = "fixed-partitions";
17 reg = <0x0 0x7a60000>;
25 /* Hidden blue SMD LED below signal strength LEDs
26 * Visible through slits underside of the case,
27 * and slightly through the case below signal state LEDs
29 color = <LED_COLOR_ID_BLUE>;
37 reg = <0x000000 0x0a0000>;
43 reg = <0x0a0000 0x020000>;
49 reg = <0x0c0000 0x140000>;
59 reg = <0x00000 0xa0000>;
65 reg = <0xa0000 0x80000>;
69 compatible = "fixed-layout";
73 cal_art_1000: cal@1000 {
77 precal_art_5000: precal@5000 {
78 reg = <0x5000 0x2f20>;
85 reg = <0x120000 0x80000>;
89 compatible = "fixed-layout";
93 macaddr_mac_0: mac-address@0 {
94 compatible = "mac-base";
96 #nvmem-cell-cells = <1>;
101 /* This encompasses stock reserved2, cfg-param, log, oops,
102 * reserved3, web partitions,
103 * which can be overwritten safely
105 ubiconcat0: partition@1a0000 {
106 label = "ubiconcat0";
107 reg = <0x1a0000 0x1660000>;
110 /* Kernel MTD size is increased to 4MB from stock 3MB */
113 reg = <0x1800000 0x400000>;
116 /* This encompasses stock rootfs, data, fota partitions,
117 * which can be overwritten safely
119 ubiconcat1: partition@1c00000 {
120 label = "ubiconcat1";
121 reg = <0x1c00000 0x6400000>;
127 nvmem-cells = <&macaddr_mac_0 0>;
128 nvmem-cell-names = "mac-address";
132 nvmem-cells = <&macaddr_mac_0 0x20000>, <&precal_art_5000>;
133 nvmem-cell-names = "mac-address", "pre-calibration";
137 nvmem-cells = <&macaddr_mac_0 0>, <&cal_art_1000>;
138 nvmem-cell-names = "mac-address", "calibration";