ath79, brcm63xx: Fix debounce-interval properties in gpio-keys-polled nodes
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / ar1004g.dts
1 /dts-v1/;
2
3 #include "bcm6348.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8 model = "ASMAX AR 1004g";
9 compatible = "asmax,ar1004g", "brcm,bcm6348";
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 33 1>;
25 linux,code = <KEY_RESTART>;
26 debounce-interval = <60>;
27 };
28 };
29
30 gpio-leds {
31 compatible = "gpio-leds";
32
33 power_green {
34 label = "AR1004G:green:power";
35 gpios = <&pinctrl 0 1>;
36 default-state = "on";
37 };
38 inet_green {
39 label = "AR1004G:green:inet";
40 gpios = <&pinctrl 3 1>;
41 };
42 power_red {
43 label = "AR1004G:red:power";
44 gpios = <&pinctrl 6 1>;
45 };
46 };
47 };
48
49 &pflash {
50 status = "ok";
51
52 partitions {
53 compatible = "fixed-partitions";
54 #address-cells = <1>;
55 #size-cells = <1>;
56
57 cfe@0 {
58 label = "CFE";
59 reg = <0x000000 0x010000>;
60 read-only;
61 };
62
63 linux@10000 {
64 label = "linux";
65 reg = <0x010000 0x3e0000>;
66 compatible = "brcm,bcm963xx-imagetag";
67 };
68
69 nvram@3f0000 {
70 label = "nvram";
71 reg = <0x3f0000 0x010000>;
72 };
73 };
74 };
75
76 &pinctrl {
77 pinctrl-names = "default";
78 pinctrl-0 = <&pinctrl_ext_mii &pinctrl_pci>;
79 };
80
81 &uart0 {
82 status = "ok";
83 };