ath79, brcm63xx: Fix debounce-interval properties in gpio-keys-polled nodes
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / vr-3025u.dts
1 /dts-v1/;
2
3 #include "bcm6368.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8 model = "Comtrend VR-3025u";
9 compatible = "comtrend,vr-3025u", "brcm,bcm6368";
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
22 reset {
23 label = "reset";
24 gpios = <&pinctrl 34 1>;
25 linux,code = <KEY_RESTART>;
26 debounce-interval = <60>;
27 };
28 };
29
30 gpio-leds {
31 compatible = "gpio-leds";
32
33 dsl_green {
34 label = "VR-3025u:green:dsl";
35 gpios = <&pinctrl 2 1>;
36 };
37 inet_green {
38 label = "VR-3025u:green:inet";
39 gpios = <&pinctrl 5 0>;
40 };
41 power_green {
42 label = "VR-3025u:green:power";
43 gpios = <&pinctrl 22 0>;
44 default-state = "on";
45 };
46 power_red {
47 label = "VR-3025u:red:power";
48 gpios = <&pinctrl 24 0>;
49 };
50 inet_red {
51 label = "VR-3025u:red:inet";
52 gpios = <&pinctrl 31 0>;
53 };
54 };
55 };
56
57 &pflash {
58 status = "ok";
59
60 partitions {
61 compatible = "fixed-partitions";
62 #address-cells = <1>;
63 #size-cells = <1>;
64
65 cfe@0 {
66 label = "CFE";
67 reg = <0x0000000 0x0020000>;
68 read-only;
69 };
70
71 linux@20000 {
72 label = "linux";
73 reg = <0x0020000 0x1fc0000>;
74 compatible = "brcm,bcm963xx-imagetag";
75 };
76
77 nvram@1fe0000 {
78 label = "nvram";
79 reg = <0x1fe0000 0x020000>;
80 };
81 };
82 };
83
84 &pinctrl {
85 pinctrl-names = "default";
86 pinctrl-0 = <&pinctrl_pci &pinctrl_ephy0_led &pinctrl_ephy1_led
87 &pinctrl_ephy2_led &pinctrl_ephy3_led>;
88 };
89
90 &uart0 {
91 status = "ok";
92 };