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