1 /* Copyright (c) 2015, The Linux Foundation. All rights reserved.
2 * Copyright (c) 2018, Robert Marko <robimarko@gmail.com>
4 * Permission to use, copy, modify, and/or distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies.
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18 #include "qcom-ipq4019.dtsi"
19 #include <dt-bindings/gpio/gpio.h>
20 #include <dt-bindings/input/input.h>
21 #include <dt-bindings/soc/qcom,tcsr.h>
24 model = "8devices Jalapeno";
25 compatible = "8dev,jalapeno", "qcom,ipq4019";
30 pinctrl-0 = <&mdio_pins>;
31 pinctrl-names = "default";
39 compatible = "qcom,qca-gcnt";
44 compatible = "qcom,tcsr";
45 reg = <0x1949000 0x100>;
46 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
51 compatible = "qcom,tcsr";
52 reg = <0x194b000 0x100>;
53 qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
58 compatible = "qcom,tcsr";
59 reg = <0x1953000 0x1000>;
60 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
64 compatible = "qcom,tcsr";
65 reg = <0x1957000 0x100>;
66 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
74 pinctrl-0 = <&serial_pins>;
75 pinctrl-names = "default";
93 switch_lan_bmp = <0x10>; /* lan port bitmap */
103 mdio_pins: mdio_pinmux {
113 pins = "gpio52", "gpio53";
118 serial_pins: serial_pinmux {
120 pins = "gpio60", "gpio61";
121 function = "blsp_uart0";
126 spi_0_pins: spi_0_pinmux {
128 function = "blsp_spi0";
129 pins = "gpio55", "gpio56", "gpio57";
130 drive-strength = <2>;
135 pins = "gpio54", "gpio59";
136 drive-strength = <2>;
148 pinctrl-0 = <&spi_0_pins>;
149 pinctrl-names = "default";
150 cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>, <&tlmm 59 GPIO_ACTIVE_HIGH>;
154 #address-cells = <1>;
157 compatible = "jedec,spi-nor";
158 spi-max-frequency = <24000000>;
161 compatible = "fixed-partitions";
162 #address-cells = <1>;
167 reg = <0x00000000 0x00040000>;
172 reg = <0x00040000 0x00020000>;
177 reg = <0x00060000 0x00060000>;
182 reg = <0x000c0000 0x00010000>;
187 reg = <0x000d0000 0x00010000>;
191 label = "APPSBLENV"; /* uboot env*/
192 reg = <0x000e0000 0x00010000>;
196 label = "APPSBL"; /* uboot */
197 reg = <0x000f0000 0x00080000>;
202 reg = <0x00170000 0x00010000>;
210 #address-cells = <1>;
212 compatible = "spinand,mt29f", "w25n01gv";
214 spi-max-frequency = <24000000>;
216 compatible = "fixed-partitions";
217 #address-cells = <1>;
222 reg = <0x00000000 0x08000000>;
233 qcom,poll_required = <1>;
234 qcom,poll_required_dynamic = <1>;
235 qcom,phy_mdio_addr = <3>;
240 qcom,poll_required = <1>;
241 qcom,poll_required_dynamic = <1>;
242 qcom,phy_mdio_addr = <4>;
248 qcom,ath10k-calibration-variant = "8devices-Jalapeno";
253 qcom,ath10k-calibration-variant = "8devices-Jalapeno";