lantiq: move dts-v1 statement to top-level DTSI files
[openwrt/openwrt.git] / target / linux / lantiq / files-5.4 / arch / mips / boot / dts / lantiq / vr9_avm_fritz7362sl.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "vr9_avm_fritz736x.dtsi"
4
5 / {
6 compatible = "avm,fritz7362sl", "avm,fritz736x", "lantiq,xway", "lantiq,vr9";
7 model = "AVM FRITZ!Box 7362 SL";
8 };
9
10 &power_green {
11 label = "fritz7362sl:green:power";
12 };
13
14 &power_red {
15 label = "fritz7362sl:red:power";
16 };
17
18 &info_green {
19 label = "fritz7362sl:green:info";
20 };
21
22 &wifi {
23 label = "fritz7362sl:green:wlan";
24 };
25
26 &info_red {
27 label = "fritz7362sl:red:info";
28 };
29
30 &dect {
31 label = "fritz7362sl:green:dect";
32 };
33
34 &state_default {
35 pcie-rst {
36 lantiq,pins = "io21";
37 lantiq,open-drain = <1>;
38 lantiq,output = <1>;
39 };
40 };
41
42 &spi {
43 status = "okay";
44
45 flash@4 {
46 #address-cells = <1>;
47 #size-cells = <1>;
48 compatible = "jedec,spi-nor";
49 reg = <4 0>;
50 spi-max-frequency = <1000000>;
51
52 urlader: partition@0 {
53 reg = <0x0 0x40000>;
54 label = "urlader";
55 read-only;
56 };
57
58 partition@40000 {
59 reg = <0x40000 0x60000>;
60 label = "tffs (1)";
61 read-only;
62 };
63
64 partition@A0000 {
65 reg = <0xA0000 0x60000>;
66 label = "tffs (2)";
67 read-only;
68 };
69 };
70 };
71
72 &localbus {
73 flash@1 {
74 compatible = "lantiq,nand-xway";
75 lantiq,cs1 = <1>;
76 bank-width = <1>;
77 reg = <1 0x0 0x2000000>;
78
79 pinctrl-0 = <&nand_pins>, <&nand_cs1_pins>;
80 pinctrl-names = "default";
81
82 nand-ecc-mode = "on-die";
83
84 partitions {
85 compatible = "fixed-partitions";
86 #address-cells = <1>;
87 #size-cells = <1>;
88
89 partition@0 {
90 label = "kernel";
91 reg = <0x0 0x400000>;
92 };
93
94 partition@400000 {
95 label = "ubi";
96 reg = <0x400000 0x7c00000>;
97 };
98 };
99 };
100 };
101
102 &pcie0 {
103 gpio-reset = <&gpio 21 GPIO_ACTIVE_LOW>;
104
105 pcie@0 {
106 #size-cells = <1>;
107 #address-cells = <2>;
108 };
109 };