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";
25 compatible = "qcom,tcsr";
26 reg = <0x1949000 0x100>;
27 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
31 compatible = "qcom,tcsr";
32 reg = <0x1953000 0x1000>;
33 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
37 compatible = "qcom,tcsr";
38 reg = <0x1957000 0x100>;
39 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
52 compatible = "gpio-keys";
56 gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
57 linux,code = <KEY_RESTART >;
62 led-boot = &led_power_orange;
63 led-failsafe = &led_status_blue;
64 led-running = &led_power_orange;
65 led-upgrade = &led_status_blue;
69 compatible = "gpio-leds";
71 led_power_orange: power_orange {
72 label = "orange:power";
73 gpios = <&tlmm 43 GPIO_ACTIVE_LOW>;
78 gpios = <&tlmm 46 GPIO_ACTIVE_LOW>;
79 linux,default-trigger = "phy1tpt";
84 gpios = <&tlmm 47 GPIO_ACTIVE_LOW>;
85 linux,default-trigger = "phy0tpt";
90 gpios = <&tlmm 48 GPIO_ACTIVE_LOW>;
91 linux,default-trigger = "phy2tpt";
94 led_status_blue: status_blue {
95 label = "blue:status";
96 gpios = <&tlmm 50 GPIO_ACTIVE_LOW>;
102 serial_pins: serial_pinmux {
104 pins = "gpio16", "gpio17";
105 function = "blsp_uart0";
110 spi_0_pins: spi_0_pinmux {
112 function = "blsp_spi0";
113 pins = "gpio13", "gpio14", "gpio15";
114 drive-strength = <12>;
120 drive-strength = <2>;
132 pinctrl-0 = <&spi_0_pins>;
133 pinctrl-names = "default";
135 cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
138 #address-cells = <1>;
140 compatible = "jedec,spi-nor";
142 spi-max-frequency = <24000000>;
144 /* partitions are passed via bootloader */
147 compatible = "nvmem-cells";
148 #address-cells = <1>;
152 precal_art_1000: precal@1000 {
153 reg = <0x1000 0x2f20>;
156 precal_art_5000: precal@5000 {
157 reg = <0x5000 0x2f20>;
160 precal_art_9000: precal@9000 {
161 reg = <0x9000 0x2f20>;
164 macaddr_gmac0: macaddr@0 {
168 macaddr_gmac1: macaddr@6 {
177 pinctrl-0 = <&serial_pins>;
178 pinctrl-names = "default";
188 perst-gpio = <&tlmm 38 GPIO_ACTIVE_LOW>;
189 wake-gpio = <&tlmm 50 GPIO_ACTIVE_LOW>;
192 reg = <0x00000000 0 0 0 0>;
193 #address-cells = <3>;
198 compatible = "qcom,ath10k";
200 reg = <0x00010000 0 0 0 0>;
201 qcom,ath10k-calibration-variant = "PlasmaCloud-PA2200";
202 ieee80211-freq-limit = <5170000 5350000>;
204 nvmem-cell-names = "pre-calibration";
205 nvmem-cells = <&precal_art_9000>;
212 qcom,ath10k-calibration-variant = "PlasmaCloud-PA2200";
214 nvmem-cell-names = "pre-calibration";
215 nvmem-cells = <&precal_art_1000>;
220 qcom,ath10k-calibration-variant = "PlasmaCloud-PA2200";
221 ieee80211-freq-limit = <5470000 5875000>;
223 nvmem-cell-names = "pre-calibration";
224 nvmem-cells = <&precal_art_5000>;