1 // SPDX-License-Identifier: GPL-2.0-only 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 = "Extreme Networks WS-AP3915i";
10 compatible = "extreme-networks,ws-ap3915i";
13 led-boot = &led_system_green;
14 led-failsafe = &led_system_amber;
15 led-running = &led_system_green;
16 led-upgrade = &led_system_amber;
26 pinctrl-0 = <&mdio_pins>;
27 pinctrl-names = "default";
31 compatible = "qcom,tcsr";
32 reg = <0x1949000 0x100>;
33 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
37 compatible = "qcom,tcsr";
38 reg = <0x1953000 0x1000>;
39 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
43 compatible = "qcom,tcsr";
44 reg = <0x1957000 0x100>;
45 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
58 compatible = "gpio-leds";
60 led_system_green: system_green {
61 label = "green:system";
62 gpios = <&tlmm 49 GPIO_ACTIVE_LOW>;
65 led_system_amber: system_amber {
66 label = "amber:system";
67 gpios = <&tlmm 50 GPIO_ACTIVE_LOW>;
70 led_wlan24_green: wlan24_green {
71 label = "green:wlan24";
72 gpios = <&tlmm 23 GPIO_ACTIVE_LOW>;
73 linux,default-trigger = "phy0tpt";
76 led_wlan24_amber: wlan24_amber {
77 label = "amber:wlan24";
78 gpios = <&tlmm 32 GPIO_ACTIVE_LOW>;
81 led_wlan5_green: wlan5_green {
82 label = "green:wlan5";
83 gpios = <&tlmm 22 GPIO_ACTIVE_LOW>;
84 linux,default-trigger = "phy1tpt";
87 led_wlan5_amber: wlan5_amber {
88 label = "amber:wlan5";
89 gpios = <&tlmm 26 GPIO_ACTIVE_LOW>;
94 gpios = <&tlmm 10 GPIO_ACTIVE_LOW>;
99 compatible = "gpio-keys";
103 gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
104 linux,code = <KEY_RESTART >;
114 pinctrl-0 = <&serial_pins>;
115 pinctrl-names = "default";
142 mdio_pins: mdio_pinmux {
155 spi_0_pins: spi_0_pinmux {
157 function = "blsp_spi0";
158 pins = "gpio13", "gpio14", "gpio15";
159 drive-strength = <12>;
165 drive-strength = <2>;
171 serial_pins: serial_0_pinmux {
173 pins = "gpio16", "gpio17";
174 function = "blsp_uart0";
182 qcom,ath10k-calibration-variant = "Extreme-Networks-WS-AP3915i";
187 qcom,ath10k-calibration-variant = "Extreme-Networks-WS-AP3915i";
191 pinctrl-0 = <&spi_0_pins>;
192 pinctrl-names = "default";
194 cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
197 compatible = "jedec,spi-nor";
199 spi-max-frequency = <24000000>;
202 compatible = "fixed-partitions";
203 #address-cells = <1>;
206 /* Layout for 0x0 - 0xe0000 unknown */
210 reg = <0xe0000 0x10000>;
216 reg = <0xf0000 0x70000>;
222 reg = <0x160000 0x10000>;
228 reg = <0x170000 0x10000>;
234 reg = <0x180000 0x70000>;
240 reg = <0x1f0000 0x10000>;
246 reg = <0x200000 0x80000>;
252 reg = <0x280000 0x1d60000>;
257 reg = <0x1fe0000 0x10000>;