Commit | Line | Data |
---|---|---|
18ba7e4f SG |
1 | /* |
2 | * Device Tree file for d2 Network v2 | |
3 | * | |
4 | * Copyright (C) 2014 Simon Guinot <simon.guinot@sequanux.org> | |
5 | * | |
6 | * This file is licensed under the terms of the GNU General Public | |
7 | * License version 2. This program is licensed "as is" without any | |
8 | * warranty of any kind, whether express or implied. | |
9 | */ | |
10 | ||
11 | /dts-v1/; | |
12 | ||
4fc5af86 | 13 | #include <dt-bindings/leds/leds-ns2.h> |
18ba7e4f SG |
14 | #include "kirkwood-netxbig.dtsi" |
15 | ||
16 | / { | |
17 | model = "LaCie d2 Network v2"; | |
18 | compatible = "lacie,d2net_v2", "lacie,netxbig", "marvell,kirkwood-88f6281", "marvell,kirkwood"; | |
19 | ||
20 | memory { | |
21 | device_type = "memory"; | |
22 | reg = <0x00000000 0x10000000>; | |
23 | }; | |
24 | ||
25 | ns2-leds { | |
26 | compatible = "lacie,ns2-leds"; | |
27 | ||
28 | blue-sata { | |
29 | label = "d2net_v2:blue:sata"; | |
30 | slow-gpio = <&gpio0 29 GPIO_ACTIVE_HIGH>; | |
31 | cmd-gpio = <&gpio0 30 GPIO_ACTIVE_HIGH>; | |
4fc5af86 VD |
32 | modes-map = <NS_V2_LED_OFF 1 0 |
33 | NS_V2_LED_ON 0 1 | |
34 | NS_V2_LED_ON 1 1 | |
35 | NS_V2_LED_SATA 0 0>; | |
18ba7e4f SG |
36 | }; |
37 | }; | |
38 | ||
39 | gpio-leds { | |
40 | compatible = "gpio-leds"; | |
41 | ||
42 | red-fail { | |
43 | label = "d2net_v2:red:fail"; | |
44 | gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; | |
45 | }; | |
46 | }; | |
47 | }; |