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 PA1200";
13 compatible = "plasmacloud,pa1200";
30 compatible = "qcom,tcsr";
31 reg = <0x194b000 0x100>;
32 qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
37 compatible = "qcom,tcsr";
38 reg = <0x1949000 0x100>;
39 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
43 compatible = "qcom,tcsr";
44 reg = <0x1953000 0x1000>;
45 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
49 compatible = "qcom,tcsr";
50 reg = <0x1957000 0x100>;
51 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
76 compatible = "gpio-keys";
80 gpios = <&tlmm 59 GPIO_ACTIVE_LOW>;
81 linux,code = <KEY_RESTART>;
86 led-boot = &led_status_purple;
87 led-failsafe = &led_status_yellow;
88 led-running = &led_status_cyan;
89 led-upgrade = &led_status_yellow;
93 compatible = "gpio-leds";
95 led_status_cyan: status_cyan {
96 label = "cyan:status";
97 gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
100 led_status_purple: status_purple {
101 label = "purple:status";
102 gpios = <&tlmm 1 GPIO_ACTIVE_HIGH>;
105 led_status_yellow: status_yellow {
106 label = "yellow:status";
107 gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>;
114 serial_pins: serial_pinmux {
116 pins = "gpio60", "gpio61";
117 function = "blsp_uart0";
122 spi_0_pins: spi_0_pinmux {
124 function = "blsp_spi0";
125 pins = "gpio55", "gpio56", "gpio57";
126 drive-strength = <12>;
132 drive-strength = <2>;
144 pinctrl-0 = <&spi_0_pins>;
145 pinctrl-names = "default";
147 cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
150 #address-cells = <1>;
152 compatible = "jedec,spi-nor";
154 spi-max-frequency = <24000000>;
155 /* partitions are passed via bootloader */
160 pinctrl-0 = <&serial_pins>;
161 pinctrl-names = "default";
170 qcom,phy_mdio_addr = <4>;
171 qcom,poll_required = <1>;
172 qcom,forced_speed = <1000>;
173 qcom,forced_duplex = <1>;
178 qcom,phy_mdio_addr = <3>;
179 qcom,poll_required = <1>;
180 qcom,forced_speed = <1000>;
181 qcom,forced_duplex = <1>;
191 qcom,ath10k-calibration-variant = "PlasmaCloud-PA1200";
196 qcom,ath10k-calibration-variant = "PlasmaCloud-PA1200";