ipq40xx: drop ESSEDMA + AR40xx DTS nodes
[openwrt/staging/dedeckeh.git] / target / linux / ipq40xx / files / arch / arm / boot / dts / qcom-ipq4029-aruba-glenmorangie.dtsi
1 // SPDX-License-Identifier: GPL-2.0-only OR MIT
2
3 #include "qcom-ipq4019.dtsi"
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/soc/qcom,tcsr.h>
7
8 / {
9 memory {
10 device_type = "memory";
11 reg = <0x80000000 0x10000000>;
12 };
13
14 soc {
15 rng@22000 {
16 status = "okay";
17 };
18
19 mdio@90000 {
20 status = "okay";
21 pinctrl-0 = <&mdio_pins>;
22 pinctrl-names = "default";
23
24 /delete-node/ ethernet-phy@0;
25 /delete-node/ ethernet-phy@1;
26 /delete-node/ ethernet-phy@2;
27 /delete-node/ ethernet-phy@3;
28 /delete-node/ ethernet-phy@4;
29 /delete-node/ psgmii-phy@5;
30
31 ethernet-phy@5 {
32 reg = <0x5>;
33 };
34 };
35
36 counter@4a1000 {
37 compatible = "qcom,qca-gcnt";
38 reg = <0x4a1000 0x4>;
39 };
40
41 ess_tcsr@1953000 {
42 compatible = "qcom,tcsr";
43 reg = <0x1953000 0x1000>;
44 qcom,ess-interface-select = <TCSR_ESS_PSGMII_RGMII5>;
45 };
46
47 tcsr@1949000 {
48 compatible = "qcom,tcsr";
49 reg = <0x1949000 0x100>;
50 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
51 };
52
53 tcsr@1957000 {
54 compatible = "qcom,tcsr";
55 reg = <0x1957000 0x100>;
56 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
57 };
58
59 crypto@8e3a000 {
60 status = "okay";
61 };
62
63 watchdog@b017000 {
64 status = "okay";
65 };
66
67 i2c_0: i2c@78b7000 {
68 pinctrl-0 = <&i2c_0_pins>;
69 pinctrl-names = "default";
70 status = "okay";
71
72 tpm@29 {
73 /* No Driver */
74 compatible = "atmel,at97sc3203";
75 reg = <0x29>;
76 read-only;
77 };
78 };
79 };
80
81 keys {
82 compatible = "gpio-keys";
83
84 reset {
85 label = "Reset button";
86 gpios = <&tlmm 50 GPIO_ACTIVE_LOW>;
87 linux,code = <KEY_RESTART>;
88 };
89 };
90 };
91
92 &blsp_dma {
93 status = "okay";
94 };
95
96 &blsp1_uart1 {
97 /* Texas Instruments CC2540T BLE radio */
98 pinctrl-0 = <&serial_0_pins>;
99 pinctrl-names = "default";
100 status = "okay";
101 };
102
103 &blsp1_uart2 {
104 pinctrl-0 = <&serial_1_pins>;
105 pinctrl-names = "default";
106 status = "okay";
107 };
108
109 &cryptobam {
110 status = "okay";
111 };
112
113 &qpic_bam {
114 status = "okay";
115 };
116
117 &tlmm {
118 mdio_pins: mdio_pinmux {
119 mux_1 {
120 pins = "gpio6";
121 function = "mdio";
122 bias-pull-up;
123 };
124 mux_2 {
125 pins = "gpio7";
126 function = "mdc";
127 bias-pull-up;
128 };
129 };
130
131 nand_pins: nand_pins {
132 pullups {
133 pins = "gpio53", "gpio58", "gpio59";
134 function = "qpic";
135 bias-pull-up;
136 };
137
138 pulldowns {
139 pins = "gpio54", "gpio55", "gpio56",
140 "gpio57", "gpio60", "gpio61",
141 "gpio62", "gpio63", "gpio64",
142 "gpio65", "gpio66", "gpio67",
143 "gpio68", "gpio69";
144 function = "qpic";
145 bias-pull-down;
146 };
147 };
148
149 spi_0_pins: spi_0_pinmux {
150 pin {
151 function = "blsp_spi0";
152 pins = "gpio13", "gpio14", "gpio15";
153 drive-strength = <12>;
154 bias-disable;
155 };
156 pin_cs {
157 function = "gpio";
158 pins = "gpio12";
159 drive-strength = <2>;
160 bias-disable;
161 output-high;
162 };
163 };
164
165 i2c_0_pins: i2c_0_pinmux {
166 mux {
167 pins = "gpio10", "gpio11";
168 function = "blsp_i2c0";
169 drive-strength = <4>;
170 bias-disable;
171 };
172 };
173
174 serial_0_pins: serial_0_pinmux {
175 mux {
176 pins = "gpio16", "gpio17";
177 function = "blsp_uart0";
178 bias-disable;
179 };
180 };
181
182 serial_1_pins: serial_1_pinmux {
183 mux {
184 pins = "gpio8", "gpio9";
185 function = "blsp_uart1";
186 bias-disable;
187 };
188 };
189 };
190
191 &nand {
192 pinctrl-0 = <&nand_pins>;
193 pinctrl-names = "default";
194 status = "okay";
195
196 nand@0 {
197 partitions {
198 compatible = "fixed-partitions";
199 #address-cells = <1>;
200 #size-cells = <1>;
201
202 partition@0 {
203 /* 'aos0' in Aruba firmware */
204 label = "aos0";
205 reg = <0x0 0x2000000>;
206 read-only;
207 };
208
209 partition@2000000 {
210 /* 'aos1' in Aruba firmware */
211 label = "ubi";
212 reg = <0x2000000 0x2000000>;
213 };
214
215 partition@4000000 {
216 label = "aruba-ubifs";
217 reg = <0x4000000 0x4000000>;
218 read-only;
219 };
220 };
221 };
222 };
223
224 &wifi0 {
225 status = "okay";
226 nvmem-cell-names = "pre-calibration", "mac-address";
227 nvmem-cells = <&precal_art_1000>, <&macaddr_mfginfo_1d>;
228 qcom,ath10k-calibration-variant = "Aruba-AP-303";
229 };
230
231 &wifi1 {
232 status = "okay";
233 nvmem-cell-names = "pre-calibration", "mac-address";
234 nvmem-cells = <&precal_art_5000>, <&macaddr_mfginfo_1d>;
235 mac-address-increment = <1>;
236 qcom,ath10k-calibration-variant = "Aruba-AP-303";
237 };