ath79, brcm63xx: Fix debounce-interval properties in gpio-keys-polled nodes
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / vh4032n.dts
1 /dts-v1/;
2
3 #include "bcm6368.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8 model = "Observa VH4032N";
9 compatible = "observa,vh4032n", "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 wps {
30 label = "wps";
31 gpios = <&pinctrl 35 1>;
32 linux,code = <KEY_WPS_BUTTON>;
33 debounce-interval = <60>;
34 };
35 };
36
37 gpio-leds {
38 compatible = "gpio-leds";
39
40 dsl_blue {
41 label = "VH4032N:blue:dsl";
42 gpios = <&pinctrl 2 1>;
43 };
44 dsl_red {
45 label = "VH4032N:red:dsl";
46 gpios = <&pinctrl 5 1>;
47 };
48 hspa_blue {
49 label = "VH4032N:blue:hspa";
50 gpios = <&pinctrl 11 1>;
51 };
52 hspa_red {
53 label = "VH4032N:red:hspa";
54 gpios = <&pinctrl 12 1>;
55 };
56 power_blue {
57 label = "VH4032N:blue:power";
58 gpios = <&pinctrl 22 0>;
59 };
60 power_red {
61 label = "VH4032N:red:power";
62 gpios = <&pinctrl 24 0>;
63 default-state = "on";
64 };
65 voice_blue {
66 label = "VH4032N:blue:voice";
67 gpios = <&pinctrl 25 1>;
68 };
69 voice_red {
70 label = "VH4032N:red:voice";
71 gpios = <&pinctrl 26 1>;
72 };
73 };
74 };
75
76 &pinctrl {
77 usb_hub_reset {
78 gpio-hog;
79 gpios = <27 0>;
80 output-high;
81 line-name = "usb-hub-reset-gpio";
82 };
83 };
84
85 &pflash {
86 status = "ok";
87
88 partitions {
89 compatible = "fixed-partitions";
90 #address-cells = <1>;
91 #size-cells = <1>;
92
93 cfe@0 {
94 label = "CFE";
95 reg = <0x0000000 0x0020000>;
96 read-only;
97 };
98
99 linux@20000 {
100 label = "linux";
101 reg = <0x0020000 0x1fc0000>;
102 compatible = "brcm,bcm963xx-imagetag";
103 };
104
105 nvram@1fe0000 {
106 label = "nvram";
107 reg = <0x1fe0000 0x020000>;
108 };
109 };
110 };
111
112 &uart0 {
113 status = "ok";
114 };