brcm63xx: make use of dt-includes
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / cpva642.dts
1 /dts-v1/;
2
3 #include "bcm6358.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8 model = "Telsey CPVA642-type (CPA-ZNTE60T)";
9 compatible = "telsey,cpva642", "brcm,bcm6358";
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 4 1>;
21 linux,code = <KEY_RESTART>;
22 };
23 wps {
24 label = "wps";
25 gpios = <&gpio1 5 0>;
26 linux,code = <KEY_WPS_BUTTON>;
27 };
28 };
29
30 gpio-leds {
31 compatible = "gpio-leds";
32
33 eth_green {
34 label = "CPVA642:green:ether";
35 gpios = <&gpio0 1 1>;
36 };
37 phone2_green {
38 label = "CPVA642:green:phone2";
39 gpios = <&gpio0 2 1>;
40 };
41 usb_green {
42 label = "CPVA642:green:usb";
43 gpios = <&gpio0 3 1>;
44 };
45 phone1_green {
46 label = "CPVA642:green:phone1";
47 gpios = <&gpio0 4 1>;
48 };
49 wifi_red {
50 label = "CPVA642:red:wifi";
51 gpios = <&gpio0 6 1>;
52 };
53 link_red {
54 label = "CPVA642:red:link";
55 gpios = <&gpio0 9 1>;
56 };
57 link_green {
58 label = "CPVA642:green:link";
59 gpios = <&gpio0 10 1>;
60 };
61 power_green {
62 label = "CPVA642:green:power";
63 gpios = <&gpio0 11 1>;
64 default-state = "on";
65 };
66 power_red {
67 label = "CPVA642:red:power";
68 gpios = <&gpio0 14 1>;
69 };
70 wifi_green {
71 label = "CPVA642:green:wifi";
72 gpios = <&gpio0 28 0>;
73 };
74 };
75 };
76
77 &pflash {
78 status = "ok";
79
80 linux,part-probe = "bcm63xxpart";
81
82 cfe@0 {
83 label = "CFE";
84 reg = <0x000000 0x010000>;
85 read-only;
86 };
87
88 linux@10000 {
89 label = "linux";
90 reg = <0x010000 0x7e0000>;
91 };
92
93 nvram@7f0000 {
94 label = "nvram";
95 reg = <0x7f0000 0x010000>;
96 };
97 };