1 // SPDX-License-Identifier: ISC
2 /* Copyright (c) 2015, The Linux Foundation. All rights reserved.
3 * Copyright (c) 2017-2018, Sven Eckelmann <sven.eckelmann@openmesh.com>
6 #include "qcom-ipq4019.dtsi"
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/soc/qcom,tcsr.h>
12 model = "OpenMesh A62";
13 compatible = "openmesh,a62";
30 compatible = "qcom,tcsr";
31 reg = <0x194b000 0x100>;
32 qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
37 compatible = "qcom,tcsr";
38 reg = <0x1949000 0x100>;
39 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
43 compatible = "qcom,tcsr";
44 reg = <0x1953000 0x1000>;
45 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
49 compatible = "qcom,tcsr";
50 reg = <0x1957000 0x100>;
51 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
67 switch_lan_bmp = <0x10>;
68 switch_wan_bmp = <0x20>;
79 compatible = "gpio-keys";
83 gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
84 linux,code = <KEY_RESTART >;
89 led-boot = &led_status_green;
90 led-failsafe = &led_status_green;
91 led-running = &led_status_green;
92 led-upgrade = &led_status_green;
96 compatible = "gpio-leds";
100 gpios = <&tlmm 43 GPIO_ACTIVE_HIGH>;
103 led_status_green: status_green {
104 label = "green:status";
105 gpios = <&tlmm 45 GPIO_ACTIVE_HIGH>;
109 label = "blue:status";
110 gpios = <&tlmm 46 GPIO_ACTIVE_HIGH>;
115 compatible = "linux,wdt-gpio";
116 gpios = <&tlmm 59 GPIO_ACTIVE_LOW>;
118 /* hw_margin_ms is actually 300s but driver limits it to 60s */
119 hw_margin_ms = <60000>;
125 serial_pins: serial_pinmux {
127 pins = "gpio16", "gpio17";
128 function = "blsp_uart0";
133 spi_0_pins: spi_0_pinmux {
135 function = "blsp_spi0";
136 pins = "gpio13", "gpio14", "gpio15";
137 drive-strength = <12>;
143 drive-strength = <2>;
151 gpios = <58 GPIO_ACTIVE_HIGH>;
153 line-name = "enable USB2 power";
162 pinctrl-0 = <&spi_0_pins>;
163 pinctrl-names = "default";
165 cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
168 #address-cells = <1>;
170 compatible = "jedec,spi-nor";
172 spi-max-frequency = <24000000>;
173 /* partitions are passed via bootloader */
178 pinctrl-0 = <&serial_pins>;
179 pinctrl-names = "default";
188 qcom,phy_mdio_addr = <3>;
189 qcom,poll_required = <1>;
190 qcom,forced_speed = <1000>;
191 qcom,forced_duplex = <1>;
201 perst-gpio = <&tlmm 38 GPIO_ACTIVE_LOW>;
202 wake-gpio = <&tlmm 50 GPIO_ACTIVE_LOW>;
205 reg = <0x00000000 0 0 0 0>;
206 #address-cells = <3>;
211 compatible = "qcom,ath10k";
213 reg = <0x00010000 0 0 0 0>;
214 qcom,ath10k-calibration-variant = "OM-A62";
215 ieee80211-freq-limit = <5170000 5350000>;
222 qcom,ath10k-calibration-variant = "OM-A62";
227 qcom,ath10k-calibration-variant = "OM-A62";
228 ieee80211-freq-limit = <5470000 5875000>;