ipq40xx: drop ESSEDMA + AR40xx DTS nodes
[openwrt/staging/dedeckeh.git] / target / linux / ipq40xx / files / arch / arm / boot / dts / qcom-ipq4018-pa1200.dts
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>
4 */
5
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>
10
11 / {
12 model = "Plasma Cloud PA1200";
13 compatible = "plasmacloud,pa1200";
14
15 soc {
16 rng@22000 {
17 status = "okay";
18 };
19
20 mdio@90000 {
21 status = "okay";
22 };
23
24 tcsr@194b000 {
25 /* select hostmode */
26 compatible = "qcom,tcsr";
27 reg = <0x194b000 0x100>;
28 qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
29 status = "okay";
30 };
31
32 tcsr@1949000 {
33 compatible = "qcom,tcsr";
34 reg = <0x1949000 0x100>;
35 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
36 };
37
38 ess_tcsr@1953000 {
39 compatible = "qcom,tcsr";
40 reg = <0x1953000 0x1000>;
41 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
42 };
43
44 tcsr@1957000 {
45 compatible = "qcom,tcsr";
46 reg = <0x1957000 0x100>;
47 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
48 };
49
50 usb2: usb2@60f8800 {
51 status = "okay";
52 };
53
54 crypto@8e3a000 {
55 status = "okay";
56 };
57
58 watchdog@b017000 {
59 status = "okay";
60 };
61 };
62
63 keys {
64 compatible = "gpio-keys";
65
66 reset {
67 label = "reset";
68 gpios = <&tlmm 59 GPIO_ACTIVE_LOW>;
69 linux,code = <KEY_RESTART>;
70 };
71 };
72
73 aliases {
74 led-boot = &led_status_purple;
75 led-failsafe = &led_status_yellow;
76 led-running = &led_status_cyan;
77 led-upgrade = &led_status_yellow;
78 };
79
80 leds {
81 compatible = "gpio-leds";
82
83 led_status_cyan: status_cyan {
84 label = "cyan:status";
85 gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
86 };
87
88 led_status_purple: status_purple {
89 label = "purple:status";
90 gpios = <&tlmm 1 GPIO_ACTIVE_HIGH>;
91 };
92
93 led_status_yellow: status_yellow {
94 label = "yellow:status";
95 gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>;
96 };
97 };
98
99 };
100
101 &tlmm {
102 serial_pins: serial_pinmux {
103 mux {
104 pins = "gpio60", "gpio61";
105 function = "blsp_uart0";
106 bias-disable;
107 };
108 };
109
110 spi_0_pins: spi_0_pinmux {
111 pin {
112 function = "blsp_spi0";
113 pins = "gpio55", "gpio56", "gpio57";
114 drive-strength = <12>;
115 bias-disable;
116 };
117 pin_cs {
118 function = "gpio";
119 pins = "gpio54";
120 drive-strength = <2>;
121 bias-disable;
122 output-high;
123 };
124 };
125 };
126
127 &blsp_dma {
128 status = "okay";
129 };
130
131 &blsp1_spi1 {
132 pinctrl-0 = <&spi_0_pins>;
133 pinctrl-names = "default";
134 status = "okay";
135 cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
136
137 flash@0 {
138 #address-cells = <1>;
139 #size-cells = <1>;
140 compatible = "jedec,spi-nor";
141 reg = <0>;
142 spi-max-frequency = <24000000>;
143 /* partitions are passed via bootloader */
144 };
145 };
146
147 &blsp1_uart1 {
148 pinctrl-0 = <&serial_pins>;
149 pinctrl-names = "default";
150 status = "okay";
151 };
152
153 &cryptobam {
154 status = "okay";
155 };
156
157 &usb2_hs_phy {
158 status = "okay";
159 };
160
161 &wifi0 {
162 status = "okay";
163 qcom,ath10k-calibration-variant = "PlasmaCloud-PA1200";
164 };
165
166 &wifi1 {
167 status = "okay";
168 qcom,ath10k-calibration-variant = "PlasmaCloud-PA1200";
169 };