0bc503c941cf005f20b9bd0439cc890c02b5f2de
[openwrt/staging/mkresin.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 = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
13 stdout-path = "serial0:115200n8";
14 };
15
16 gpio-keys-polled {
17 compatible = "gpio-keys-polled";
18 #address-cells = <1>;
19 #size-cells = <0>;
20
21 poll-interval = <20>;
22 debounce-interval = <60>;
23
24 button1 {
25 label = "1";
26 gpios = <&pinctrl 36 1>;
27 linux,code = <KEY_RESTART>;
28 };
29
30 button2 {
31 label = "2";
32 gpios = <&pinctrl 7 1>;
33 linux,code = <BTN_2>;
34 };
35 };
36
37 gpio-leds {
38 compatible = "gpio-leds";
39
40 red_adsl_fail {
41 label = "Livebox1:red:adsl-fail-power";
42 gpios = <&pinctrl 0 0>;
43 default-state = "on";
44 };
45
46 red_adsl {
47 label = "Livebox1:red:adsl";
48 gpios = <&pinctrl 1 0>;
49 };
50
51 red_traffic {
52 label = "Livebox1:red:traffic";
53 gpios = <&pinctrl 2 0>;
54 };
55
56 red_phone {
57 label = "Livebox1:red:phone";
58 gpios = <&pinctrl 3 0>;
59 };
60
61 red_wifi {
62 label = "Livebox1:red:wifi";
63 gpios = <&pinctrl 4 0>;
64 };
65 };
66 };
67
68 &pflash {
69 reg = <0x1e400000 0x800000>;
70 status = "ok";
71
72 linux,part-probe = "RedBoot";
73 };
74
75 &pinctrl {
76 pinctrl-names = "default";
77 pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii &pinctrl_mii_pccard>;
78 };
79
80 &uart0 {
81 status = "ok";
82 };