1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2*f126890aSEmmanuel Vadot/dts-v1/;
3*f126890aSEmmanuel Vadot
4*f126890aSEmmanuel Vadot#include <dt-bindings/leds/leds-ns2.h>
5*f126890aSEmmanuel Vadot#include "kirkwood-ns2-common.dtsi"
6*f126890aSEmmanuel Vadot
7*f126890aSEmmanuel Vadot/ {
8*f126890aSEmmanuel Vadot	model = "LaCie Network Space v2";
9*f126890aSEmmanuel Vadot	compatible = "lacie,netspace_v2", "marvell,kirkwood-88f6281", "marvell,kirkwood";
10*f126890aSEmmanuel Vadot
11*f126890aSEmmanuel Vadot	memory {
12*f126890aSEmmanuel Vadot		device_type = "memory";
13*f126890aSEmmanuel Vadot		reg = <0x00000000 0x10000000>;
14*f126890aSEmmanuel Vadot	};
15*f126890aSEmmanuel Vadot
16*f126890aSEmmanuel Vadot	ocp@f1000000 {
17*f126890aSEmmanuel Vadot		sata@80000 {
18*f126890aSEmmanuel Vadot			pinctrl-0 = <&pmx_ns2_sata0>;
19*f126890aSEmmanuel Vadot			pinctrl-names = "default";
20*f126890aSEmmanuel Vadot			status = "okay";
21*f126890aSEmmanuel Vadot			nr-ports = <1>;
22*f126890aSEmmanuel Vadot		};
23*f126890aSEmmanuel Vadot	};
24*f126890aSEmmanuel Vadot
25*f126890aSEmmanuel Vadot	ns2-leds {
26*f126890aSEmmanuel Vadot		compatible = "lacie,ns2-leds";
27*f126890aSEmmanuel Vadot
28*f126890aSEmmanuel Vadot		blue-sata {
29*f126890aSEmmanuel Vadot			label = "ns2:blue:sata";
30*f126890aSEmmanuel Vadot			slow-gpio = <&gpio0 29 0>;
31*f126890aSEmmanuel Vadot			cmd-gpio = <&gpio0 30 0>;
32*f126890aSEmmanuel Vadot			modes-map = <NS_V2_LED_OFF  1 0
33*f126890aSEmmanuel Vadot				     NS_V2_LED_ON   0 1
34*f126890aSEmmanuel Vadot				     NS_V2_LED_ON   1 1
35*f126890aSEmmanuel Vadot				     NS_V2_LED_SATA 0 0>;
36*f126890aSEmmanuel Vadot		};
37*f126890aSEmmanuel Vadot	};
38*f126890aSEmmanuel Vadot};
39*f126890aSEmmanuel Vadot
40*f126890aSEmmanuel Vadot&ethphy0 { reg = <8>; };
41