brcm63xx: make use of dt-includes
[openwrt/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 gpio-keys-polled {
12 compatible = "gpio-keys-polled";
13 #address-cells = <1>;
14 #size-cells = <0>;
15 poll-interval = <20>;
16 debounce-interval = <60>;
17
18 reset {
19 label = "reset";
20 gpios = <&gpio1 2 1>;
21 linux,code = <KEY_RESTART>;
22 };
23 wps {
24 label = "wps";
25 gpios = <&gpio1 3 1>;
26 linux,code = <KEY_WPS_BUTTON>;
27 };
28 };
29
30 gpio-leds {
31 compatible = "gpio-leds";
32
33 power_green {
34 label = "P870HW-51a:green:power";
35 gpios = <&gpio0 0 0>;
36 default-state = "on";
37 };
38 dsl_green {
39 label = "P870HW-51a:green:dsl";
40 gpios = <&gpio0 2 1>;
41 };
42 inet_green {
43 label = "P870HW-51a:green:inet";
44 gpios = <&gpio0 22 1>;
45 };
46 wps_orange {
47 label = "P870HW-51a:orange:wps";
48 gpios = <&gpio0 24 1>;
49 };
50 inet_red {
51 label = "P870HW-51a:red:inet";
52 gpios = <&gpio1 1 1>;
53 };
54 };
55 };
56
57 &pflash {
58 status = "ok";
59
60 linux,part-probe = "bcm63xxpart";
61
62 cfe@0 {
63 label = "CFE";
64 reg = <0x000000 0x010000>;
65 read-only;
66 };
67
68 linux@10000 {
69 label = "linux";
70 reg = <0x010000 0x3e0000>;
71 };
72
73 nvram@3f0000 {
74 label = "nvram";
75 reg = <0x3f0000 0x010000>;
76 };
77 };