base-files: sysupgrade: fix streaming backup archives to stdout
[openwrt/staging/mans0n.git] / target / linux / bcm63xx / dts / bcm6328-comtrend-ar-5381u.dts
1 #include "bcm6328.dtsi"
2
3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/leds/common.h>
5
6 / {
7 model = "Comtrend AR-5381u";
8 compatible = "comtrend,ar-5381u", "brcm,bcm6328";
9
10 aliases {
11 led-boot = &led_power_green;
12 led-failsafe = &led_alarm_red;
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 reset {
29 label = "reset";
30 gpios = <&pinctrl 23 1>;
31 linux,code = <KEY_RESTART>;
32 debounce-interval = <60>;
33 };
34 };
35 };
36
37 &hsspi {
38 status = "okay";
39
40 flash@0 {
41 compatible = "jedec,spi-nor";
42 spi-max-frequency = <16666667>;
43 spi-tx-bus-width = <2>;
44 spi-rx-bus-width = <2>;
45 reg = <0>;
46
47 #address-cells = <1>;
48 #size-cells = <1>;
49
50 partitions {
51 compatible = "fixed-partitions";
52 #address-cells = <1>;
53 #size-cells = <1>;
54
55 cfe@0 {
56 reg = <0x000000 0x010000>;
57 label = "cfe";
58 read-only;
59 };
60
61 linux@10000 {
62 reg = <0x010000 0xfe0000>;
63 label = "linux";
64 compatible = "brcm,bcm963xx-imagetag";
65 };
66
67 nvram@ff0000 {
68 reg = <0xff0000 0x010000>;
69 label = "nvram";
70 };
71 };
72 };
73 };
74
75 &leds {
76 status = "okay";
77
78 pinctrl-names = "default";
79 pinctrl-0 = <&pinctrl_leds>;
80
81 led_alarm_red: led@2 {
82 reg = <2>;
83 active-low;
84 function = LED_FUNCTION_ALARM;
85 color = <LED_COLOR_ID_RED>;
86 };
87
88 led@3 {
89 reg = <3>;
90 active-low;
91 label = "green:inet";
92 };
93
94 led_power_green: led@4 {
95 reg = <4>;
96 active-low;
97 function = LED_FUNCTION_POWER;
98 color = <LED_COLOR_ID_GREEN>;
99 default-state = "on";
100 };
101 };
102
103 &pinctrl {
104 pinctrl_leds: leds {
105 function = "led";
106 pins = "gpio2", "gpio3", "gpio4";
107 };
108 };
109
110 &uart0 {
111 status = "okay";
112 };