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>;
205 compatible = "spi-nand";
207 spi-max-frequency = <24000000>;
210 compatible = "fixed-partitions";
211 #address-cells = <1>;
216 reg = <0x00000000 0x08000000>;
225 pinctrl-0 = <&serial_pins>;
226 pinctrl-names = "default";
234 qcom,poll_required = <1>;
235 qcom,poll_required_dynamic = <1>;
236 qcom,phy_mdio_addr = <3>;
241 qcom,poll_required = <1>;
242 qcom,poll_required_dynamic = <1>;
243 qcom,phy_mdio_addr = <4>;
250 qcom,ath10k-calibration-variant = "8devices-Jalapeno";
256 qcom,ath10k-calibration-variant = "8devices-Jalapeno";