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 "qcom-ipq4019-bus.dtsi"
20 #include <dt-bindings/gpio/gpio.h>
21 #include <dt-bindings/input/input.h>
22 #include <dt-bindings/soc/qcom,tcsr.h>
25 model = "8devices Jalapeno";
26 compatible = "8dev,jalapeno", "qcom,ipq4019";
31 pinctrl-0 = <&mdio_pins>;
32 pinctrl-names = "default";
40 compatible = "qcom,qca-gcnt";
45 compatible = "qcom,tcsr";
46 reg = <0x1949000 0x100>;
47 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
52 compatible = "qcom,tcsr";
53 reg = <0x194b000 0x100>;
54 qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
59 compatible = "qcom,tcsr";
60 reg = <0x1953000 0x1000>;
61 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
65 compatible = "qcom,tcsr";
66 reg = <0x1957000 0x100>;
67 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
75 pinctrl-0 = <&serial_pins>;
76 pinctrl-names = "default";
94 switch_lan_bmp = <0x10>; /* lan port bitmap */
104 mdio_pins: mdio_pinmux {
114 pins = "gpio52", "gpio53";
119 serial_pins: serial_pinmux {
121 pins = "gpio60", "gpio61";
122 function = "blsp_uart0";
127 spi_0_pins: spi_0_pinmux {
129 function = "blsp_spi0";
130 pins = "gpio55", "gpio56", "gpio57";
131 drive-strength = <2>;
136 pins = "gpio54", "gpio59";
137 drive-strength = <2>;
149 pinctrl-0 = <&spi_0_pins>;
150 pinctrl-names = "default";
151 cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>, <&tlmm 59 GPIO_ACTIVE_HIGH>;
155 #address-cells = <1>;
158 compatible = "jedec,spi-nor";
159 spi-max-frequency = <24000000>;
162 compatible = "fixed-partitions";
163 #address-cells = <1>;
168 reg = <0x00000000 0x00040000>;
173 reg = <0x00040000 0x00020000>;
178 reg = <0x00060000 0x00060000>;
183 reg = <0x000c0000 0x00010000>;
188 reg = <0x000d0000 0x00010000>;
192 label = "APPSBLENV"; /* uboot env*/
193 reg = <0x000e0000 0x00010000>;
197 label = "APPSBL"; /* uboot */
198 reg = <0x000f0000 0x00080000>;
203 reg = <0x00170000 0x00010000>;
211 #address-cells = <1>;
213 compatible = "spinand,mt29f", "w25n01gv";
215 spi-max-frequency = <24000000>;
217 compatible = "fixed-partitions";
218 #address-cells = <1>;
223 reg = <0x00000000 0x08000000>;
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>;
249 qcom,ath10k-calibration-variant = "8devices-Jalapeno";
254 qcom,ath10k-calibration-variant = "8devices-Jalapeno";