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