0df5fa8e3398bd0b8fa66a6a122b97d67f167b1d
[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 chosen {
12 bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
13 };
14
15 gpio-keys-polled {
16 compatible = "gpio-keys-polled";
17 #address-cells = <1>;
18 #size-cells = <0>;
19
20 poll-interval = <20>;
21 debounce-interval = <60>;
22
23 button1 {
24 label = "BTN_1";
25 gpios = <&gpio1 4 1>;
26 linux,code = <BTN_1>;
27 };
28
29 button2 {
30 label = "BTN_2";
31 gpios = <&gpio0 7 1>;
32 linux,code = <BTN_2>;
33 };
34 };
35
36 gpio-leds {
37 compatible = "gpio-leds";
38
39 red_adsl_fail {
40 label = "Livebox-blue-5g:red:adsl-fail";
41 gpios = <&gpio0 0 0>;
42 default-state = "on";
43 };
44
45 red_adsl {
46 label = "Livebox-blue-5g:red:adsl-fail";
47 gpios = <&gpio0 1 0>;
48 };
49
50 red_traffic {
51 label = "Livebox-blue-5g:red:adsl-fail";
52 gpios = <&gpio0 2 0>;
53 };
54
55 red_phone {
56 label = "Livebox-blue-5g:red:adsl-fail";
57 gpios = <&gpio0 3 0>;
58 };
59
60 red_wifi {
61 label = "Livebox-blue-5g:red:adsl-fail";
62 gpios = <&gpio0 4 0>;
63 };
64 };
65 };
66
67 &pflash {
68 reg = <0x1e400000 0x800000>;
69 status = "ok";
70
71 linux,part-probe = "redboot";
72 };