bc3d403559b80d3391fe5b7142799884290a2352
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / livebox-blue-5g.dts
1 /dts-v1/;
2
3 #include "bcm6348.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8 model = "Inventel Livebox 1";
9 compatible = "inventel,livebox-blue-5g", "brcm,bcm6348";
10
11 gpio-keys-polled {
12 compatible = "gpio-keys-polled";
13 #address-cells = <1>;
14 #size-cells = <0>;
15
16 poll-interval = <20>;
17 debounce-interval = <60>;
18
19 button1 {
20 label = "BTN_1";
21 gpios = <&gpio1 4 1>;
22 linux,code = <BTN_1>;
23 };
24
25 button2 {
26 label = "BTN_2";
27 gpios = <&gpio0 7 1>;
28 linux,code = <BTN_2>;
29 };
30 };
31
32 gpio-leds {
33 compatible = "gpio-leds";
34
35 red_adsl_fail {
36 label = "Livebox-blue-5g:red:adsl-fail";
37 gpios = <&gpio0 0 0>;
38 default-state = "on";
39 };
40
41 red_adsl {
42 label = "Livebox-blue-5g:red:adsl-fail";
43 gpios = <&gpio0 1 0>;
44 };
45
46 red_traffic {
47 label = "Livebox-blue-5g:red:adsl-fail";
48 gpios = <&gpio0 2 0>;
49 };
50
51 red_phone {
52 label = "Livebox-blue-5g:red:adsl-fail";
53 gpios = <&gpio0 3 0>;
54 };
55
56 red_wifi {
57 label = "Livebox-blue-5g:red:adsl-fail";
58 gpios = <&gpio0 4 0>;
59 };
60 };
61 };
62
63 &pflash {
64 reg = <0x1e400000 0x800000>;
65 status = "ok";
66
67 linux,part-probe = "redboot";
68 };