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 MF287Pro";
10 compatible = "zte,mf287pro";
13 compatible = "regulator-fixed";
14 regulator-name = "USB_VBUS";
15 regulator-min-microvolt = <5000000>;
16 regulator-max-microvolt = <5000000>;
19 gpio = <&tlmm 25 GPIO_ACTIVE_LOW>;
24 gpios = <&tlmm 8 GPIO_ACTIVE_HIGH>;
28 gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
32 gpios = <&tlmm 68 GPIO_ACTIVE_LOW>;
36 gpios = <&tlmm 35 GPIO_ACTIVE_LOW>;
41 pinctrl-0 = <&mdio_pins>;
42 pinctrl-names = "default";
43 reset-gpios = <&tlmm 47 GPIO_ACTIVE_LOW>;
44 reset-delay-us = <2000>;
48 pinctrl-0 = <&spi_0_pins>;
49 pinctrl-names = "default";
51 cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>,
52 <&tlmm 54 GPIO_ACTIVE_HIGH>;
55 compatible = "jedec,spi-nor";
59 spi-max-frequency = <24000000>;
62 compatible = "fixed-partitions";
74 reg = <0x40000 0x20000>;
80 reg = <0x60000 0x60000>;
86 reg = <0xc0000 0x10000>;
91 label = "0:DDRPARAMS";
92 reg = <0xd0000 0x10000>;
97 label = "0:APPSBLENV";
98 reg = <0xe0000 0x10000>;
104 reg = <0xf0000 0xc0000>;
109 label = "0:reserved1";
110 reg = <0x1b0000 0x50000>;
116 spi-nand@1 { /* flash@1 ? */
117 compatible = "spi-nand";
119 spi-max-frequency = <24000000>;
122 compatible = "fixed-partitions";
123 #address-cells = <1>;
134 reg = <0xa0000 0x80000>;
138 compatible = "fixed-layout";
139 #address-cells = <1>;
142 precal_art_1000: precal@1000 {
143 reg = <0x1000 0x2f20>;
146 precal_art_5000: precal@5000 {
147 reg = <0x5000 0x2f20>;
154 reg = <0x120000 0x80000>;
158 compatible = "fixed-layout";
159 #address-cells = <1>;
162 macaddr_mac_0: macaddr@0 {
163 compatible = "mac-base";
165 #nvmem-cell-cells = <1>;
172 reg = <0x1a0000 0xc0000>;
177 reg = <0x260000 0x400000>;
183 reg = <0x660000 0x400000>;
188 reg = <0xa60000 0xa0000>;
193 reg = <0xb00000 0x500000>;
198 reg = <0x1000000 0x800000>;
203 reg = <0x1800000 0x1d00000>;
208 reg = <0x3500000 0x1900000>;
213 reg = <0x4e00000 0x3200000>;
220 i2c_0_pins: i2c_0_pinmux {
222 pins = "gpio20", "gpio21";
223 function = "blsp_i2c0";
228 mdio_pins: mdio_pinmux {
242 serial_pins: serial_pinmux {
244 pins = "gpio16", "gpio17";
245 function = "blsp_uart0";
250 spi_0_pins: spi_0_pinmux {
252 function = "blsp_spi0";
253 pins = "gpio12", "gpio13", "gpio14", "gpio15";
254 drive-strength = <12>;
260 pins = "gpio12", "gpio54";
261 drive-strength = <2>;
268 /* The MF287Plus and MF287Pro share the same board data file */
270 qcom,ath10k-calibration-variant = "zte,mf287plus";
273 /* The MF287Plus and MF287Pro share the same board data file */
275 qcom,ath10k-calibration-variant = "zte,mf287plus";