base-files: sysupgrade: fix streaming backup archives to stdout
[openwrt/staging/mans0n.git] / target / linux / bcm63xx / dts / bcm6328-d-link-dsl-274xb-f1.dts
1 #include "bcm6328.dtsi"
2
3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/leds/common.h>
5
6 / {
7 model = "D-Link DSL-2740B/DSL-2741B rev F1";
8 compatible = "d-link,dsl-274xb-f1", "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 wifi {
29 label = "wifi";
30 gpios = <&pinctrl 10 1>;
31 linux,code = <KEY_WLAN>;
32 debounce-interval = <60>;
33 };
34
35 reset {
36 label = "reset";
37 gpios = <&pinctrl 23 1>;
38 linux,code = <KEY_RESTART>;
39 debounce-interval = <60>;
40 };
41
42 wps {
43 label = "wps";
44 gpios = <&pinctrl 24 1>;
45 linux,code = <KEY_WPS_BUTTON>;
46 debounce-interval = <60>;
47 };
48 };
49
50 leds {
51 compatible = "gpio-leds";
52
53 inet_red {
54 label = "red:internet";
55 gpios = <&pinctrl 2 1>;
56 };
57 dsl_green {
58 label = "green:dsl";
59 gpios = <&pinctrl 3 1>;
60 };
61 led_power_green: power_green {
62 function = LED_FUNCTION_POWER;
63 color = <LED_COLOR_ID_GREEN>;
64 gpios = <&pinctrl 4 1>;
65 default-state = "on";
66 };
67 power_red {
68 function = LED_FUNCTION_POWER;
69 color = <LED_COLOR_ID_RED>;
70 gpios = <&pinctrl 8 1>;
71 };
72 wps_blue {
73 function = LED_FUNCTION_WPS;
74 color = <LED_COLOR_ID_BLUE>;
75 gpios = <&pinctrl 9 1>;
76 };
77 inet_green {
78 label = "green:internet";
79 gpios = <&pinctrl 11 1>;
80 };
81 };
82 };
83
84 &hsspi {
85 status = "okay";
86
87 flash@0 {
88 compatible = "jedec,spi-nor";
89 spi-max-frequency = <16666667>;
90 spi-tx-bus-width = <2>;
91 spi-rx-bus-width = <2>;
92 reg = <0>;
93
94 #address-cells = <1>;
95 #size-cells = <1>;
96
97 partitions {
98 compatible = "fixed-partitions";
99 #address-cells = <1>;
100 #size-cells = <1>;
101
102 cfe@0 {
103 reg = <0x000000 0x010000>;
104 label = "cfe";
105 read-only;
106 };
107
108 linux@10000 {
109 reg = <0x010000 0x7c0000>;
110 label = "linux";
111 compatible = "brcm,bcm963xx-imagetag";
112 };
113
114 cal_data@7d0000 {
115 reg = <0x7d0000 0x010000>;
116 label = "cal_data";
117 read-only;
118 };
119
120 nvram@7e0000 {
121 reg = <0x7e0000 0x020000>;
122 label = "nvram";
123 };
124 };
125 };
126 };
127
128 &uart0 {
129 status = "okay";
130 };