base-files: sysupgrade: fix streaming backup archives to stdout
[openwrt/openwrt.git] / target / linux / bcm63xx / dts / bcm6368-zyxel-p870hw-51a-v2.dts
1 #include "bcm6368.dtsi"
2
3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/leds/common.h>
5
6 / {
7 model = "Zyxel P870HW-51a v2";
8 compatible = "zyxel,p870hw-51a-v2", "brcm,bcm6368";
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 reset {
29 label = "reset";
30 gpios = <&pinctrl 35 1>;
31 linux,code = <KEY_RESTART>;
32 debounce-interval = <60>;
33 };
34
35 wps {
36 label = "wps";
37 gpios = <&pinctrl 36 1>;
38 linux,code = <KEY_WPS_BUTTON>;
39 debounce-interval = <60>;
40 };
41 };
42
43 leds {
44 compatible = "gpio-leds";
45
46 led_power_green: power_green {
47 function = LED_FUNCTION_POWER;
48 color = <LED_COLOR_ID_GREEN>;
49 gpios = <&pinctrl 0 0>;
50 default-state = "on";
51 };
52 dsl_green {
53 label = "green:dsl";
54 gpios = <&pinctrl 2 1>;
55 };
56 inet_green {
57 label = "green:inet";
58 gpios = <&pinctrl 22 1>;
59 };
60 wps_orange {
61 function = LED_FUNCTION_WPS;
62 color = <LED_COLOR_ID_ORANGE>;
63 gpios = <&pinctrl 24 1>;
64 };
65 inet_red {
66 label = "red:inet";
67 gpios = <&pinctrl 33 1>;
68 };
69 };
70 };
71
72 &pflash {
73 status = "okay";
74
75 partitions {
76 compatible = "fixed-partitions";
77 #address-cells = <1>;
78 #size-cells = <1>;
79
80 cfe@0 {
81 label = "CFE";
82 reg = <0x000000 0x010000>;
83 read-only;
84 };
85
86 linux@10000 {
87 label = "linux";
88 reg = <0x010000 0x3e0000>;
89 compatible = "brcm,bcm963xx-imagetag";
90 };
91
92 nvram@3f0000 {
93 label = "nvram";
94 reg = <0x3f0000 0x010000>;
95 };
96 };
97 };
98
99 &pinctrl {
100 pinctrl-names = "default";
101 pinctrl-0 = <&pinctrl_pci>;
102 };
103
104 &uart0 {
105 status = "okay";
106 };