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>
6 #include "qcom-ipq4018-mf287_common.dtsi"
9 model = "ZTE MF287Plus";
10 compatible = "zte,mf287plus";
14 gpios = <&tlmm 5 GPIO_ACTIVE_HIGH>;
18 gpios = <&tlmm 63 GPIO_ACTIVE_LOW>;
22 gpios = <&tlmm 2 GPIO_ACTIVE_LOW>;
26 gpios = <&tlmm 0 GPIO_ACTIVE_LOW>;
30 pinctrl-0 = <&spi_0_pins>;
31 pinctrl-names = "default";
33 cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>,
34 <&tlmm 59 GPIO_ACTIVE_HIGH>,
35 <&tlmm 1 GPIO_ACTIVE_HIGH>;
38 compatible = "jedec,spi-nor";
42 spi-max-frequency = <24000000>;
45 compatible = "fixed-partitions";
57 reg = <0x40000 0x20000>;
63 reg = <0x60000 0x60000>;
69 reg = <0xc0000 0x10000>;
74 label = "0:DDRPARAMS";
75 reg = <0xd0000 0x10000>;
80 label = "0:APPSBLENV";
81 reg = <0xe0000 0x10000>;
87 reg = <0xf0000 0xc0000>;
92 label = "0:reserved1";
93 reg = <0x1b0000 0x50000>;
99 spi-nand@1 { /* flash@1 ? */
100 compatible = "spi-nand";
102 spi-max-frequency = <24000000>;
105 compatible = "fixed-partitions";
106 #address-cells = <1>;
111 reg = <0x0 0x140000>;
117 reg = <0x140000 0x140000>;
121 compatible = "fixed-layout";
122 #address-cells = <1>;
125 precal_art_1000: precal@1000 {
126 reg = <0x1000 0x2f20>;
129 precal_art_5000: precal@5000 {
130 reg = <0x5000 0x2f20>;
137 reg = <0x280000 0x140000>;
141 compatible = "fixed-layout";
142 #address-cells = <1>;
145 macaddr_mac_0: macaddr@0 {
153 reg = <0x3c0000 0x600000>;
159 reg = <0x9c0000 0x140000>;
164 reg = <0xb00000 0x800000>;
169 reg = <0x1300000 0x2200000>;
174 reg = <0x3500000 0x1900000>;
179 reg = <0x4e00000 0x3200000>;
185 #address-cells = <1>;
188 compatible = "silabs,em3581";
190 spi-max-frequency = <12000000>;
195 serial_pins: serial_pinmux {
197 pins = "gpio60", "gpio61";
198 function = "blsp_uart0";
203 spi_0_pins: spi_0_pinmux {
205 function = "blsp_spi0";
206 pins = "gpio55", "gpio56", "gpio57";
207 drive-strength = <12>;
213 pins = "gpio54", "gpio59", "gpio1";
214 drive-strength = <2>;
222 qcom,ath10k-calibration-variant = "zte,mf287plus";
226 qcom,ath10k-calibration-variant = "zte,mf287plus";