ath79, brcm63xx: Fix debounce-interval properties in gpio-keys-polled nodes
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / fast2504n.dts
1 /dts-v1/;
2
3 #include "bcm6362.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8 model = "Sagem F@ST2504n";
9 compatible = "sagem,f@st2504n", "brcm,bcm6362";
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 24 1>;
25 linux,code = <KEY_RESTART>;
26 debounce-interval = <60>;
27 };
28
29 wps {
30 label = "wps";
31 gpios = <&pinctrl 25 1>;
32 linux,code = <KEY_WPS_BUTTON>;
33 debounce-interval = <60>;
34 };
35 };
36
37 gpio-leds {
38 compatible = "gpio-leds";
39
40 power_orange {
41 label = "fast2504n:orange:power";
42 gpios = <&pinctrl 2 1>;
43 };
44 power_green {
45 label = "fast2504n:green:power";
46 gpios = <&pinctrl 10 1>;
47 default-state = "on";
48 };
49 inet_red {
50 label = "fast2504n:red:internet";
51 gpios = <&pinctrl 26 1>;
52 };
53 ok_green {
54 label = "fast2504n:green:ok";
55 gpios = <&pinctrl 28 1>;
56 };
57 ok_orange {
58 label = "fast2504n:orange:ok";
59 gpios = <&pinctrl 29 1>;
60 };
61 wlan_orangee {
62 label = "fast2504n:orange:wlan";
63 gpios = <&pinctrl 30 1>;
64 };
65 };
66 };
67
68 &hsspi {
69 status = "ok";
70
71 flash@0 {
72 compatible = "jedec,spi-nor";
73 spi-max-frequency = <20000000>;
74 spi-tx-bus-width = <2>;
75 spi-rx-bus-width = <2>;
76 reg = <0>;
77
78 #address-cells = <1>;
79 #size-cells = <1>;
80
81 partitions {
82 compatible = "fixed-partitions";
83 #address-cells = <1>;
84 #size-cells = <1>;
85
86 cfe@0 {
87 reg = <0x000000 0x010000>;
88 label = "cfe";
89 read-only;
90 };
91
92 linux@10000 {
93 reg = <0x010000 0x7e0000>;
94 label = "linux";
95 compatible = "brcm,bcm963xx-imagetag";
96 };
97
98 nvram@7f0000 {
99 reg = <0x7f0000 0x010000>;
100 label = "nvram";
101 };
102 };
103 };
104 };
105
106 &uart0 {
107 status = "ok";
108 };