base-files: sysupgrade: fix streaming backup archives to stdout
[openwrt/staging/mans0n.git] / target / linux / bcm63xx / dts / bcm6368-netgear-dgnd3700-v1.dts
1 #include "bcm6368.dtsi"
2
3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/leds/common.h>
5
6 / {
7 model = "Netgear DGND3700v1/DGND3800B";
8 compatible = "netgear,dgnd3700-v1", "brcm,bcm6368";
9
10 aliases {
11 led-boot = &led_power_green;
12 led-failsafe = &led_power_green;
13 led-running = &led_power_green;
14 led-upgrade = &led_power_green;
15 };
16
17 chosen {
18 bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
19 stdout-path = "serial0:115200n8";
20 };
21
22 keys {
23 compatible = "gpio-keys-polled";
24 #address-cells = <1>;
25 #size-cells = <0>;
26 poll-interval = <20>;
27
28 wlan {
29 label = "wlan";
30 gpios = <&pinctrl 10 1>;
31 linux,code = <KEY_WLAN>;
32 debounce-interval = <60>;
33 };
34
35 reset {
36 label = "reset";
37 gpios = <&pinctrl 12 1>;
38 linux,code = <KEY_RESTART>;
39 debounce-interval = <60>;
40 };
41
42 wps {
43 label = "wps";
44 gpios = <&pinctrl 35 1>;
45 linux,code = <KEY_WPS_BUTTON>;
46 debounce-interval = <60>;
47 };
48 };
49
50 leds {
51 compatible = "gpio-leds";
52
53 dsl_green {
54 label = "green:dsl";
55 gpios = <&pinctrl 2 1>;
56 };
57 inet_red {
58 label = "red:inet";
59 gpios = <&pinctrl 4 1>;
60 };
61 inet_green {
62 label = "green:inet";
63 gpios = <&pinctrl 5 1>;
64 };
65 wps_green {
66 function = LED_FUNCTION_WPS;
67 color = <LED_COLOR_ID_GREEN>;
68 gpios = <&pinctrl 11 1>;
69 };
70 usbfront_green {
71 label = "green:usb-front";
72 gpios = <&pinctrl 13 1>;
73 };
74 usbback_green {
75 label = "green:usb-back";
76 gpios = <&pinctrl 14 1>;
77 };
78 power_red {
79 function = LED_FUNCTION_POWER;
80 color = <LED_COLOR_ID_RED>;
81 gpios = <&pinctrl 22 1>;
82 };
83 lan_green {
84 function = LED_FUNCTION_LAN;
85 color = <LED_COLOR_ID_GREEN>;
86 gpios = <&pinctrl 23 1>;
87 };
88 led_power_green: power_green {
89 function = LED_FUNCTION_POWER;
90 color = <LED_COLOR_ID_GREEN>;
91 gpios = <&pinctrl 24 1>;
92 default-state = "on";
93 };
94 wifi2g_green {
95 label = "green:wifi2g";
96 gpios = <&pinctrl 26 1>;
97 };
98 wifi5g_blue {
99 label = "blue:wifi5g";
100 gpios = <&pinctrl 27 1>;
101 };
102 };
103 };
104
105 &pflash {
106 status = "okay";
107
108 partitions {
109 compatible = "fixed-partitions";
110 #address-cells = <1>;
111 #size-cells = <1>;
112
113 cfe@0 {
114 label = "CFE";
115 reg = <0x000000 0x020000>;
116 read-only;
117 };
118
119 linux@20000 {
120 label = "linux";
121 reg = <0x020000 0x1e20000>;
122 compatible = "brcm,bcm963xx-imagetag";
123 };
124
125 board_data@1e40000 {
126 label = "board_data";
127 reg = <0x1e40000 0x1a0000>;
128 read-only;
129 };
130
131 nvram@1fe0000 {
132 label = "nvram";
133 reg = <0x1fe0000 0x20000>;
134 };
135 };
136 };
137
138 &pinctrl {
139 pinctrl-names = "default";
140 pinctrl-0 = <&pinctrl_pci>;
141 };
142
143 &lsspi {
144 switch@1 {
145 compatible = "brcm,bcm53115";
146 reg = <1>;
147 spi-max-frequency = <781000>;
148
149 lede,alias = "eth0";
150
151 ports {
152 #address-cells = <1>;
153 #size-cells = <0>;
154
155 wan@0 {
156 reg = <0>;
157 label = "wan";
158 };
159
160 lan@1 {
161 reg = <1>;
162 label = "lan4";
163 };
164
165 lan@2 {
166 reg = <2>;
167 label = "lan3";
168 };
169
170 lan@3 {
171 reg = <3>;
172 label = "lan2";
173 };
174
175 lan@4 {
176 reg = <4>;
177 label = "lan1";
178 };
179
180 cpu@8 {
181 reg = <8>;
182 label = "cpu";
183
184 fixed-link {
185 speed = <1000>;
186 full-duplex;
187 };
188 };
189 };
190 };
191 };
192
193 &nflash {
194 status = "okay";
195
196 nandcs@0 {
197 compatible = "brcm,nandcs";
198 #size-cells = <1>;
199 #address-cells = <1>;
200 reg = <0>;
201 nand-ecc-step-size = <512>;
202 nand-ecc-strength = <15>;
203 nand-on-flash-bbt;
204 brcm,nand-oob-sector-size = <64>;
205
206 partitions {
207 compatible = "fixed-partitions";
208 #address-cells = <1>;
209 #size-cells = <1>;
210
211 partition@0 {
212 label = "storage";
213 reg = <0x0000000 0x8000000>;
214 };
215 };
216 };
217 };
218
219 &uart0 {
220 status = "okay";
221 };