1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 /* Copyright (c) 2017-2020, Sven Eckelmann <sven@narfation.org>
3 * Copyright (c) 2018, Marek Lindner <marek.lindner@kaiwoo.ai>
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 = "Plasma Cloud PA2200";
13 compatible = "plasmacloud,pa2200";
29 compatible = "qcom,tcsr";
30 reg = <0x1949000 0x100>;
31 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
35 compatible = "qcom,tcsr";
36 reg = <0x1953000 0x1000>;
37 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
41 compatible = "qcom,tcsr";
42 reg = <0x1957000 0x100>;
43 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
55 switch_lan_bmp = <0x10>;
56 switch_wan_bmp = <0x20>;
67 compatible = "gpio-keys";
71 gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
72 linux,code = <KEY_RESTART >;
77 led-boot = &led_power_orange;
78 led-failsafe = &led_status_blue;
79 led-running = &led_power_orange;
80 led-upgrade = &led_status_blue;
84 compatible = "gpio-leds";
86 led_power_orange: power_orange {
87 label = "orange:power";
88 gpios = <&tlmm 43 GPIO_ACTIVE_LOW>;
93 gpios = <&tlmm 46 GPIO_ACTIVE_LOW>;
94 linux,default-trigger = "phy1tpt";
99 gpios = <&tlmm 47 GPIO_ACTIVE_LOW>;
100 linux,default-trigger = "phy0tpt";
105 gpios = <&tlmm 48 GPIO_ACTIVE_LOW>;
106 linux,default-trigger = "phy2tpt";
109 led_status_blue: status_blue {
110 label = "blue:status";
111 gpios = <&tlmm 50 GPIO_ACTIVE_LOW>;
117 serial_pins: serial_pinmux {
119 pins = "gpio16", "gpio17";
120 function = "blsp_uart0";
125 spi_0_pins: spi_0_pinmux {
127 function = "blsp_spi0";
128 pins = "gpio13", "gpio14", "gpio15";
129 drive-strength = <12>;
135 drive-strength = <2>;
147 pinctrl-0 = <&spi_0_pins>;
148 pinctrl-names = "default";
150 cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
153 #address-cells = <1>;
155 compatible = "jedec,spi-nor";
157 spi-max-frequency = <24000000>;
158 /* partitions are passed via bootloader */
163 pinctrl-0 = <&serial_pins>;
164 pinctrl-names = "default";
173 qcom,phy_mdio_addr = <3>;
174 qcom,poll_required = <1>;
175 qcom,forced_speed = <1000>;
176 qcom,forced_duplex = <1>;
182 perst-gpio = <&tlmm 38 GPIO_ACTIVE_LOW>;
183 wake-gpio = <&tlmm 50 GPIO_ACTIVE_LOW>;
186 reg = <0x00000000 0 0 0 0>;
187 #address-cells = <3>;
192 compatible = "qcom,ath10k";
194 reg = <0x00010000 0 0 0 0>;
195 qcom,ath10k-calibration-variant = "PlasmaCloud-PA2200";
196 ieee80211-freq-limit = <5170000 5350000>;
203 qcom,ath10k-calibration-variant = "PlasmaCloud-PA2200";
208 qcom,ath10k-calibration-variant = "PlasmaCloud-PA2200";
209 ieee80211-freq-limit = <5470000 5875000>;