OpenWrt – Blame information for rev 3
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | /dts-v1/; |
2 | |||
3 | #include "bcm6358.dtsi" |
||
4 | |||
5 | #include <dt-bindings/input/input.h> |
||
6 | |||
7 | / { |
||
8 | model = "SFR Neuf Box 4 (Sercomm)"; |
||
9 | compatible = "sfr,nb4-ser-r0", "brcm,bcm6358"; |
||
10 | |||
11 | chosen { |
||
12 | bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200"; |
||
13 | stdout-path = "serial0:115200n8"; |
||
14 | }; |
||
15 | |||
3 | office | 16 | gpio-keys-polled { |
1 | office | 17 | compatible = "gpio-keys-polled"; |
18 | #address-cells = <1>; |
||
19 | #size-cells = <0>; |
||
20 | poll-interval = <20>; |
||
3 | office | 21 | debounce-interval = <60>; |
1 | office | 22 | |
23 | service { |
||
24 | label = "service"; |
||
25 | gpios = <&pinctrl 27 1>; |
||
26 | linux,code = <BTN_0>; |
||
27 | }; |
||
28 | clip { |
||
29 | label = "clip"; |
||
30 | gpios = <&pinctrl 31 1>; |
||
31 | linux,code = <BTN_1>; |
||
32 | }; |
||
33 | reset { |
||
34 | label = "reset"; |
||
35 | gpios = <&pinctrl 34 1>; |
||
36 | linux,code = <KEY_RESTART>; |
||
37 | }; |
||
38 | wps { |
||
39 | label = "wps"; |
||
40 | gpios = <&pinctrl 37 1>; |
||
41 | linux,code = <KEY_WPS_BUTTON>; |
||
42 | }; |
||
43 | }; |
||
44 | |||
3 | office | 45 | gpio-leds { |
1 | office | 46 | compatible = "gpio-leds"; |
47 | |||
48 | traffic_white { |
||
49 | label = "NB4-SER-r0:white:traffic"; |
||
50 | gpios = <&pinctrl 2 1>; |
||
51 | }; |
||
52 | service_blue { |
||
53 | label = "NB4-SER-r0:blue:service"; |
||
54 | gpios = <&pinctrl 4 1>; |
||
55 | }; |
||
56 | wifi_white { |
||
57 | label = "NB4-SER-r0:white:wifi"; |
||
58 | gpios = <&pinctrl 15 1>; |
||
59 | }; |
||
60 | service_red { |
||
61 | label = "NB4-SER-r0:red:service"; |
||
62 | gpios = <&pinctrl 29 1>; |
||
63 | }; |
||
64 | service_green { |
||
65 | label = "NB4-SER-r0:green:service"; |
||
66 | gpios = <&pinctrl 30 1>; |
||
67 | }; |
||
68 | }; |
||
69 | }; |
||
70 | |||
71 | &leds { |
||
72 | status = "ok"; |
||
73 | |||
74 | pinctrl-names = "default"; |
||
75 | pinctrl-0 = <&pinctrl_serial_led>; |
||
76 | |||
77 | led@0 { |
||
78 | reg = <0>; |
||
79 | active-low; |
||
80 | label = "NB4-SER-r0:white:alarm"; |
||
81 | }; |
||
82 | |||
83 | led@2 { |
||
84 | reg = <2>; |
||
85 | active-low; |
||
86 | label = "NB4-SER-r0:white:tv"; |
||
87 | }; |
||
88 | |||
89 | led@3 { |
||
90 | reg = <3>; |
||
91 | active-low; |
||
92 | label = "NB4-SER-r0:white:tel"; |
||
93 | }; |
||
94 | |||
95 | led@4 { |
||
96 | reg = <4>; |
||
97 | active-low; |
||
98 | label = "NB4-SER-r0:white:adsl"; |
||
99 | }; |
||
100 | }; |
||
101 | |||
102 | &pflash { |
||
103 | status = "ok"; |
||
104 | |||
3 | office | 105 | linux,part-probe = "bcm63xxpart"; |
106 | |||
1 | office | 107 | partitions { |
108 | compatible = "brcm,bcm963xx-cfe-nor-partitions"; |
||
109 | }; |
||
110 | }; |
||
111 | |||
112 | &uart0 { |
||
113 | status = "ok"; |
||
114 | }; |