base-files: sysupgrade: fix streaming backup archives to stdout
[openwrt/staging/mans0n.git] / target / linux / bcm63xx / dts / bcm6362-netgear-dgnd3700-v2.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later
2
3 #include "bcm6362.dtsi"
4
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/leds/common.h>
7
8 / {
9 model = "Netgear DGND3700v2";
10 compatible = "netgear,dgnd3700-v2", "brcm,bcm6362";
11
12 aliases {
13 led-boot = &led_power_green;
14 led-failsafe = &led_power_green;
15 led-running = &led_power_green;
16 led-upgrade = &led_power_green;
17 };
18
19 chosen {
20 bootargs = "rootfstype=squashfs,ubifs noinitrd console=ttyS0,115200";
21 stdout-path = "serial0:115200n8";
22 };
23
24 keys {
25 compatible = "gpio-keys-polled";
26 #address-cells = <1>;
27 #size-cells = <0>;
28 poll-interval = <20>;
29
30 reset {
31 label = "reset";
32 gpios = <&pinctrl 24 1>;
33 linux,code = <KEY_RESTART>;
34 debounce-interval = <60>;
35 };
36
37 wlan {
38 label = "wlan";
39 gpios = <&pinctrl 25 1>;
40 linux,code = <KEY_WLAN>;
41 debounce-interval = <60>;
42 };
43
44 wps {
45 label = "wps";
46 gpios = <&pinctrl 26 1>;
47 linux,code = <KEY_WPS_BUTTON>;
48 debounce-interval = <60>;
49 };
50 };
51
52 leds {
53 compatible = "gpio-leds";
54
55 led@28 {
56 label = "green:dsl";
57 gpios = <&pinctrl 28 1>;
58 };
59
60 led@34 {
61 function = LED_FUNCTION_POWER;
62 color = <LED_COLOR_ID_RED>;
63 gpios = <&pinctrl 34 1>;
64 };
65 };
66 };
67
68 &leds {
69 status = "okay";
70 brcm,serial-leds;
71 brcm,serial-dat-low;
72 brcm,serial-shift-inv;
73 brcm,serial-mux;
74
75 pinctrl-names = "default";
76 pinctrl-0 = <&pinctrl_leds &pinctrl_serial_led>;
77
78 led@1 {
79 reg = <1>;
80 active-low;
81 label = "green:internet";
82 };
83
84 led_power_green: led@8 {
85 reg = <8>;
86 function = LED_FUNCTION_POWER;
87 color = <LED_COLOR_ID_GREEN>;
88 default-state = "on";
89 };
90
91 led@9 {
92 reg = <9>;
93 active-low;
94 function = LED_FUNCTION_WPS;
95 color = <LED_COLOR_ID_GREEN>;
96 };
97
98 led@10 {
99 reg = <10>;
100 active-low;
101 label = "green:usb1";
102 };
103
104 led@11 {
105 reg = <11>;
106 active-low;
107 label = "green:usb2";
108 };
109
110 led@12 {
111 reg = <12>;
112 active-low;
113 label = "amber:internet";
114 };
115
116 led@13 {
117 reg = <13>;
118 active-low;
119 label = "green:ethernet";
120 };
121
122 led@14 {
123 reg = <14>;
124 active-low;
125 label = "amber:dsl";
126 };
127
128 led@16 {
129 reg = <16>;
130 active-low;
131 label = "amber:usb1";
132 };
133
134 led@17 {
135 reg = <17>;
136 active-low;
137 label = "amber:usb2";
138 };
139
140 led@18 {
141 reg = <18>;
142 active-low;
143 label = "amber:ethernet";
144 };
145 };
146
147 &nflash {
148 status = "okay";
149
150 nandcs@0 {
151 compatible = "brcm,nandcs";
152 #size-cells = <1>;
153 #address-cells = <1>;
154 reg = <0>;
155 nand-ecc-step-size = <512>;
156 nand-ecc-strength = <15>;
157 nand-on-flash-bbt;
158
159 partitions {
160 compatible = "fixed-partitions";
161 #address-cells = <1>;
162 #size-cells = <1>;
163
164 partition@0 {
165 label = "cferom";
166 reg = <0x0000000 0x0004000>;
167 read-only;
168 };
169
170 partition@4000 {
171 compatible = "brcm,wfi";
172 label = "wfi";
173 reg = <0x0004000 0x1c7c000>;
174 brcm,cferam = "cfe";
175 };
176
177 partition@1c80000 {
178 label = "flag";
179 reg = <0x1c80000 0x0040000>;
180 read-only;
181 };
182
183 partition@1cc0000 {
184 label = "pcbasn";
185 reg = <0x1cc0000 0x0040000>;
186 read-only;
187 };
188
189 partition@1d00000 {
190 label = "xxx";
191 reg = <0x1d00000 0x0080000>;
192 read-only;
193 };
194
195 partition@1d80000 {
196 label = "language_dev";
197 reg = <0x1d80000 0x0040000>;
198 read-only;
199 };
200
201 partition@1dc0000 {
202 label = "scnvram";
203 reg = <0x1dc0000 0x0100000>;
204 read-only;
205 };
206 };
207 };
208 };
209
210 &pinctrl {
211 pinctrl_leds: leds {
212 function = "led";
213 pins = "gpio1";
214 };
215 };
216
217 &uart0 {
218 status = "okay";
219 };