1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 // Copyright (c) 2018, Robert Marko <robimarko@gmail.com>
4 #include "qcom-ipq4019.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/soc/qcom,tcsr.h>
18 pinctrl-0 = <&mdio_pins>;
19 pinctrl-names = "default";
27 compatible = "qcom,qca-gcnt";
32 compatible = "qcom,tcsr";
33 reg = <0x1949000 0x100>;
34 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
40 compatible = "qcom,tcsr";
41 reg = <0x194b000 0x100>;
42 qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
46 compatible = "qcom,tcsr";
47 reg = <0x1953000 0x1000>;
48 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
52 compatible = "qcom,tcsr";
53 reg = <0x1957000 0x100>;
54 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
76 switch_lan_bmp = <0x10>; /* lan port bitmap */
86 mdio_pins: mdio_pinmux {
98 pins = "gpio52", "gpio53";
103 serial_pins: serial_pinmux {
105 pins = "gpio60", "gpio61";
106 function = "blsp_uart0";
111 spi_0_pins: spi_0_pinmux {
113 function = "blsp_spi0";
114 pins = "gpio55", "gpio56", "gpio57";
115 drive-strength = <2>;
121 pins = "gpio54", "gpio59";
122 drive-strength = <2>;
136 pinctrl-0 = <&spi_0_pins>;
137 pinctrl-names = "default";
138 cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>, <&tlmm 59 GPIO_ACTIVE_HIGH>;
143 compatible = "jedec,spi-nor";
145 spi-max-frequency = <24000000>;
148 compatible = "fixed-partitions";
149 #address-cells = <1>;
154 reg = <0x00000000 0x00040000>;
160 reg = <0x00040000 0x00020000>;
166 reg = <0x00060000 0x00060000>;
172 reg = <0x000c0000 0x00010000>;
178 reg = <0x000d0000 0x00010000>;
183 label = "APPSBLENV"; /* uboot env*/
184 reg = <0x000e0000 0x00010000>;
189 label = "APPSBL"; /* uboot */
190 reg = <0x000f0000 0x00080000>;
196 reg = <0x00170000 0x00010000>;
198 compatible = "nvmem-cells";
199 #address-cells = <1>;
202 precal_art_1000: precal@1000 {
203 reg = <0x1000 0x2f20>;
206 precal_art_5000: precal@5000 {
207 reg = <0x5000 0x2f20>;
216 compatible = "spi-nand";
218 spi-max-frequency = <24000000>;
221 compatible = "fixed-partitions";
222 #address-cells = <1>;
227 reg = <0x00000000 0x08000000>;
236 pinctrl-0 = <&serial_pins>;
237 pinctrl-names = "default";
245 qcom,poll_required = <1>;
246 qcom,poll_required_dynamic = <1>;
247 qcom,phy_mdio_addr = <3>;
252 qcom,poll_required = <1>;
253 qcom,poll_required_dynamic = <1>;
254 qcom,phy_mdio_addr = <4>;
260 nvmem-cell-names = "pre-calibration";
261 nvmem-cells = <&precal_art_1000>;
262 qcom,ath10k-calibration-variant = "8devices-Jalapeno";
267 nvmem-cell-names = "pre-calibration";
268 nvmem-cells = <&precal_art_5000>;
269 qcom,ath10k-calibration-variant = "8devices-Jalapeno";