base-files: sysupgrade: fix streaming backup archives to stdout
[openwrt/staging/mans0n.git] / target / linux / bcm63xx / dts / bcm6328-adb-a4001n1.dts
1 #include "bcm6328.dtsi"
2
3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/leds/common.h>
5
6 / {
7 model = "ADB P.DG A4001N1";
8 compatible = "adb,a4001n1", "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 = "wlan";
37 gpios = <&pinctrl 24 1>;
38 linux,code = <KEY_WLAN>;
39 debounce-interval = <60>;
40 };
41 };
42
43 leds {
44 compatible = "gpio-leds";
45
46 inet_red {
47 label = "red:inet";
48 gpios = <&pinctrl 2 1>;
49 };
50 ppp_green {
51 label = "green:ppp";
52 gpios = <&pinctrl 3 1>;
53 };
54 led_power_green: power_green {
55 function = LED_FUNCTION_POWER;
56 color = <LED_COLOR_ID_GREEN>;
57 gpios = <&pinctrl 4 1>;
58 default-state = "on";
59 };
60 ppp_red {
61 label = "red:ppp";
62 gpios = <&pinctrl 5 1>;
63 };
64 usb_green {
65 label = "green:3g";
66 gpios = <&pinctrl 6 1>;
67 };
68 usb_red {
69 label = "red:3g";
70 gpios = <&pinctrl 7 1>;
71 };
72 power_red {
73 function = LED_FUNCTION_POWER;
74 color = <LED_COLOR_ID_RED>;
75 gpios = <&pinctrl 8 1>;
76 };
77 wlan_green {
78 function = LED_FUNCTION_WLAN;
79 color = <LED_COLOR_ID_GREEN>;
80 gpios = <&pinctrl 9 1>;
81 };
82 wlan_red {
83 function = LED_FUNCTION_WLAN;
84 color = <LED_COLOR_ID_RED>;
85 gpios = <&pinctrl 10 1>;
86 };
87 inet_green {
88 label = "green:inet";
89 gpios = <&pinctrl 11 1>;
90 };
91 eth_red {
92 label = "red:eth";
93 gpios = <&pinctrl 20 1>;
94 };
95 eth_green {
96 label = "green:eth";
97 gpios = <&pinctrl 31 1>;
98 };
99 };
100 };
101
102 &hsspi {
103 status = "okay";
104
105 flash@0 {
106 compatible = "jedec,spi-nor";
107 spi-max-frequency = <16666667>;
108 spi-tx-bus-width = <2>;
109 spi-rx-bus-width = <2>;
110 reg = <0>;
111
112 #address-cells = <1>;
113 #size-cells = <1>;
114
115 partitions {
116 compatible = "fixed-partitions";
117 #address-cells = <1>;
118 #size-cells = <1>;
119
120 cfe@0 {
121 reg = <0x000000 0x010000>;
122 label = "cfe";
123 read-only;
124 };
125
126 linux@10000 {
127 reg = <0x010000 0xfe0000>;
128 label = "linux";
129 compatible = "brcm,bcm963xx-imagetag";
130 };
131
132 nvram@ff0000 {
133 reg = <0xff0000 0x010000>;
134 label = "nvram";
135 };
136 };
137 };
138 };
139
140 &uart0 {
141 status = "okay";
142 };