base-files: sysupgrade: fix streaming backup archives to stdout
[openwrt/staging/mans0n.git] / target / linux / bcm63xx / dts / bcm6328-adb-pdg-a4001n-a-000-1a1-ax.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 = "ADB P.DG A4001N A-000-1A1-AX";
10 compatible = "adb,pdg-a4001n-a-000-1a1-ax", "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 #address-cells = <1>;
27 #size-cells = <0>;
28 poll-interval = <20>;
29
30 reset {
31 label = "reset";
32 gpios = <&pinctrl 23 1>;
33 linux,code = <KEY_RESTART>;
34 debounce-interval = <60>;
35 };
36
37 wps {
38 label = "wifi-led";
39 gpios = <&pinctrl 24 1>;
40 linux,code = <KEY_WPS_BUTTON>;
41 debounce-interval = <60>;
42 };
43 };
44 };
45
46 &leds {
47 status = "okay";
48
49 pinctrl-names = "default";
50 pinctrl-0 = <&pinctrl_leds>;
51
52 led@2 {
53 reg = <2>;
54 active-low;
55 label = "red:internet";
56 };
57
58 led@3 {
59 reg = <3>;
60 active-low;
61 label = "green:adsl";
62 };
63
64 led@5 {
65 reg = <5>;
66 active-low;
67 label = "red:adsl";
68 };
69
70 led@6 {
71 reg = <6>;
72 active-low;
73 label = "green:service";
74 };
75
76 led@7 {
77 reg = <7>;
78 active-low;
79 label = "red:service";
80 };
81
82 led@8 {
83 reg = <8>;
84 active-low;
85 function = LED_FUNCTION_POWER;
86 color = <LED_COLOR_ID_RED>;
87 };
88
89 led@9 {
90 reg = <9>;
91 active-low;
92 label = "green:wifi";
93 };
94
95 led@10 {
96 reg = <10>;
97 active-low;
98 label = "red:wifi";
99 };
100
101 led@11 {
102 reg = <11>;
103 active-low;
104 label = "green:internet";
105 };
106
107 led_power_green: led@12 {
108 reg = <12>;
109 active-low;
110 function = LED_FUNCTION_POWER;
111 color = <LED_COLOR_ID_GREEN>;
112 default-state = "on";
113 };
114 };
115
116 &hsspi {
117 status = "okay";
118
119 flash@0 {
120 compatible = "jedec,spi-nor";
121 spi-max-frequency = <16666667>;
122 spi-tx-bus-width = <2>;
123 spi-rx-bus-width = <2>;
124 reg = <0>;
125
126 #address-cells = <1>;
127 #size-cells = <1>;
128
129 partitions {
130 compatible = "fixed-partitions";
131 #address-cells = <1>;
132 #size-cells = <1>;
133
134 partition@0 {
135 reg = <0x000000 0x010000>;
136 label = "cfe";
137 read-only;
138 };
139
140 partition@10000 {
141 reg = <0x010000 0xff0000>;
142 label = "linux";
143 compatible = "brcm,bcm963xx-imagetag";
144 };
145 };
146 };
147 };
148
149 &pinctrl {
150 pinctrl_leds: leds {
151 function = "led";
152 pins = "gpio2", "gpio3",
153 "gpio5", "gpio6",
154 "gpio7", "gpio8",
155 "gpio9", "gpio10",
156 "gpio11", "gpio12";
157 };
158 };
159
160 &uart0 {
161 status = "okay";
162 };