ipq806x: refresh patches
[oweals/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         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 4 1>;
25                         linux,code = <KEY_RESTART>;
26                 };
27                 wps {
28                         label = "wps";
29                         gpios = <&gpio1 5 0>;
30                         linux,code = <KEY_WPS_BUTTON>;
31                 };
32         };
33
34         gpio-leds {
35                 compatible = "gpio-leds";
36
37                 eth_green {
38                         label = "CPVA642:green:ether";
39                         gpios = <&gpio0 1 1>;
40                 };
41                 phone2_green {
42                         label = "CPVA642:green:phone2";
43                         gpios = <&gpio0 2 1>;
44                 };
45                 usb_green {
46                         label = "CPVA642:green:usb";
47                         gpios = <&gpio0 3 1>;
48                 };
49                 phone1_green {
50                         label = "CPVA642:green:phone1";
51                         gpios = <&gpio0 4 1>;
52                 };
53                 wifi_red {
54                         label = "CPVA642:red:wifi";
55                         gpios = <&gpio0 6 1>;
56                 };
57                 link_red {
58                         label = "CPVA642:red:link";
59                         gpios = <&gpio0 9 1>;
60                 };
61                 link_green {
62                         label = "CPVA642:green:link";
63                         gpios = <&gpio0 10 1>;
64                 };
65                 power_green {
66                         label = "CPVA642:green:power";
67                         gpios = <&gpio0 11 1>;
68                         default-state = "on";
69                 };
70                 power_red {
71                         label = "CPVA642:red:power";
72                         gpios = <&gpio0 14 1>;
73                 };
74                 wifi_green {
75                         label = "CPVA642:green:wifi";
76                         gpios = <&gpio0 28 0>;
77                 };
78         };
79 };
80
81 &pflash {
82         status = "ok";
83
84         linux,part-probe = "bcm63xxpart";
85
86         cfe@0 {
87                 label = "CFE";
88                 reg = <0x000000 0x010000>;
89                 read-only;
90         };
91
92         linux@10000 {
93                 label = "linux";
94                 reg = <0x010000 0x7e0000>;
95         };
96
97         nvram@7f0000 {
98                 label = "nvram";
99                 reg = <0x7f0000 0x010000>;
100         };
101 };