blob: f30e05af64730fdb9dc9be1342e758e15e2423fc [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";
26 gpios = <&gpio0 22 1
27 &gpio0 7 1
28 &gpio1 1 1
29 &gpio0 23 1>;
30 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>;
40 alarm-gpios = <&gpio0 25 1>;
41 };
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};