base-files: sysupgrade: fix streaming backup archives to stdout
[openwrt/staging/mans0n.git] / target / linux / bcm63xx / dts / bcm6328-adb-pdg-a4101n-a-000-1a1-ae.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 A4101N A-000-1A1-AE";
10 compatible = "adb,pdg-a4101n-a-000-1a1-ae", "brcm,bcm6328";
11
12 aliases {
13 led-boot = &led_dsl_green;
14 led-failsafe = &led_dsl_green;
15 led-upgrade = &led_dsl_green;
16 };
17
18 chosen {
19 bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
20 stdout-path = "serial0:115200n8";
21 };
22
23 keys {
24 compatible = "gpio-keys-polled";
25 #address-cells = <1>;
26 #size-cells = <0>;
27 poll-interval = <20>;
28
29 wifi {
30 label = "wifi";
31 gpios = <&pinctrl 12 1>;
32 linux,code = <KEY_WLAN>;
33 debounce-interval = <60>;
34 };
35
36 reset {
37 label = "reset";
38 gpios = <&pinctrl 23 1>;
39 linux,code = <KEY_RESTART>;
40 debounce-interval = <60>;
41 };
42
43 wps {
44 label = "wps";
45 gpios = <&pinctrl 24 1>;
46 linux,code = <KEY_WPS_BUTTON>;
47 debounce-interval = <60>;
48 };
49 };
50
51 leds {
52 compatible = "gpio-leds";
53
54 led@31 {
55 label = "green:tel";
56 gpios = <&pinctrl 31 1>;
57 };
58 };
59 };
60
61 &leds {
62 status = "okay";
63
64 pinctrl-names = "default";
65 pinctrl-0 = <&pinctrl_leds>;
66
67 led_dsl_green: led@3 {
68 reg = <3>;
69 active-low;
70 label = "green:dsl";
71 };
72
73 led@9 {
74 reg = <9>;
75 active-low;
76 function = LED_FUNCTION_WPS;
77 color = <LED_COLOR_ID_GREEN>;
78 };
79
80 led@10 {
81 reg = <10>;
82 active-low;
83 function = LED_FUNCTION_USB;
84 color = <LED_COLOR_ID_GREEN>;
85 };
86
87 led@11 {
88 reg = <11>;
89 active-low;
90 label = "green:internet";
91 };
92 };
93
94 &hsspi {
95 status = "okay";
96
97 flash@0 {
98 compatible = "jedec,spi-nor";
99 spi-max-frequency = <16666667>;
100 spi-tx-bus-width = <2>;
101 spi-rx-bus-width = <2>;
102 reg = <0>;
103
104 #address-cells = <1>;
105 #size-cells = <1>;
106
107 partitions {
108 compatible = "fixed-partitions";
109 #address-cells = <1>;
110 #size-cells = <1>;
111
112 partition@0 {
113 reg = <0x000000 0x010000>;
114 label = "cfe";
115 read-only;
116 };
117
118 partition@10000 {
119 reg = <0x010000 0xff0000>;
120 label = "linux";
121 compatible = "brcm,bcm963xx-imagetag";
122 };
123 };
124 };
125 };
126
127 &pinctrl {
128 pinctrl_leds: leds {
129 function = "led";
130 pins = "gpio3", "gpio9", "gpio10",
131 "gpio11";
132 };
133
134 green_internet_switch {
135 gpio-hog;
136 gpios = <2 1>;
137 output-low;
138 line-name = "green:internet-switch";
139 };
140 };
141
142 &uart0 {
143 status = "okay";
144 };