base-files: sysupgrade: fix streaming backup archives to stdout
[openwrt/openwrt.git] / target / linux / bcm63xx / dts / bcm6328-d-link-dsl-2750u-c1.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "bcm6328.dtsi"
4
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/leds/common.h>
7
8 / {
9 model = "D-Link DSL-2750U rev C1";
10 compatible = "d-link,dsl-2750u-c1", "brcm,bcm6328";
11
12 aliases {
13 led-boot = &led_power_green;
14 led-failsafe = &led_power_green;
15 led-running = &led_power_green;
16 led-upgrade = &led_power_green;
17 };
18
19 chosen {
20 bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
21 stdout-path = "serial0:115200n8";
22 };
23
24 keys {
25 compatible = "gpio-keys-polled";
26 poll-interval = <20>;
27
28 wifi {
29 label = "wifi";
30 gpios = <&pinctrl 12 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
51 &hsspi {
52 status = "okay";
53
54 flash@0 {
55 compatible = "jedec,spi-nor";
56 spi-max-frequency = <16666667>;
57 spi-tx-bus-width = <2>;
58 spi-rx-bus-width = <2>;
59 reg = <0>;
60
61 partitions {
62 compatible = "fixed-partitions";
63 #address-cells = <1>;
64 #size-cells = <1>;
65
66 cfe@0 {
67 reg = <0x000000 0x010000>;
68 label = "cfe";
69 read-only;
70 };
71
72 linux@10000 {
73 reg = <0x010000 0x7e0000>;
74 label = "linux";
75 compatible = "brcm,bcm963xx-imagetag";
76 };
77
78 nvram@7f0000 {
79 reg = <0x7f0000 0x010000>;
80 label = "nvram";
81 };
82 };
83 };
84 };
85
86 &leds {
87 status = "okay";
88
89 pinctrl-names = "default";
90 pinctrl-0 = <&pinctrl_leds>;
91
92 led@1 {
93 reg = <1>;
94 active-low;
95 label = "green:inet";
96 };
97
98 led_power_green: led@4 {
99 reg = <4>;
100 active-low;
101 function = LED_FUNCTION_POWER;
102 color = <LED_COLOR_ID_GREEN>;
103 default-state = "on";
104 };
105
106 led@7 {
107 reg = <7>;
108 active-low;
109 label = "red:inet";
110 };
111
112 led@8 {
113 reg = <8>;
114 active-low;
115 function = LED_FUNCTION_POWER;
116 color = <LED_COLOR_ID_RED>;
117 };
118
119 led@9 {
120 reg = <9>;
121 active-low;
122 function = LED_FUNCTION_WPS;
123 color = <LED_COLOR_ID_GREEN>;
124 };
125
126 led@10 {
127 reg = <10>;
128 active-low;
129 function = LED_FUNCTION_USB;
130 color = <LED_COLOR_ID_GREEN>;
131 };
132
133 led@11 {
134 reg = <11>;
135 active-low;
136 label = "green:dsl";
137 };
138 };
139
140 &pinctrl {
141 pinctrl_leds: leds {
142 function = "led";
143 pins = "gpio1", "gpio4", "gpio7",
144 "gpio8", "gpio9", "gpio10",
145 "gpio11";
146 };
147 };
148
149 &uart0 {
150 status = "okay";
151 };