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>;
52 compatible = "nvmem-cells";
56 cal_caldata_1000: cal@1000 {
60 cal_caldata_5000: cal@5000 {
61 reg = <0x5000 0x2f20>;
67 reg = <0x120000 0x80000>;
70 compatible = "nvmem-cells";
74 macaddr_mac_0: macaddr@0 {
81 reg = <0x1a0000 0xc0000>;
87 reg = <0x260000 0x400000>;
93 reg = <0x660000 0x400000>;
99 reg = <0xa60000 0xa0000>;
105 reg = <0xb00000 0x500000>;
111 reg = <0x1000000 0x800000>;
117 reg = <0x1800000 0x1d00000>;
119 compatible = "fixed-partitions";
120 #address-cells = <1>;
125 reg = <0x0 0x600000>;
130 reg = <0x600000 0x1700000>;
136 reg = <0x3500000 0x1900000>;
142 reg = <0x4e00000 0x3200000>;
149 nvmem-cells = <&macaddr_mac_0>;
150 nvmem-cell-names = "mac-address";
154 nvmem-cells = <&macaddr_mac_0>, <&cal_caldata_5000>;
155 nvmem-cell-names = "mac-address", "pre-calibration";
156 mac-address-increment = <1>;
160 enable_wlan_led_gpio: pinmux_wlan_led_gpio {
161 pinctrl-single,bits = <0x10 0x0 0xff000000>;
166 nvmem-cells = <&macaddr_mac_0>, <&cal_caldata_1000>;
167 nvmem-cell-names = "mac-address", "calibration";