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>;
143 /* partitions are passed via bootloader */
148 pinctrl-0 = <&serial_pins>;
149 pinctrl-names = "default";
159 perst-gpio = <&tlmm 38 GPIO_ACTIVE_LOW>;
160 wake-gpio = <&tlmm 50 GPIO_ACTIVE_LOW>;
163 reg = <0x00000000 0 0 0 0>;
164 #address-cells = <3>;
169 compatible = "qcom,ath10k";
171 reg = <0x00010000 0 0 0 0>;
172 qcom,ath10k-calibration-variant = "PlasmaCloud-PA2200";
173 ieee80211-freq-limit = <5170000 5350000>;
180 qcom,ath10k-calibration-variant = "PlasmaCloud-PA2200";
185 qcom,ath10k-calibration-variant = "PlasmaCloud-PA2200";
186 ieee80211-freq-limit = <5470000 5875000>;