OpenWrt – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 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 | keys { |
||
17 | compatible = "gpio-keys-polled"; |
||
18 | #address-cells = <1>; |
||
19 | #size-cells = <0>; |
||
20 | poll-interval = <20>; |
||
21 | |||
22 | button1 { |
||
23 | label = "1"; |
||
24 | gpios = <&pinctrl 36 1>; |
||
25 | linux,code = <KEY_RESTART>; |
||
26 | debounce-interval = <60>; |
||
27 | }; |
||
28 | |||
29 | button2 { |
||
30 | label = "2"; |
||
31 | gpios = <&pinctrl 7 1>; |
||
32 | linux,code = <BTN_2>; |
||
33 | debounce-interval = <60>; |
||
34 | }; |
||
35 | }; |
||
36 | |||
37 | 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 | partitions { |
||
73 | compatible = "ecoscentric,redboot-fis-partitions"; |
||
74 | }; |
||
75 | }; |
||
76 | |||
77 | &pinctrl { |
||
78 | pinctrl-names = "default"; |
||
79 | pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii &pinctrl_mii_pccard>; |
||
80 | }; |
||
81 | |||
82 | &uart0 { |
||
83 | status = "ok"; |
||
84 | }; |