OpenWrt – Blame information for rev 3
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | /dts-v1/; |
2 | |||
3 | #include "bcm6368.dtsi" |
||
4 | |||
5 | #include <dt-bindings/input/input.h> |
||
6 | |||
7 | / { |
||
8 | model = "Comtrend WAP-5813n"; |
||
9 | compatible = "comtrend,wap-5813n", "brcm,bcm6368"; |
||
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 | wlan { |
||
24 | label = "wlan"; |
||
25 | gpios = <&pinctrl 32 1>; |
||
26 | linux,code = <KEY_WLAN>; |
||
27 | }; |
||
28 | reset { |
||
29 | label = "reset"; |
||
30 | gpios = <&pinctrl 34 1>; |
||
31 | linux,code = <KEY_RESTART>; |
||
32 | }; |
||
33 | wps { |
||
34 | label = "wps"; |
||
35 | gpios = <&pinctrl 35 1>; |
||
36 | linux,code = <KEY_WPS_BUTTON>; |
||
37 | }; |
||
38 | }; |
||
39 | |||
3 | office | 40 | gpio-leds { |
1 | office | 41 | compatible = "gpio-leds"; |
42 | |||
43 | inet_green { |
||
44 | label = "WAP-5813n:green:inet"; |
||
45 | gpios = <&pinctrl 5 0>; |
||
46 | }; |
||
47 | power_green { |
||
48 | label = "WAP-5813n:green:power"; |
||
49 | gpios = <&pinctrl 22 0>; |
||
50 | default-state = "on"; |
||
51 | }; |
||
52 | wps_green { |
||
53 | label = "WAP-5813n:green:wps"; |
||
54 | gpios = <&pinctrl 23 1>; |
||
55 | }; |
||
56 | power_red { |
||
57 | label = "WAP-5813n:red:power"; |
||
58 | gpios = <&pinctrl 24 0>; |
||
59 | }; |
||
60 | inet_red { |
||
61 | label = "WAP-5813n:red:inet"; |
||
62 | gpios = <&pinctrl 31 0>; |
||
63 | }; |
||
64 | }; |
||
65 | }; |
||
66 | |||
67 | &pflash { |
||
68 | status = "ok"; |
||
69 | |||
3 | office | 70 | linux,part-probe = "bcm63xxpart"; |
71 | |||
1 | office | 72 | partitions { |
73 | compatible = "fixed-partitions"; |
||
74 | #address-cells = <1>; |
||
75 | #size-cells = <1>; |
||
76 | |||
77 | cfe@0 { |
||
78 | label = "CFE"; |
||
79 | reg = <0x000000 0x010000>; |
||
80 | read-only; |
||
81 | }; |
||
82 | |||
83 | linux@10000 { |
||
84 | label = "linux"; |
||
85 | reg = <0x010000 0x7e0000>; |
||
86 | compatible = "brcm,bcm963xx-imagetag"; |
||
87 | }; |
||
88 | |||
89 | nvram@7f0000 { |
||
90 | label = "nvram"; |
||
91 | reg = <0x7f0000 0x010000>; |
||
92 | }; |
||
93 | }; |
||
94 | }; |
||
95 | |||
96 | &lsspi { |
||
97 | switch@0 { |
||
98 | compatible = "brcm,bcm53115"; |
||
99 | reg = <0>; |
||
100 | spi-max-frequency = <781000>; |
||
101 | |||
102 | lede,alias = "eth0"; |
||
103 | |||
104 | ports { |
||
105 | #address-cells = <1>; |
||
106 | #size-cells = <0>; |
||
107 | |||
108 | lan@0 { |
||
109 | reg = <0>; |
||
110 | label = "lan4"; |
||
111 | }; |
||
112 | |||
113 | lan@1 { |
||
114 | reg = <1>; |
||
115 | label = "lan3"; |
||
116 | }; |
||
117 | |||
118 | lan@2 { |
||
119 | reg = <2>; |
||
120 | label = "lan2"; |
||
121 | }; |
||
122 | |||
123 | lan@3 { |
||
124 | reg = <3>; |
||
125 | label = "lan1"; |
||
126 | }; |
||
127 | |||
128 | wan@4 { |
||
129 | reg = <4>; |
||
130 | label = "wan"; |
||
131 | }; |
||
132 | |||
133 | cpu@5 { |
||
134 | reg = <5>; |
||
135 | label = "cpu"; |
||
136 | |||
137 | fixed-link { |
||
138 | speed = <1000>; |
||
139 | full-duplex; |
||
140 | asym-pause; |
||
141 | pause; |
||
142 | }; |
||
143 | }; |
||
144 | }; |
||
145 | }; |
||
146 | }; |
||
147 | |||
148 | &pinctrl { |
||
149 | pinctrl-names = "default"; |
||
150 | pinctrl-0 = <&pinctrl_pci>; |
||
151 | }; |
||
152 | |||
153 | &uart0 { |
||
154 | status = "ok"; |
||
155 | }; |