OpenWrt – Blame information for rev 2
?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 = "TP-Link TD-W8900GB"; |
||
9 | compatible = "tp-link,td-w8900gb", "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 | |||
30 | leds { |
||
31 | compatible = "gpio-leds"; |
||
32 | |||
33 | power_green { |
||
34 | label = "96348GW-11:green:power"; |
||
35 | gpios = <&pinctrl 0 1>; |
||
36 | default-state = "on"; |
||
37 | }; |
||
38 | stop_green { |
||
39 | label = "96348GW-11:green:stop"; |
||
40 | gpios = <&pinctrl 1 1>; |
||
41 | }; |
||
42 | adsl_fail_green { |
||
43 | label = "96348GW-11:green:adsl-fail"; |
||
44 | gpios = <&pinctrl 2 1>; |
||
45 | }; |
||
46 | ppp_green { |
||
47 | label = "96348GW-11:green:ppp"; |
||
48 | gpios = <&pinctrl 3 1>; |
||
49 | }; |
||
50 | ppp_fail_green { |
||
51 | label = "96348GW-11:green:ppp-fail"; |
||
52 | gpios = <&pinctrl 4 1>; |
||
53 | }; |
||
54 | }; |
||
55 | }; |
||
56 | |||
57 | &pflash { |
||
58 | status = "ok"; |
||
59 | |||
60 | partitions { |
||
61 | compatible = "fixed-partitions"; |
||
62 | #address-cells = <1>; |
||
63 | #size-cells = <1>; |
||
64 | |||
65 | cfe@0 { |
||
66 | label = "CFE"; |
||
67 | reg = <0x000000 0x020000>; |
||
68 | read-only; |
||
69 | }; |
||
70 | |||
71 | linux@20000 { |
||
72 | label = "linux"; |
||
73 | reg = <0x020000 0x3d0000>; |
||
74 | compatible = "brcm,bcm963xx-imagetag"; |
||
75 | }; |
||
76 | |||
77 | nvram@3e0000 { |
||
78 | label = "nvram"; |
||
79 | reg = <0x3f0000 0x010000>; |
||
80 | }; |
||
81 | }; |
||
82 | }; |
||
83 | |||
84 | &pinctrl { |
||
85 | pinctrl-names = "default"; |
||
86 | pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii &pinctrl_mii_pccard>; |
||
87 | }; |
||
88 | |||
89 | &uart0 { |
||
90 | status = "ok"; |
||
91 | }; |