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";
26 compatible = "qcom,tcsr";
27 reg = <0x194b000 0x100>;
28 qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
33 compatible = "qcom,tcsr";
34 reg = <0x1949000 0x100>;
35 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
39 compatible = "qcom,tcsr";
40 reg = <0x1953000 0x1000>;
41 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
45 compatible = "qcom,tcsr";
46 reg = <0x1957000 0x100>;
47 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
64 compatible = "gpio-keys";
68 gpios = <&tlmm 59 GPIO_ACTIVE_LOW>;
69 linux,code = <KEY_RESTART>;
74 led-boot = &led_status_purple;
75 led-failsafe = &led_status_yellow;
76 led-running = &led_status_cyan;
77 led-upgrade = &led_status_yellow;
81 compatible = "gpio-leds";
83 led_status_cyan: status_cyan {
84 label = "cyan:status";
85 gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
88 led_status_purple: status_purple {
89 label = "purple:status";
90 gpios = <&tlmm 1 GPIO_ACTIVE_HIGH>;
93 led_status_yellow: status_yellow {
94 label = "yellow:status";
95 gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>;
102 serial_pins: serial_pinmux {
104 pins = "gpio60", "gpio61";
105 function = "blsp_uart0";
110 spi_0_pins: spi_0_pinmux {
112 function = "blsp_spi0";
113 pins = "gpio55", "gpio56", "gpio57";
114 drive-strength = <12>;
120 drive-strength = <2>;
132 pinctrl-0 = <&spi_0_pins>;
133 pinctrl-names = "default";
135 cs-gpios = <&tlmm 54 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";
163 qcom,ath10k-calibration-variant = "PlasmaCloud-PA1200";
168 qcom,ath10k-calibration-variant = "PlasmaCloud-PA1200";