base-files: sysupgrade: fix streaming backup archives to stdout
[openwrt/staging/mans0n.git] / target / linux / bcm63xx / dts / bcm6369-comtrend-wap-5813n.dts
1 #include "bcm6368.dtsi"
2
3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/leds/common.h>
5
6 / {
7 model = "Comtrend WAP-5813n";
8 compatible = "comtrend,wap-5813n", "brcm,bcm6369", "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 32 1>;
31 linux,code = <KEY_WLAN>;
32 debounce-interval = <60>;
33 };
34
35 reset {
36 label = "reset";
37 gpios = <&pinctrl 34 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 inet_green {
54 label = "green:inet";
55 gpios = <&pinctrl 5 0>;
56 };
57 led_power_green: power_green {
58 function = LED_FUNCTION_POWER;
59 color = <LED_COLOR_ID_GREEN>;
60 gpios = <&pinctrl 22 0>;
61 default-state = "on";
62 };
63 wps_green {
64 function = LED_FUNCTION_WPS;
65 color = <LED_COLOR_ID_GREEN>;
66 gpios = <&pinctrl 23 1>;
67 };
68 power_red {
69 function = LED_FUNCTION_POWER;
70 color = <LED_COLOR_ID_RED>;
71 gpios = <&pinctrl 24 0>;
72 };
73 inet_red {
74 label = "red:inet";
75 gpios = <&pinctrl 31 0>;
76 };
77 };
78 };
79
80 &pflash {
81 status = "okay";
82
83 partitions {
84 compatible = "fixed-partitions";
85 #address-cells = <1>;
86 #size-cells = <1>;
87
88 cfe@0 {
89 label = "CFE";
90 reg = <0x000000 0x010000>;
91 read-only;
92 };
93
94 linux@10000 {
95 label = "linux";
96 reg = <0x010000 0x7e0000>;
97 compatible = "brcm,bcm963xx-imagetag";
98 };
99
100 nvram@7f0000 {
101 label = "nvram";
102 reg = <0x7f0000 0x010000>;
103 };
104 };
105 };
106
107 &lsspi {
108 switch@0 {
109 compatible = "brcm,bcm53115";
110 reg = <0>;
111 spi-max-frequency = <781000>;
112
113 lede,alias = "eth0";
114
115 ports {
116 #address-cells = <1>;
117 #size-cells = <0>;
118
119 lan@0 {
120 reg = <0>;
121 label = "lan4";
122 };
123
124 lan@1 {
125 reg = <1>;
126 label = "lan3";
127 };
128
129 lan@2 {
130 reg = <2>;
131 label = "lan2";
132 };
133
134 lan@3 {
135 reg = <3>;
136 label = "lan1";
137 };
138
139 wan@4 {
140 reg = <4>;
141 label = "wan";
142 };
143
144 cpu@5 {
145 reg = <5>;
146 label = "cpu";
147
148 fixed-link {
149 speed = <1000>;
150 full-duplex;
151 asym-pause;
152 pause;
153 };
154 };
155 };
156 };
157 };
158
159 &pinctrl {
160 pinctrl-names = "default";
161 pinctrl-0 = <&pinctrl_pci>;
162 };
163
164 &uart0 {
165 status = "okay";
166 };