base-files: sysupgrade: fix streaming backup archives to stdout
[openwrt/staging/mans0n.git] / target / linux / bcm63xx / dts / bcm6318-d-link-dsl-275xb-d1.dts
1 #include "bcm6318.dtsi"
2
3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/leds/common.h>
5
6 / {
7 model = "D-Link DSL-2750B/DSL-2751 rev D1";
8 compatible = "d-link,dsl-275xb-d1", "brcm,bcm6318";
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 2 1>;
31 linux,code = <KEY_WLAN>;
32 debounce-interval = <60>;
33 };
34
35 wps {
36 label = "wps";
37 gpios = <&pinctrl 33 1>;
38 linux,code = <KEY_WPS_BUTTON>;
39 debounce-interval = <60>;
40 };
41
42 reset {
43 label = "reset";
44 gpios = <&pinctrl 34 1>;
45 linux,code = <KEY_RESTART>;
46 debounce-interval = <60>;
47 };
48 };
49
50 leds {
51 compatible = "gpio-leds";
52
53 led_power_green: power_green {
54 function = LED_FUNCTION_POWER;
55 color = <LED_COLOR_ID_GREEN>;
56 gpios = <&pinctrl 3 1>;
57 default-state = "on";
58 };
59
60 inet_green {
61 label = "green:inet";
62 gpios = <&pinctrl 8 1>;
63 };
64
65 inet_red {
66 label = "red:inet-fail";
67 gpios = <&pinctrl 9 1>;
68 };
69
70 power_red {
71 label = "red:post-failed";
72 gpios = <&pinctrl 11 1>;
73 };
74
75 wps_blue {
76 function = LED_FUNCTION_WPS;
77 color = <LED_COLOR_ID_BLUE>;
78 gpios = <&pinctrl 16 1>;
79 };
80
81 dsl_green {
82 label = "green:dsl";
83 gpios = <&pinctrl 17 1>;
84 };
85
86 usb_green {
87 /* not user controllable? */
88 function = LED_FUNCTION_USB;
89 color = <LED_COLOR_ID_GREEN>;
90 gpios = <&pinctrl 49 1>;
91 };
92 };
93 };
94
95 &hsspi {
96 status = "okay";
97
98 flash@0 {
99 compatible = "jedec,spi-nor";
100 spi-max-frequency = <62500000>;
101 spi-tx-bus-width = <2>;
102 spi-rx-bus-width = <2>;
103 reg = <0>;
104
105 #address-cells = <1>;
106 #size-cells = <1>;
107
108 partitions {
109 compatible = "fixed-partitions";
110 #address-cells = <1>;
111 #size-cells = <1>;
112
113 cfe@0 {
114 reg = <0x000000 0x010000>;
115 label = "cfe";
116 read-only;
117 };
118
119 linux@10000 {
120 reg = <0x010000 0x7e0000>;
121 label = "linux";
122 compatible = "brcm,bcm963xx-imagetag";
123 };
124
125 nvram@7f0000 {
126 reg = <0x7f0000 0x010000>;
127 label = "nvram";
128 };
129 };
130 };
131 };
132
133 &pinctrl {
134 pinctrl-names = "default";
135
136 pinctrl-0 = <&pinctrl_ephy0_act_led &pinctrl_ephy1_act_led
137 &pinctrl_ephy2_act_led &pinctrl_ephy3_act_led>;
138 };
139
140 &uart0 {
141 status = "okay";
142 };