brcm63xx: move buttons and leds to dts files
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / ct536plus.dts
1 /dts-v1/;
2
3 /include/ "bcm6348.dtsi"
4
5 / {
6 model = "Comtrend CT-536+/CT-5621T";
7 compatible = "comtrend,ct536+", "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 = "CT536_CT5621:green:power";
28 gpios = <&gpio0 0 1>;
29 default-state = "on";
30 };
31 adsl_fail_green {
32 label = "CT536_CT5621:green:adsl-fail";
33 gpios = <&gpio0 2 1>;
34 };
35 };
36 };