ipq40xx: switch default to 6.6
[openwrt/staging/pepe2k.git] / target / linux / ipq40xx / files-6.1 / arch / arm / boot / dts / qcom-ipq4018-mf287plus.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 // Copyright (c) 2022, Pawel Dembicki <paweldembicki@gmail.com>.
3 // Copyright (c) 2022, Giammarco Marzano <stich86@gmail.com>.
4 // Copyright (c) 2023, Andreas Böhler <dev@aboehler.at>
5
6 #include "qcom-ipq4018-mf287_common.dtsi"
7
8 / {
9 model = "ZTE MF287Plus";
10 compatible = "zte,mf287plus";
11 };
12
13 &gpio_modem_reset {
14 gpios = <&tlmm 5 GPIO_ACTIVE_HIGH>;
15 };
16
17 &key_reset {
18 gpios = <&tlmm 63 GPIO_ACTIVE_LOW>;
19 };
20
21 &key_wps {
22 gpios = <&tlmm 2 GPIO_ACTIVE_LOW>;
23 };
24
25 &led_status {
26 gpios = <&tlmm 0 GPIO_ACTIVE_LOW>;
27 };
28
29 &blsp1_spi1 {
30 pinctrl-0 = <&spi_0_pins>;
31 pinctrl-names = "default";
32 status = "okay";
33 cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>,
34 <&tlmm 59 GPIO_ACTIVE_HIGH>,
35 <&tlmm 1 GPIO_ACTIVE_HIGH>;
36
37 flash@0 {
38 compatible = "jedec,spi-nor";
39 #address-cells = <1>;
40 #size-cells = <1>;
41 reg = <0>;
42 spi-max-frequency = <24000000>;
43
44 partitions {
45 compatible = "fixed-partitions";
46 #address-cells = <1>;
47 #size-cells = <1>;
48
49 partition@0 {
50 label = "0:SBL1";
51 reg = <0x0 0x40000>;
52 read-only;
53 };
54
55 partition@40000 {
56 label = "0:MIBIB";
57 reg = <0x40000 0x20000>;
58 read-only;
59 };
60
61 partition@60000 {
62 label = "0:QSEE";
63 reg = <0x60000 0x60000>;
64 read-only;
65 };
66
67 partition@c0000 {
68 label = "0:CDT";
69 reg = <0xc0000 0x10000>;
70 read-only;
71 };
72
73 partition@d0000 {
74 label = "0:DDRPARAMS";
75 reg = <0xd0000 0x10000>;
76 read-only;
77 };
78
79 partition@e0000 {
80 label = "0:APPSBLENV";
81 reg = <0xe0000 0x10000>;
82 read-only;
83 };
84
85 partition@f0000 {
86 label = "0:APPSBL";
87 reg = <0xf0000 0xc0000>;
88 read-only;
89 };
90
91 partition@1b0000 {
92 label = "0:reserved1";
93 reg = <0x1b0000 0x50000>;
94 read-only;
95 };
96 };
97 };
98
99 spi-nand@1 { /* flash@1 ? */
100 compatible = "spi-nand";
101 reg = <1>;
102 spi-max-frequency = <24000000>;
103
104 partitions {
105 compatible = "fixed-partitions";
106 #address-cells = <1>;
107 #size-cells = <1>;
108
109 partition@0 {
110 label = "fota-flag";
111 reg = <0x0 0x140000>;
112 read-only;
113 };
114
115 partition@140000 {
116 label = "ART";
117 reg = <0x140000 0x140000>;
118 read-only;
119
120 nvmem-layout {
121 compatible = "fixed-layout";
122 #address-cells = <1>;
123 #size-cells = <1>;
124
125 precal_art_1000: precal@1000 {
126 reg = <0x1000 0x2f20>;
127 };
128
129 precal_art_5000: precal@5000 {
130 reg = <0x5000 0x2f20>;
131 };
132 };
133 };
134
135 partition@280000 {
136 label = "mac";
137 reg = <0x280000 0x140000>;
138 read-only;
139
140 nvmem-layout {
141 compatible = "fixed-layout";
142 #address-cells = <1>;
143 #size-cells = <1>;
144
145 macaddr_mac_0: macaddr@0 {
146 compatible = "mac-base";
147 reg = <0x0 0x6>;
148 #nvmem-cell-cells = <1>;
149 };
150 };
151 };
152
153 partition@3c0000 {
154 label = "cfg-param";
155 reg = <0x3c0000 0x600000>;
156 read-only;
157 };
158
159 partition@9c0000 {
160 label = "oops";
161 reg = <0x9c0000 0x140000>;
162 };
163
164 partition@b00000 {
165 label = "web";
166 reg = <0xb00000 0x800000>;
167 };
168
169 partition@1300000 {
170 label = "rootfs";
171 reg = <0x1300000 0x2200000>;
172 };
173
174 partition@3500000 {
175 label = "data";
176 reg = <0x3500000 0x1900000>;
177 };
178
179 partition@4e00000 {
180 label = "fota";
181 reg = <0x4e00000 0x3200000>;
182 };
183 };
184 };
185
186 zigbee@2 {
187 #address-cells = <1>;
188 #size-cells = <0>;
189
190 compatible = "silabs,em3581";
191 reg = <2>;
192 spi-max-frequency = <12000000>;
193 };
194 };
195
196 &tlmm {
197 serial_pins: serial_pinmux {
198 mux {
199 pins = "gpio60", "gpio61";
200 function = "blsp_uart0";
201 bias-disable;
202 };
203 };
204
205 spi_0_pins: spi_0_pinmux {
206 pinmux {
207 function = "blsp_spi0";
208 pins = "gpio55", "gpio56", "gpio57";
209 drive-strength = <12>;
210 bias-disable;
211 };
212
213 pinmux_cs {
214 function = "gpio";
215 pins = "gpio54", "gpio59", "gpio1";
216 drive-strength = <2>;
217 bias-disable;
218 output-high;
219 };
220 };
221 };
222
223 &wifi0 {
224 qcom,ath10k-calibration-variant = "zte,mf287plus";
225 };
226
227 &wifi1{
228 qcom,ath10k-calibration-variant = "zte,mf287plus";
229 };