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 = "Comtrend CT-5365"; |
||
9 | compatible = "comtrend,ct-5365", "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 | reset { |
||
23 | label = "reset"; |
||
24 | gpios = <&pinctrl 33 1>; |
||
25 | linux,code = <KEY_RESTART>; |
||
26 | debounce-interval = <60>; |
||
27 | }; |
||
28 | |||
29 | wlan { |
||
30 | label = "wlan"; |
||
31 | gpios = <&pinctrl 34 1>; |
||
32 | linux,code = <KEY_WLAN>; |
||
33 | debounce-interval = <60>; |
||
34 | }; |
||
35 | |||
36 | wps { |
||
37 | label = "wps"; |
||
38 | gpios = <&pinctrl 35 1>; |
||
39 | linux,code = <KEY_WPS_BUTTON>; |
||
40 | debounce-interval = <60>; |
||
41 | }; |
||
42 | }; |
||
43 | |||
44 | leds { |
||
45 | compatible = "gpio-leds"; |
||
46 | |||
47 | power_green { |
||
48 | label = "96348A-122:green:power"; |
||
49 | gpios = <&pinctrl 0 1>; |
||
50 | default-state = "on"; |
||
51 | }; |
||
52 | alarm_red { |
||
53 | label = "96348A-122:red:alarm"; |
||
54 | gpios = <&pinctrl 2 1>; |
||
55 | }; |
||
56 | wps_green { |
||
57 | label = "96348A-122:green:wps"; |
||
58 | gpios = <&pinctrl 6 1>; |
||
59 | }; |
||
60 | }; |
||
61 | }; |
||
62 | |||
63 | &pflash { |
||
64 | status = "ok"; |
||
65 | |||
66 | partitions { |
||
67 | compatible = "fixed-partitions"; |
||
68 | #address-cells = <1>; |
||
69 | #size-cells = <1>; |
||
70 | |||
71 | cfe@0 { |
||
72 | label = "CFE"; |
||
73 | reg = <0x000000 0x010000>; |
||
74 | read-only; |
||
75 | }; |
||
76 | |||
77 | linux@10000 { |
||
78 | label = "linux"; |
||
79 | reg = <0x010000 0x3e0000>; |
||
80 | compatible = "brcm,bcm963xx-imagetag"; |
||
81 | }; |
||
82 | |||
83 | nvram@3f0000 { |
||
84 | label = "nvram"; |
||
85 | reg = <0x3f0000 0x010000>; |
||
86 | }; |
||
87 | }; |
||
88 | }; |
||
89 | |||
90 | &pinctrl { |
||
91 | pinctrl-names = "default"; |
||
92 | pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii>; |
||
93 | }; |
||
94 | |||
95 | &uart0 { |
||
96 | status = "ok"; |
||
97 | }; |