|
1 | 1 | /*
|
2 | 2 | * Device Tree file for Buffalo Linkstation LS-WVL/VL
|
3 | 3 | *
|
4 |
| - * Copyright (C) 2015, rogershimizu@gmail.com |
| 4 | + * Copyright (C) 2015, 2016 |
| 5 | + * Roger Shimizu <rogershimizu@gmail.com> |
5 | 6 | *
|
6 | 7 | * This program is free software; you can redistribute it and/or
|
7 | 8 | * modify it under the terms of the GNU General Public License
|
|
156 | 157 | button@1 {
|
157 | 158 | label = "Function Button";
|
158 | 159 | linux,code = <KEY_OPTION>;
|
159 |
| - gpios = <&gpio0 45 GPIO_ACTIVE_LOW>; |
| 160 | + gpios = <&gpio1 13 GPIO_ACTIVE_LOW>; |
160 | 161 | };
|
161 | 162 |
|
162 | 163 | button@2 {
|
163 | 164 | label = "Power-on Switch";
|
164 | 165 | linux,code = <KEY_RESERVED>;
|
165 | 166 | linux,input-type = <5>;
|
166 |
| - gpios = <&gpio0 46 GPIO_ACTIVE_LOW>; |
| 167 | + gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; |
167 | 168 | };
|
168 | 169 |
|
169 | 170 | button@3 {
|
170 | 171 | label = "Power-auto Switch";
|
171 | 172 | linux,code = <KEY_ESC>;
|
172 | 173 | linux,input-type = <5>;
|
173 |
| - gpios = <&gpio0 47 GPIO_ACTIVE_LOW>; |
| 174 | + gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; |
174 | 175 | };
|
175 | 176 | };
|
176 | 177 |
|
|
185 | 186 |
|
186 | 187 | led@1 {
|
187 | 188 | label = "lswvl:red:alarm";
|
188 |
| - gpios = <&gpio0 36 GPIO_ACTIVE_LOW>; |
| 189 | + gpios = <&gpio1 4 GPIO_ACTIVE_LOW>; |
189 | 190 | };
|
190 | 191 |
|
191 | 192 | led@2 {
|
192 | 193 | label = "lswvl:red:func";
|
193 |
| - gpios = <&gpio0 37 GPIO_ACTIVE_LOW>; |
| 194 | + gpios = <&gpio1 5 GPIO_ACTIVE_LOW>; |
194 | 195 | };
|
195 | 196 |
|
196 | 197 | led@3 {
|
197 | 198 | label = "lswvl:amber:info";
|
198 |
| - gpios = <&gpio0 38 GPIO_ACTIVE_LOW>; |
| 199 | + gpios = <&gpio1 6 GPIO_ACTIVE_LOW>; |
199 | 200 | };
|
200 | 201 |
|
201 | 202 | led@4 {
|
202 | 203 | label = "lswvl:blue:func";
|
203 |
| - gpios = <&gpio0 39 GPIO_ACTIVE_LOW>; |
| 204 | + gpios = <&gpio1 7 GPIO_ACTIVE_LOW>; |
204 | 205 | };
|
205 | 206 |
|
206 | 207 | led@5 {
|
207 | 208 | label = "lswvl:blue:power";
|
208 |
| - gpios = <&gpio0 40 GPIO_ACTIVE_LOW>; |
| 209 | + gpios = <&gpio1 8 GPIO_ACTIVE_LOW>; |
209 | 210 | default-state = "keep";
|
210 | 211 | };
|
211 | 212 |
|
212 | 213 | led@6 {
|
213 | 214 | label = "lswvl:red:hdderr0";
|
214 |
| - gpios = <&gpio0 34 GPIO_ACTIVE_LOW>; |
| 215 | + gpios = <&gpio1 2 GPIO_ACTIVE_LOW>; |
215 | 216 | };
|
216 | 217 |
|
217 | 218 | led@7 {
|
218 | 219 | label = "lswvl:red:hdderr1";
|
219 |
| - gpios = <&gpio0 35 GPIO_ACTIVE_LOW>; |
| 220 | + gpios = <&gpio1 3 GPIO_ACTIVE_LOW>; |
220 | 221 | };
|
221 | 222 | };
|
222 | 223 |
|
|
233 | 234 | 3250 1
|
234 | 235 | 5000 0>;
|
235 | 236 |
|
236 |
| - alarm-gpios = <&gpio0 43 GPIO_ACTIVE_HIGH>; |
| 237 | + alarm-gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>; |
237 | 238 | };
|
238 | 239 |
|
239 | 240 | restart_poweroff {
|
|
0 commit comments