base-files: sysupgrade: fix streaming backup archives to stdout
[openwrt/staging/mans0n.git] / target / linux / bcm63xx / dts / bcm6328-nucom-r5010un-v2.dts
1 #include "bcm6328.dtsi"
2
3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/leds/common.h>
5
6 / {
7 model = "NuCom R5010UN v2";
8 compatible = "nucom,r5010un-v2", "brcm,bcm6328";
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 reset {
29 label = "reset";
30 gpios = <&pinctrl 23 1>;
31 linux,code = <KEY_RESTART>;
32 debounce-interval = <60>;
33 };
34
35 wps {
36 label = "wps";
37 gpios = <&pinctrl 24 1>;
38 linux,code = <KEY_WPS_BUTTON>;
39 debounce-interval = <60>;
40 };
41 };
42
43 leds {
44 compatible = "gpio-leds";
45
46 inet_green {
47 label = "green:inet";
48 gpios = <&pinctrl 1 1>;
49 };
50 inet_fail_red {
51 label = "red:inet-fail";
52 gpios = <&pinctrl 2 1>;
53 };
54 dsl_red {
55 label = "green:dsl";
56 gpios = <&pinctrl 3 1>;
57 };
58 led_power_green: power_green {
59 function = LED_FUNCTION_POWER;
60 color = <LED_COLOR_ID_GREEN>;
61 gpios = <&pinctrl 4 1>;
62 default-state = "on";
63 };
64 power_fail_red {
65 label = "red:power-fail";
66 gpios = <&pinctrl 5 1>;
67 };
68 wps_green {
69 function = LED_FUNCTION_WPS;
70 color = <LED_COLOR_ID_GREEN>;
71 gpios = <&pinctrl 10 1>;
72 };
73 usb_green {
74 function = LED_FUNCTION_USB;
75 color = <LED_COLOR_ID_GREEN>;
76 gpios = <&pinctrl 11 1>;
77 };
78 };
79 };
80
81 &hsspi {
82 status = "okay";
83
84 flash@0 {
85 compatible = "jedec,spi-nor";
86 spi-max-frequency = <16666667>;
87 spi-tx-bus-width = <2>;
88 spi-rx-bus-width = <2>;
89 reg = <0>;
90
91 #address-cells = <1>;
92 #size-cells = <1>;
93
94 partitions {
95 compatible = "fixed-partitions";
96 #address-cells = <1>;
97 #size-cells = <1>;
98
99 partition@0 {
100 reg = <0x000000 0x010000>;
101 label = "cfe";
102 read-only;
103 };
104
105 partition@10000 {
106 reg = <0x010000 0xfe0000>;
107 label = "linux";
108 compatible = "brcm,bcm963xx-imagetag";
109 };
110
111 partition@ff0000 {
112 reg = <0xff0000 0x010000>;
113 label = "nvram";
114 };
115 };
116 };
117 };
118
119 &uart0 {
120 status = "okay";
121 };