OpenWrt – Blame information for rev 4
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | #include "danube.dtsi" |
2 | |||
3 | #include <dt-bindings/input/input.h> |
||
4 | |||
5 | / { |
||
6 | chosen { |
||
7 | bootargs = "console=ttyLTQ0,115200"; |
||
8 | }; |
||
9 | |||
10 | aliases { |
||
11 | led-boot = &power; |
||
12 | led-failsafe = &power; |
||
13 | led-running = &power; |
||
14 | led-upgrade = &power; |
||
15 | |||
16 | led-dsl = &dsl; |
||
17 | led-internet = &online; |
||
18 | led-usb = &led_usb; |
||
19 | led-wifi = &wifi; |
||
20 | }; |
||
21 | |||
22 | memory@0 { |
||
23 | reg = <0x0 0x4000000>; |
||
24 | }; |
||
25 | |||
26 | ath5k_eep { |
||
27 | compatible = "ath5k,eeprom"; |
||
28 | ath,eep-flash = <&boardconfig 0x400>; |
||
29 | ath,mac-offset = <0x16>; |
||
30 | ath,mac-increment = <1>; |
||
31 | ath,eep-swap; |
||
32 | }; |
||
33 | |||
34 | gpio-keys-polled { |
||
35 | compatible = "gpio-keys-polled"; |
||
36 | #address-cells = <1>; |
||
37 | #size-cells = <0>; |
||
38 | poll-interval = <100>; |
||
39 | |||
40 | rfkill { |
||
41 | label = "rfkill"; |
||
42 | gpios = <&gpio 28 GPIO_ACTIVE_LOW>; |
||
43 | linux,code = <KEY_RFKILL>; |
||
44 | }; |
||
45 | reset { |
||
46 | label = "reset"; |
||
47 | gpios = <&gpio 30 GPIO_ACTIVE_LOW>; |
||
48 | linux,code = <KEY_RESTART>; |
||
49 | }; |
||
50 | }; |
||
51 | |||
52 | gpio-leds { |
||
53 | compatible = "gpio-leds"; |
||
54 | power: power { |
||
55 | label = "power"; |
||
56 | gpios = <&gpio 3 GPIO_ACTIVE_HIGH>; |
||
57 | default-state = "keep"; |
||
58 | }; |
||
59 | dsl: dsl { |
||
60 | label = "dsl"; |
||
61 | gpios = <&gpio 4 GPIO_ACTIVE_LOW>; |
||
62 | }; |
||
63 | online: online { |
||
64 | label = "online"; |
||
65 | gpios = <&gpio 5 GPIO_ACTIVE_LOW>; |
||
66 | }; |
||
67 | wifi: wifi { |
||
68 | label = "wifi"; |
||
69 | gpios = <&gpio 6 GPIO_ACTIVE_LOW>; |
||
70 | }; |
||
71 | wps { |
||
72 | label = "wps"; |
||
73 | gpios = <&gpio 7 GPIO_ACTIVE_LOW>; |
||
74 | }; |
||
75 | dsl2 { |
||
76 | label = "dsl2"; |
||
77 | gpios = <&gpio 8 GPIO_ACTIVE_LOW>; |
||
78 | }; |
||
79 | led_usb: usb { |
||
80 | label = "usb"; |
||
81 | gpios = <&gpio 19 GPIO_ACTIVE_LOW>; |
||
82 | }; |
||
83 | voice { |
||
84 | label = "voice"; |
||
85 | gpios = <&gpiomm 0 GPIO_ACTIVE_LOW>; |
||
86 | }; |
||
87 | fxs1 { |
||
88 | label = "fxs1"; |
||
89 | gpios = <&gpiomm 1 GPIO_ACTIVE_LOW>; |
||
90 | }; |
||
91 | fxs2 { |
||
92 | label = "fxs2"; |
||
93 | gpios = <&gpiomm 2 GPIO_ACTIVE_LOW>; |
||
94 | }; |
||
95 | fxo { |
||
96 | label = "fxo"; |
||
97 | gpios = <&gpiomm 3 GPIO_ACTIVE_LOW>; |
||
98 | }; |
||
99 | }; |
||
100 | |||
101 | usb_vbus: regulator-usb-vbus { |
||
102 | compatible = "regulator-fixed"; |
||
103 | |||
104 | regulator-name = "USB_VBUS"; |
||
105 | |||
106 | regulator-min-microvolt = <5000000>; |
||
107 | regulator-max-microvolt = <5000000>; |
||
108 | |||
109 | gpio = <&gpio 14 GPIO_ACTIVE_HIGH>; |
||
110 | enable-active-high; |
||
111 | }; |
||
112 | }; |
||
113 | |||
114 | &gpio { |
||
115 | pinctrl-names = "default"; |
||
116 | pinctrl-0 = <&state_default>; |
||
117 | |||
118 | state_default: pinmux { |
||
119 | ebu { |
||
120 | lantiq,groups = "ebu cs1"; |
||
121 | lantiq,function = "ebu"; |
||
122 | }; |
||
123 | pci_in { |
||
124 | lantiq,groups = "req1", "req2"; |
||
125 | lantiq,function = "pci"; |
||
126 | lantiq,open-drain = <1>; |
||
127 | lantiq,pull = <2>; |
||
128 | lantiq,output = <0>; |
||
129 | }; |
||
130 | pci_out { |
||
131 | lantiq,groups = "gnt1", "gnt2"; |
||
132 | lantiq,function = "pci"; |
||
133 | lantiq,pull = <0>; |
||
134 | lantiq,output = <1>; |
||
135 | }; |
||
136 | }; |
||
137 | }; |
||
138 | |||
139 | &gpiomm { |
||
140 | status = "okay"; |
||
141 | lantiq,shadow = <0x0>; |
||
142 | }; |
||
143 | |||
144 | &gsw { |
||
145 | phy-mode = "mii"; |
||
146 | mtd-mac-address = <&boardconfig 0x16>; |
||
147 | }; |
||
148 | |||
149 | &localbus { |
||
150 | nor@0 { |
||
151 | compatible = "lantiq,nor"; |
||
152 | bank-width = <2>; |
||
153 | reg = <0 0x0 0x2000000>; |
||
154 | #address-cells = <1>; |
||
155 | #size-cells = <1>; |
||
156 | |||
157 | partitions { |
||
158 | compatible = "fixed-partitions"; |
||
159 | #address-cells = <1>; |
||
160 | #size-cells = <1>; |
||
161 | |||
162 | partition@0 { |
||
163 | label = "uboot"; |
||
164 | reg = <0x00000 0x10000>; /* 64 KB */ |
||
165 | read-only; |
||
166 | }; |
||
167 | |||
168 | partition@10000 { |
||
169 | label = "uboot_env"; |
||
170 | reg = <0x10000 0x10000>; /* 64 KB */ |
||
171 | read-only; |
||
172 | }; |
||
173 | |||
174 | partition@20000 { |
||
175 | label = "firmware"; |
||
176 | reg = <0x20000 0x3d0000>; |
||
177 | }; |
||
178 | |||
179 | boardconfig: partition@400000 { |
||
180 | label = "boardconfig"; |
||
181 | reg = <0x3f0000 0x10000>; |
||
182 | read-only; |
||
183 | }; |
||
184 | }; |
||
185 | }; |
||
186 | }; |
||
187 | |||
188 | &pci0 { |
||
189 | status = "okay"; |
||
190 | gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>; |
||
191 | req-mask = <0xf>; |
||
192 | }; |
||
193 | |||
194 | &usb_phy { |
||
195 | status = "okay"; |
||
196 | }; |
||
197 | |||
198 | &usb { |
||
199 | status = "okay"; |
||
200 | vbus-supply = <&usb_vbus>; |
||
201 | }; |
||
202 | |||
203 | &vmmc { |
||
204 | status = "okay"; |
||
205 | gpios = <&gpio 31 GPIO_ACTIVE_HIGH>; |
||
206 | }; |