blob: c441bf62c09fcfa9cab080b00eeb0e76129c31d0 [file] [log] [blame]
Simon Guinot7f9871d2012-10-17 12:09:06 +02001/dts-v1/;
2
Ezequiel Garcia0ab61292013-07-26 10:18:02 -03003#include "kirkwood-ns2-common.dtsi"
Simon Guinot7f9871d2012-10-17 12:09:06 +02004
5/ {
Simon Guinotd3dde4d2013-04-09 00:41:29 +02006 /* This machine is embedded in the first LaCie CloudBox product. */
Simon Guinot7f9871d2012-10-17 12:09:06 +02007 model = "LaCie Network Space Mini v2";
8 compatible = "lacie,netspace_mini_v2", "marvell,kirkwood-88f6192", "marvell,kirkwood";
9
10 memory {
11 device_type = "memory";
12 reg = <0x00000000 0x8000000>;
13 };
14
15 ocp@f1000000 {
16 sata@80000 {
Thomas Petazzonief519a42013-05-24 11:44:48 +020017 pinctrl-0 = <&pmx_ns2_sata0>;
18 pinctrl-names = "default";
Simon Guinot7f9871d2012-10-17 12:09:06 +020019 status = "okay";
20 nr-ports = <1>;
21 };
22 };
23
24 gpio_fan {
25 compatible = "gpio-fan";
Andrew Lunn3a31f2d72013-12-04 16:51:39 +010026 gpios = <&gpio0 22 GPIO_ACTIVE_LOW
27 &gpio0 7 GPIO_ACTIVE_LOW
28 &gpio1 1 GPIO_ACTIVE_LOW
29 &gpio0 23 GPIO_ACTIVE_LOW>;
Simon Guinot7f9871d2012-10-17 12:09:06 +020030 gpio-fan,speed-map =
31 < 0 0
32 3000 15
33 3180 14
34 4140 13
35 4570 12
36 6760 11
37 7140 10
38 7980 9
39 9200 8>;
Andrew Lunn3a31f2d72013-12-04 16:51:39 +010040 alarm-gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
Simon Guinot7f9871d2012-10-17 12:09:06 +020041 };
42
43 ns2-leds {
44 compatible = "lacie,ns2-leds";
45
46 blue-sata {
47 label = "ns2:blue:sata";
48 slow-gpio = <&gpio0 29 0>;
49 cmd-gpio = <&gpio0 30 0>;
50 };
51 };
52};
Sebastian Hesselbarth876e2332013-07-07 22:34:56 +020053
54&ethphy0 { reg = <0>; };