base-files: sysupgrade: fix streaming backup archives to stdout
[openwrt/staging/mans0n.git] / target / linux / bcm63xx / dts / bcm63169-comtrend-vg-8050.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later
2
3 #include "bcm63268.dtsi"
4
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/leds/common.h>
7
8 / {
9 model = "Comtrend VG-8050";
10 compatible = "comtrend,vg-8050", "brcm,bcm63169", "brcm,bcm63268";
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 33 1>;
33 linux,code = <KEY_RESTART>;
34 debounce-interval = <60>;
35 };
36
37 wps {
38 label = "wps";
39 gpios = <&pinctrl 34 1>;
40 linux,code = <KEY_WPS_BUTTON>;
41 debounce-interval = <60>;
42 };
43 };
44 };
45
46 &leds {
47 status = "okay";
48 brcm,serial-leds;
49 brcm,serial-dat-low;
50 brcm,serial-shift-inv;
51
52 pinctrl-names = "default";
53 pinctrl-0 = <&pinctrl_serial_led>;
54
55 led@2 {
56 reg = <2>;
57 active-low;
58 label = "red:internet";
59 };
60
61 led@3 {
62 reg = <3>;
63 active-low;
64 function = LED_FUNCTION_POWER;
65 color = <LED_COLOR_ID_RED>;
66 };
67
68 led_power_green: led@6 {
69 reg = <6>;
70 active-low;
71 function = LED_FUNCTION_POWER;
72 color = <LED_COLOR_ID_GREEN>;
73 default-state = "on";
74 };
75
76 led@7 {
77 reg = <7>;
78 active-low;
79 function = LED_FUNCTION_WPS;
80 color = <LED_COLOR_ID_GREEN>;
81 };
82
83 led@8 {
84 reg = <8>;
85 active-low;
86 label = "green:internet";
87 };
88
89 led@10 {
90 reg = <10>;
91 active-low;
92 label = "green:voip";
93 };
94
95 led@12 {
96 reg = <12>;
97 active-low;
98 label = "red:voip";
99 };
100
101 led@14 {
102 reg = <14>;
103 active-low;
104 function = LED_FUNCTION_WPS;
105 color = <LED_COLOR_ID_RED>;
106 };
107 };
108
109 &hsspi {
110 pinctrl-names = "default";
111 pinctrl-0 = <&pinctrl_hsspi_cs5>;
112
113 switch@5 {
114 compatible = "brcm,bcm53125";
115 reg = <5>;
116 spi-max-frequency = <781000>;
117 spi-cpha;
118 spi-cpol;
119
120 lede,alias = "eth0";
121
122 ports {
123 #address-cells = <1>;
124 #size-cells = <0>;
125
126 lan@0 {
127 reg = <0>;
128 label = "lan4";
129 };
130
131 lan@1 {
132 reg = <1>;
133 label = "lan3";
134 };
135
136 lan@2 {
137 reg = <2>;
138 label = "lan2";
139 };
140
141 lan@3 {
142 reg = <3>;
143 label = "lan1";
144 };
145
146 wan@4 {
147 reg = <4>;
148 label = "wan";
149 };
150
151 cpu@8 {
152 reg = <8>;
153 label = "cpu";
154
155 fixed-link {
156 speed = <1000>;
157 full-duplex;
158 asym-pause;
159 pause;
160 };
161 };
162 };
163 };
164 };
165
166 &nflash {
167 status = "okay";
168
169 nandcs@0 {
170 compatible = "brcm,nandcs";
171 #size-cells = <1>;
172 #address-cells = <1>;
173 reg = <0>;
174 nand-ecc-step-size = <512>;
175 nand-ecc-strength = <15>;
176 nand-on-flash-bbt;
177 brcm,nand-oob-sector-size = <64>;
178
179 partitions {
180 compatible = "fixed-partitions";
181 #address-cells = <1>;
182 #size-cells = <1>;
183
184 partition@0 {
185 label = "cferom";
186 reg = <0x0000000 0x0020000>;
187 read-only;
188 };
189
190 partition@20000 {
191 compatible = "brcm,wfi-split";
192 label = "wfi";
193 reg = <0x0020000 0x7ac0000>;
194 };
195 };
196 };
197 };
198
199 &uart0 {
200 status = "okay";
201 };