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/soc/qcom,tcsr.h>
9 model = "D-Link DAP 2610";
10 compatible = "dlink,dap-2610";
14 led-failsafe = &led_red;
15 led-running = &led_green;
16 led-upgrade = &led_red;
26 compatible = "qcom,tcsr";
27 reg = <0x1949000 0x100>;
28 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
32 compatible = "qcom,tcsr";
33 reg = <0x1953000 0x1000>;
34 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
38 compatible = "qcom,tcsr";
39 reg = <0x1957000 0x100>;
40 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
57 switch_lan_bmp = <0x20>;
58 switch_wan_bmp = <0x00>;
67 compatible = "gpio-leds";
70 label = "dap-2610:red:power";
71 gpios = <&tlmm 4 GPIO_ACTIVE_LOW>;
75 label = "dap-2610:green:power";
76 gpios = <&tlmm 5 GPIO_ACTIVE_LOW>;
81 compatible = "gpio-keys";
85 gpios = <&tlmm 63 GPIO_ACTIVE_LOW>;
86 linux,code = <KEY_RESTART>;
92 pinctrl-0 = <&spi_0_pins>;
93 pinctrl-names = "default";
95 cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
98 compatible = "jedec,spi-nor";
100 spi-max-frequency = <24000000>;
103 #address-cells = <1>;
105 compatible = "fixed-partitions";
114 reg = <0x40000 0x20000>;
119 reg = <0x60000 0x60000>;
124 reg = <0xc0000 0x10000>;
129 reg = <0xd0000 0x10000>;
134 reg = <0xe0000 0x10000>;
139 reg = <0xf0000 0x80000>;
144 reg = <0x170000 0x10000>;
150 reg = <0x180000 0xdc0000>;
154 reg = <0xfb0000 0x10000>;
159 reg = <0xfc0000 0x10000>;
164 reg = <0xfd0000 0x20000>;
168 label = "certificate";
169 reg = <0xff0000 0x10000>;
174 reg = <0xf40000 0x70000>;
186 pinctrl-0 = <&serial_pins>;
187 pinctrl-names = "default";
196 qcom,phy_mdio_addr = <4>;
197 qcom,poll_required = <1>;
198 qcom,forced_speed = <1000>;
199 qcom,forced_duplex = <1>;
208 serial_pins: serial_pinmux {
210 pins = "gpio60", "gpio61";
211 function = "blsp_uart0";
216 spi_0_pins: spi_0_pinmux {
218 function = "blsp_spi0";
219 pins = "gpio55", "gpio56", "gpio57";
220 drive-strength = <12>;
226 drive-strength = <2>;
235 qcom,ath10k-calibration-variant = "dlink,dap-2610";
240 qcom,ath10k-calibration-variant = "dlink,dap-2610";