OpenWrt – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 // SPDX-License-Identifier: GPL-2.0-or-later 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 model = "AVM FRITZ!Box 7530";
10 compatible = "avm,fritzbox-7530";
11  
12 aliases {
13 led-boot = &power_green;
14 led-failsafe = &info_red;
15 led-running = &power_green;
16 led-upgrade = &info_green;
17 };
18  
19 soc {
20 rng@22000 {
21 status = "okay";
22 };
23  
24 mdio@90000 {
25 status = "okay";
26 };
27  
28 ess-psgmii@98000 {
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 tcsr@194b000 {
39 compatible = "qcom,tcsr";
40 reg = <0x194b000 0x100>;
41 qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
42 };
43  
44 ess_tcsr@1953000 {
45 compatible = "qcom,tcsr";
46 reg = <0x1953000 0x1000>;
47 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
48 };
49  
50 tcsr@1957000 {
51 compatible = "qcom,tcsr";
52 reg = <0x1957000 0x100>;
53 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
54 };
55  
56 usb3@8af8800 {
57 status = "okay";
58 };
59  
60 crypto@8e3a000 {
61 status = "okay";
62 };
63  
64 watchdog@b017000 {
65 status = "okay";
66 };
67  
68 ess-switch@c000000 {
69 status = "okay";
70 };
71  
72 edma@c080000 {
73 status = "okay";
74 qcom,num_gmac = <1>;
75 };
76 };
77  
78 keys {
79 compatible = "gpio-keys";
80  
81 wlan {
82 label = "wlan";
83 gpios = <&tlmm 42 GPIO_ACTIVE_LOW>;
84 linux,code = <KEY_RFKILL>;
85 };
86  
87 wps {
88 label = "wps";
89 gpios = <&tlmm 41 GPIO_ACTIVE_LOW>;
90 linux,code = <KEY_WPS_BUTTON>;
91 };
92  
93 dect {
94 label = "dect";
95 gpios = <&tlmm 43 GPIO_ACTIVE_LOW>;
96 linux,code = <KEY_PHONE>;
97 };
98 };
99  
100 leds {
101 compatible = "gpio-leds";
102  
103 info_red: info_red {
104 label = "fritzbox-7530:red:info";
105 gpios = <&tlmm 32 GPIO_ACTIVE_LOW>;
106 };
107  
108 info_green: info {
109 label = "fritzbox-7530:green:info";
110 gpios = <&tlmm 33 GPIO_ACTIVE_LOW>;
111 };
112  
113 wlan {
114 label = "fritzbox-7530:green:wlan";
115 gpios = <&tlmm 34 GPIO_ACTIVE_LOW>;
116 };
117  
118 fon {
119 label = "fritzbox-7530:green:fon";
120 gpios = <&tlmm 35 GPIO_ACTIVE_LOW>;
121 };
122  
123 power_green: power {
124 label = "fritzbox-7530:green:power";
125 gpios = <&tlmm 39 GPIO_ACTIVE_LOW>;
126 };
127  
128 wps {
129 label = "fritzbox-7530:green:wps";
130 gpios = <&tlmm 45 GPIO_ACTIVE_LOW>;
131 };
132 };
133 };
134  
135 &tlmm {
136 serial_0_pins: serial_pinmux {
137 mux {
138 pins = "gpio16", "gpio17";
139 function = "blsp_uart0";
140 bias-disable;
141 };
142 };
143  
144 nand_pins: nand_pins {
145 pullups {
146 pins = "gpio53", "gpio58", "gpio59";
147 function = "qpic";
148 bias-pull-up;
149 };
150  
151 pulldowns {
152 pins = "gpio54", "gpio55", "gpio56",
153 "gpio57", "gpio60", "gpio61",
154 "gpio62", "gpio63", "gpio64",
155 "gpio65", "gpio66", "gpio67",
156 "gpio68", "gpio69";
157 function = "qpic";
158 bias-pull-down;
159 };
160 };
161  
162 usb-power {
163 line-name = "enable USB3 power";
164 gpios = <49 GPIO_ACTIVE_HIGH>;
165 gpio-hog;
166 output-high;
167 };
168 };
169  
170 &nand {
171 pinctrl-0 = <&nand_pins>;
172 pinctrl-names = "default";
173 status = "okay";
174 cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
175  
176 nand@0 {
177 partitions {
178 compatible = "fixed-partitions";
179 #address-cells = <1>;
180 #size-cells = <1>;
181  
182 partition@0 {
183 label = "SBL1";
184 reg = <0x000000 0x80000>;
185 read-only;
186 };
187  
188 partition@80000 {
189 label = "MIBIB";
190 reg = <0x080000 0x80000>;
191 read-only;
192 };
193  
194 partition@100000 {
195 label = "QSEE";
196 reg = <0x100000 0x80000>;
197 read-only;
198 };
199  
200 partition@180000 {
201 label = "CDT";
202 reg = <0x180000 0x40000>;
203 read-only;
204 };
205  
206 partition@1c0000 {
207 label = "QSEE_B";
208 reg = <0x1c0000 0x80000>;
209 read-only;
210 };
211  
212 partition@240000 {
213 label = "urlader0";
214 reg = <0x240000 0x40000>;
215 read-only;
216 };
217  
218 partition@280000 {
219 label = "urlader1";
220 reg = <0x280000 0x40000>;
221 read-only;
222 };
223  
224 partition@2c0000 {
225 label = "nand-tffs";
226 reg = <0x2c0000 0x840000>;
227 read-only;
228 };
229  
230 partition@b00000 {
231 /* 'kernel1' in AVM firmware */
232 label = "uboot0";
233 reg = <0xb00000 0x400000>;
234 };
235  
236 partition@f00000 {
237 /* 'kernel2' in AVM firmware */
238 label = "uboot1";
239 reg = <0xf00000 0x400000>;
240 };
241  
242 partition@1300000 {
243 label = "ubi";
244 reg = <0x1300000 0x6d00000>;
245 };
246 };
247 };
248 };
249  
250 &cryptobam {
251 status = "okay";
252 };
253  
254 &blsp_dma {
255 status = "okay";
256 };
257  
258 &blsp1_uart1 {
259 pinctrl-0 = <&serial_0_pins>;
260 pinctrl-names = "default";
261 status = "okay";
262 };
263  
264 &usb3_ss_phy {
265 status = "okay";
266 };
267  
268 &usb3_hs_phy {
269 status = "okay";
270 };
271  
272 &qpic_bam {
273 status = "okay";
274 };
275  
276 &wifi0 {
277 status = "okay";
278 qcom,ath10k-calibration-variant = "AVM-FRITZBox-7530";
279 };
280  
281 &wifi1 {
282 status = "okay";
283 qcom,ath10k-calibration-variant = "AVM-FRITZBox-7530";
284 };
285  
286 &pcie0 {
287 status = "okay";
288  
289 perst-gpio = <&tlmm 38 GPIO_ACTIVE_LOW>;
290 wake-gpio = <&tlmm 50 GPIO_ACTIVE_LOW>;
291  
292 bridge@0,0 {
293 reg = <0x00000000 0 0 0 0>;
294 #address-cells = <3>;
295 #size-cells = <2>;
296 ranges;
297  
298 dsl@1,0 {
299 compatible = "intel,vrx518";
300 status = "okay";
301 reg = <0x00010000 0 0 0 0>;
302 };
303 };
304 };