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>
16 compatible = "qcom,qca-gcnt";
21 compatible = "qcom,tcsr";
22 reg = <0x1949000 0x100>;
23 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
29 compatible = "qcom,tcsr";
30 reg = <0x194b000 0x100>;
31 qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
35 compatible = "qcom,tcsr";
36 reg = <0x1953000 0x1000>;
37 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
41 compatible = "qcom,tcsr";
42 reg = <0x1957000 0x100>;
43 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
61 mdio_pins: mdio_pinmux {
73 pins = "gpio52", "gpio53";
78 serial_pins: serial_pinmux {
80 pins = "gpio60", "gpio61";
81 function = "blsp_uart0";
86 spi_0_pins: spi_0_pinmux {
88 function = "blsp_spi0";
89 pins = "gpio55", "gpio56", "gpio57";
96 pins = "gpio54", "gpio59";
111 pinctrl-0 = <&spi_0_pins>;
112 pinctrl-names = "default";
113 cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>, <&tlmm 59 GPIO_ACTIVE_HIGH>;
118 compatible = "jedec,spi-nor";
120 spi-max-frequency = <24000000>;
123 compatible = "fixed-partitions";
124 #address-cells = <1>;
129 reg = <0x00000000 0x00040000>;
135 reg = <0x00040000 0x00020000>;
141 reg = <0x00060000 0x00060000>;
147 reg = <0x000c0000 0x00010000>;
153 reg = <0x000d0000 0x00010000>;
158 label = "APPSBLENV"; /* uboot env*/
159 reg = <0x000e0000 0x00010000>;
164 label = "APPSBL"; /* uboot */
165 reg = <0x000f0000 0x00080000>;
171 reg = <0x00170000 0x00010000>;
175 compatible = "fixed-layout";
176 #address-cells = <1>;
179 precal_art_1000: precal@1000 {
180 reg = <0x1000 0x2f20>;
183 precal_art_5000: precal@5000 {
184 reg = <0x5000 0x2f20>;
194 compatible = "spi-nand";
196 spi-max-frequency = <24000000>;
199 compatible = "fixed-partitions";
200 #address-cells = <1>;
205 reg = <0x00000000 0x08000000>;
214 pinctrl-0 = <&serial_pins>;
215 pinctrl-names = "default";
224 pinctrl-0 = <&mdio_pins>;
225 pinctrl-names = "default";
248 nvmem-cell-names = "pre-calibration";
249 nvmem-cells = <&precal_art_1000>;
250 qcom,ath10k-calibration-variant = "8devices-Jalapeno";
255 nvmem-cell-names = "pre-calibration";
256 nvmem-cells = <&precal_art_5000>;
257 qcom,ath10k-calibration-variant = "8devices-Jalapeno";