ipq806x: refresh patches
[oweals/openwrt.git] / target / linux / brcm63xx / dts / p870hw-51a-v2.dts
1 /dts-v1/;
2
3 #include "bcm6368.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8         model = "Zyxel P870HW-51a v2";
9         compatible = "zyxel,p870hw-51a-v2", "brcm,bcm6368";
10
11         chosen {
12                 bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
13         };
14
15         gpio-keys-polled {
16                 compatible = "gpio-keys-polled";
17                 #address-cells = <1>;
18                 #size-cells = <0>;
19                 poll-interval = <20>;
20                 debounce-interval = <60>;
21
22                 reset {
23                         label = "reset";
24                         gpios = <&gpio1 2 1>;
25                         linux,code = <KEY_RESTART>;
26                 };
27                 wps {
28                         label = "wps";
29                         gpios = <&gpio1 3 1>;
30                         linux,code = <KEY_WPS_BUTTON>;
31                 };
32         };
33
34         gpio-leds {
35                 compatible = "gpio-leds";
36
37                 power_green {
38                         label = "P870HW-51a:green:power";
39                         gpios = <&gpio0 0 0>;
40                         default-state = "on";
41                 };
42                 dsl_green {
43                         label = "P870HW-51a:green:dsl";
44                         gpios = <&gpio0 2 1>;
45                 };
46                 inet_green {
47                         label = "P870HW-51a:green:inet";
48                         gpios = <&gpio0 22 1>;
49                 };
50                 wps_orange {
51                         label = "P870HW-51a:orange:wps";
52                         gpios = <&gpio0 24 1>;
53                 };
54                 inet_red {
55                         label = "P870HW-51a:red:inet";
56                         gpios = <&gpio1 1 1>;
57                 };
58         };
59 };
60
61 &pflash {
62         status = "ok";
63
64         linux,part-probe = "bcm63xxpart";
65
66         cfe@0 {
67                 label = "CFE";
68                 reg = <0x000000 0x010000>;
69                 read-only;
70         };
71
72         linux@10000 {
73                 label = "linux";
74                 reg = <0x010000 0x3e0000>;
75         };
76
77         nvram@3f0000 {
78                 label = "nvram";
79                 reg = <0x3f0000 0x010000>;
80         };
81 };