brcm47xx: rename target to bcm47xx
[openwrt/staging/wigyori.git] / target / linux / brcm63xx / dts / bcm6358-telsey-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 = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
13 stdout-path = "serial0:115200n8";
14 };
15
16 keys {
17 compatible = "gpio-keys-polled";
18 #address-cells = <1>;
19 #size-cells = <0>;
20 poll-interval = <20>;
21
22 reset {
23 label = "reset";
24 gpios = <&pinctrl 36 1>;
25 linux,code = <KEY_RESTART>;
26 debounce-interval = <60>;
27 };
28
29 wps {
30 label = "wps";
31 gpios = <&pinctrl 37 0>;
32 linux,code = <KEY_WPS_BUTTON>;
33 debounce-interval = <60>;
34 };
35 };
36
37 leds {
38 compatible = "gpio-leds";
39
40 eth_green {
41 label = "CPVA642:green:ether";
42 gpios = <&pinctrl 1 1>;
43 };
44 phone2_green {
45 label = "CPVA642:green:phone2";
46 gpios = <&pinctrl 2 1>;
47 };
48 usb_green {
49 label = "CPVA642:green:usb";
50 gpios = <&pinctrl 3 1>;
51 };
52 phone1_green {
53 label = "CPVA642:green:phone1";
54 gpios = <&pinctrl 4 1>;
55 };
56 wifi_red {
57 label = "CPVA642:red:wifi";
58 gpios = <&pinctrl 6 1>;
59 };
60 link_red {
61 label = "CPVA642:red:link";
62 gpios = <&pinctrl 9 1>;
63 };
64 link_green {
65 label = "CPVA642:green:link";
66 gpios = <&pinctrl 10 1>;
67 };
68 power_green {
69 label = "CPVA642:green:power";
70 gpios = <&pinctrl 11 1>;
71 default-state = "on";
72 };
73 power_red {
74 label = "CPVA642:red:power";
75 gpios = <&pinctrl 14 1>;
76 };
77 wifi_green {
78 label = "CPVA642:green:wifi";
79 gpios = <&pinctrl 28 0>;
80 };
81 };
82 };
83
84 &pflash {
85 status = "ok";
86
87 partitions {
88 compatible = "fixed-partitions";
89 #address-cells = <1>;
90 #size-cells = <1>;
91
92 cfe@0 {
93 label = "CFE";
94 reg = <0x000000 0x010000>;
95 read-only;
96 };
97
98 linux@10000 {
99 label = "linux";
100 reg = <0x010000 0x7e0000>;
101 compatible = "brcm,bcm963xx-imagetag";
102 };
103
104 nvram@7f0000 {
105 label = "nvram";
106 reg = <0x7f0000 0x010000>;
107 };
108 };
109 };
110
111 &uart0 {
112 status = "ok";
113 };