brcm63xx: move buttons and leds to dts files
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / fast2704v2.dts
1 /dts-v1/;
2
3 /include/ "bcm6328.dtsi"
4
5 / {
6 model = "Sagem F@ST2704V2";
7 compatible = "sagem,f@st2704v2", "brcm,bcm6328";
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 rfkill {
17 label = "rfkill";
18 gpios = <&gpio0 15 1>;
19 linux,code = <0xee>;
20 };
21 reset {
22 label = "reset";
23 gpios = <&gpio0 23 1>;
24 linux,code = <0x198>;
25 };
26 wps {
27 label = "wps";
28 gpios = <&gpio0 24 1>;
29 linux,code = <0x211>;
30 };
31 };
32
33 gpio-leds {
34 compatible = "gpio-leds";
35
36 usb_green {
37 label = "F@ST2704V2:green:usb";
38 gpios = <&gpio0 1 1>;
39 };
40 inet_red {
41 label = "F@ST2704V2:red:inet";
42 gpios = <&gpio0 2 1>;
43 };
44 dsl_green {
45 label = "F@ST2704V2:green:dsl";
46 gpios = <&gpio0 3 1>;
47 };
48 power_green {
49 label = "F@ST2704V2:green:power";
50 gpios = <&gpio0 4 1>;
51 default-state = "on";
52 };
53 power_red {
54 label = "F@ST2704V2:red:power";
55 gpios = <&gpio0 5 1>;
56 };
57 wps_green {
58 label = "F@ST2704V2:green:wps";
59 gpios = <&gpio0 10 1>;
60 };
61 inet_green {
62 label = "F@ST2704V2:green:inet";
63 gpios = <&gpio0 11 1>;
64 };
65 };
66 };