1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qcom-ipq4019.dtsi"
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/leds/common.h>
7 #include <dt-bindings/soc/qcom,tcsr.h>
10 model = "D-Link DAP 2610";
11 compatible = "dlink,dap-2610";
15 led-failsafe = &led_red;
16 led-running = &led_green;
17 led-upgrade = &led_red;
22 compatible = "qcom,tcsr";
23 reg = <0x1949000 0x100>;
24 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
28 compatible = "qcom,tcsr";
29 reg = <0x1953000 0x1000>;
30 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
34 compatible = "qcom,tcsr";
35 reg = <0x1957000 0x100>;
36 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
53 compatible = "gpio-leds";
56 function = LED_FUNCTION_POWER;
57 color = <LED_COLOR_ID_RED>;
58 gpios = <&tlmm 4 GPIO_ACTIVE_LOW>;
62 function = LED_FUNCTION_POWER;
63 color = <LED_COLOR_ID_GREEN>;
64 gpios = <&tlmm 5 GPIO_ACTIVE_LOW>;
69 compatible = "gpio-keys";
73 gpios = <&tlmm 63 GPIO_ACTIVE_LOW>;
74 linux,code = <KEY_RESTART>;
80 pinctrl-0 = <&spi_0_pins>;
81 pinctrl-names = "default";
83 cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
86 compatible = "jedec,spi-nor";
88 spi-max-frequency = <24000000>;
93 compatible = "fixed-partitions";
102 reg = <0x40000 0x20000>;
107 reg = <0x60000 0x60000>;
112 reg = <0xc0000 0x10000>;
117 reg = <0xd0000 0x10000>;
122 reg = <0xe0000 0x10000>;
127 reg = <0xf0000 0x80000>;
132 reg = <0x170000 0x10000>;
138 reg = <0x180000 0xdc0000>;
142 reg = <0xfb0000 0x10000>;
147 reg = <0xfc0000 0x10000>;
152 reg = <0xfd0000 0x20000>;
156 label = "certificate";
157 reg = <0xff0000 0x10000>;
162 reg = <0xf40000 0x70000>;
174 pinctrl-0 = <&serial_pins>;
175 pinctrl-names = "default";
202 serial_pins: serial_pinmux {
204 pins = "gpio60", "gpio61";
205 function = "blsp_uart0";
210 spi_0_pins: spi_0_pinmux {
212 function = "blsp_spi0";
213 pins = "gpio55", "gpio56", "gpio57";
214 drive-strength = <12>;
220 drive-strength = <2>;
229 qcom,ath10k-calibration-variant = "dlink,dap-2610";
234 qcom,ath10k-calibration-variant = "dlink,dap-2610";