OpenWrt – Blame information for rev 2
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | /dts-v1/; |
2 | |||
3 | #include "bcm6328.dtsi" |
||
4 | |||
5 | #include <dt-bindings/input/input.h> |
||
6 | |||
7 | / { |
||
8 | model = "D-Link DSL-2740B/DSL-2741B rev F1"; |
||
9 | compatible = "d-link,dsl-274xb-f", "brcm,bcm6328"; |
||
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 | wifi { |
||
23 | label = "wifi"; |
||
24 | gpios = <&pinctrl 10 1>; |
||
25 | linux,code = <KEY_WLAN>; |
||
26 | debounce-interval = <60>; |
||
27 | }; |
||
28 | |||
29 | reset { |
||
30 | label = "reset"; |
||
31 | gpios = <&pinctrl 23 1>; |
||
32 | linux,code = <KEY_RESTART>; |
||
33 | debounce-interval = <60>; |
||
34 | }; |
||
35 | |||
36 | wps { |
||
37 | label = "wps"; |
||
38 | gpios = <&pinctrl 24 1>; |
||
39 | linux,code = <KEY_WPS_BUTTON>; |
||
40 | debounce-interval = <60>; |
||
41 | }; |
||
42 | }; |
||
43 | |||
44 | leds { |
||
45 | compatible = "gpio-leds"; |
||
46 | |||
47 | inet_red { |
||
48 | label = "dsl-274xb:red:internet"; |
||
49 | gpios = <&pinctrl 2 1>; |
||
50 | }; |
||
51 | dsl_green { |
||
52 | label = "dsl-274xb:green:dsl"; |
||
53 | gpios = <&pinctrl 3 1>; |
||
54 | }; |
||
55 | power_green { |
||
56 | label = "dsl-274xb:green:power"; |
||
57 | gpios = <&pinctrl 4 1>; |
||
58 | default-state = "on"; |
||
59 | }; |
||
60 | power_red { |
||
61 | label = "dsl-274xb:red:power"; |
||
62 | gpios = <&pinctrl 8 1>; |
||
63 | }; |
||
64 | wps_blue { |
||
65 | label = "dsl-274xb:blue:wps"; |
||
66 | gpios = <&pinctrl 9 1>; |
||
67 | }; |
||
68 | inet_green { |
||
69 | label = "dsl-274xb:green:internet"; |
||
70 | gpios = <&pinctrl 11 1>; |
||
71 | }; |
||
72 | }; |
||
73 | }; |
||
74 | |||
75 | &hsspi { |
||
76 | status = "ok"; |
||
77 | |||
78 | flash@0 { |
||
79 | compatible = "jedec,spi-nor"; |
||
80 | spi-max-frequency = <16666667>; |
||
81 | spi-tx-bus-width = <2>; |
||
82 | spi-rx-bus-width = <2>; |
||
83 | reg = <0>; |
||
84 | |||
85 | #address-cells = <1>; |
||
86 | #size-cells = <1>; |
||
87 | |||
88 | partitions { |
||
89 | compatible = "fixed-partitions"; |
||
90 | #address-cells = <1>; |
||
91 | #size-cells = <1>; |
||
92 | |||
93 | cfe@0 { |
||
94 | reg = <0x000000 0x010000>; |
||
95 | label = "cfe"; |
||
96 | read-only; |
||
97 | }; |
||
98 | |||
99 | linux@10000 { |
||
100 | reg = <0x010000 0x7c0000>; |
||
101 | label = "linux"; |
||
102 | compatible = "brcm,bcm963xx-imagetag"; |
||
103 | }; |
||
104 | |||
105 | cal_data@7d0000 { |
||
106 | reg = <0x7d0000 0x010000>; |
||
107 | label = "cal_data"; |
||
108 | read-only; |
||
109 | }; |
||
110 | |||
111 | nvram@7e0000 { |
||
112 | reg = <0x7e0000 0x020000>; |
||
113 | label = "nvram"; |
||
114 | }; |
||
115 | }; |
||
116 | }; |
||
117 | }; |
||
118 | |||
119 | &uart0 { |
||
120 | status = "ok"; |
||
121 | }; |