brcm63xx: move buttons and leds to dts files
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / dts / ar1004g.dts
1 /dts-v1/;
2
3 /include/ "bcm6348.dtsi"
4
5 / {
6 model = "ASMAX AR 1004g";
7 compatible = "asmax,ar1004g", "brcm,bcm6348";
8
9 gpio-keys-polled {
10 compatible = "gpio-keys-polled";
11 #address-cells = <1>;
12 #size-cells = <0>;
13 poll-interval = <20>;
14 debounce-interval = <60>;
15
16 reset {
17 label = "reset";
18 gpios = <&gpio1 1 1>;
19 linux,code = <0x198>;
20 };
21 };
22
23 gpio-leds {
24 compatible = "gpio-leds";
25
26 power_green {
27 label = "AR1004G:green:power";
28 gpios = <&gpio0 0 1>;
29 default-state = "on";
30 };
31 inet_green {
32 label = "AR1004G:green:inet";
33 gpios = <&gpio0 3 1>;
34 };
35 power_red {
36 label = "AR1004G:red:power";
37 gpios = <&gpio0 6 1>;
38 };
39 };
40 };