Commit | Line | Data |
---|---|---|
07f645df TP |
1 | /* |
2 | * Copyright (C) 2012 Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | |
3 | * | |
4 | * This file is licensed under the terms of the GNU General Public | |
5 | * License version 2. This program is licensed "as is" without any | |
6 | * warranty of any kind, whether express or implied. | |
7 | */ | |
8 | ||
9 | /dts-v1/; | |
10 | /include/ "orion5x.dtsi" | |
11 | ||
12 | / { | |
13 | model = "LaCie Ethernet Disk mini V2"; | |
14 | compatible = "lacie,ethernet-disk-mini-v2", "marvell-orion5x-88f5182", "marvell,orion5x"; | |
15 | ||
16 | memory { | |
17 | reg = <0x00000000 0x4000000>; /* 64 MB */ | |
18 | }; | |
19 | ||
20 | chosen { | |
21 | bootargs = "console=ttyS0,115200n8 earlyprintk"; | |
22 | }; | |
23 | ||
24 | ocp@f1000000 { | |
25 | serial@12000 { | |
26 | clock-frequency = <166666667>; | |
27 | status = "okay"; | |
28 | }; | |
29 | ||
30 | sata@80000 { | |
31 | status = "okay"; | |
32 | nr-ports = <2>; | |
33 | }; | |
34 | }; | |
35 | ||
36 | gpio_keys { | |
37 | compatible = "gpio-keys"; | |
38 | #address-cells = <1>; | |
39 | #size-cells = <0>; | |
40 | button@1 { | |
41 | label = "Power-on Switch"; | |
42 | linux,code = <116>; /* KEY_POWER */ | |
43 | gpios = <&gpio0 18 0>; | |
44 | }; | |
45 | }; | |
46 | ||
47 | gpio_leds { | |
48 | compatible = "gpio-leds"; | |
49 | ||
50 | led@1 { | |
51 | label = "power:blue"; | |
52 | gpios = <&gpio0 16 1>; | |
53 | }; | |
54 | }; | |
55 | }; |