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 // Copyright (c) 2022 David Bauer <mail@david-bauer.net>
6 #include "qca9563_zte_mf28x.dtsi"
10 compatible = "zte,mf281", "qca,qca9563";
13 pinctrl-names = "default";
14 pinctrl-0 = <&enable_wlan_led_gpio>;
19 label = "green:debug";
20 color = <LED_COLOR_ID_GREEN>;
33 reg = <0xa0000 0x20000>;
43 reg = <0x000000 0xa0000>;
49 reg = <0xa0000 0x80000>;
53 compatible = "fixed-layout";
57 cal_caldata_1000: cal@1000 {
61 cal_caldata_5000: cal@5000 {
62 reg = <0x5000 0x2f20>;
69 reg = <0x120000 0x80000>;
73 compatible = "fixed-layout";
77 macaddr_mac_0: macaddr@0 {
78 compatible = "mac-base";
80 #nvmem-cell-cells = <1>;
87 reg = <0x1a0000 0xc0000>;
93 reg = <0x260000 0x400000>;
99 reg = <0x660000 0x400000>;
105 reg = <0xa60000 0xa0000>;
111 reg = <0xb00000 0x500000>;
117 reg = <0x1000000 0x800000>;
123 reg = <0x1800000 0x1d00000>;
125 compatible = "fixed-partitions";
126 #address-cells = <1>;
131 reg = <0x0 0x600000>;
136 reg = <0x600000 0x1700000>;
142 reg = <0x3500000 0x1900000>;
148 reg = <0x4e00000 0x3200000>;
155 nvmem-cells = <&macaddr_mac_0 0>;
156 nvmem-cell-names = "mac-address";
160 nvmem-cells = <&macaddr_mac_0 1>, <&cal_caldata_5000>;
161 nvmem-cell-names = "mac-address", "pre-calibration";
165 enable_wlan_led_gpio: pinmux_wlan_led_gpio {
166 pinctrl-single,bits = <0x10 0x0 0xff000000>;
171 nvmem-cells = <&macaddr_mac_0 0>, <&cal_caldata_1000>;
172 nvmem-cell-names = "mac-address", "calibration";