0001 // SPDX-License-Identifier: GPL-2.0
0002 /dts-v1/;
0003
0004 #include <dt-bindings/leds/leds-ns2.h>
0005 #include "kirkwood-ns2-common.dtsi"
0006
0007 / {
0008 /* This machine is embedded in the first LaCie CloudBox product. */
0009 model = "LaCie Network Space Mini v2";
0010 compatible = "lacie,netspace_mini_v2", "marvell,kirkwood-88f6192", "marvell,kirkwood";
0011
0012 memory {
0013 device_type = "memory";
0014 reg = <0x00000000 0x8000000>;
0015 };
0016
0017 ocp@f1000000 {
0018 sata@80000 {
0019 pinctrl-0 = <&pmx_ns2_sata0>;
0020 pinctrl-names = "default";
0021 status = "okay";
0022 nr-ports = <1>;
0023 };
0024 };
0025
0026 gpio_fan {
0027 compatible = "gpio-fan";
0028 gpios = <&gpio0 22 GPIO_ACTIVE_LOW
0029 &gpio0 7 GPIO_ACTIVE_LOW
0030 &gpio1 1 GPIO_ACTIVE_LOW
0031 &gpio0 23 GPIO_ACTIVE_LOW>;
0032 gpio-fan,speed-map =
0033 < 0 0
0034 3000 15
0035 3180 14
0036 4140 13
0037 4570 12
0038 6760 11
0039 7140 10
0040 7980 9
0041 9200 8>;
0042 alarm-gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
0043 };
0044
0045 ns2-leds {
0046 compatible = "lacie,ns2-leds";
0047
0048 blue-sata {
0049 label = "ns2:blue:sata";
0050 slow-gpio = <&gpio0 29 0>;
0051 cmd-gpio = <&gpio0 30 0>;
0052 modes-map = <NS_V2_LED_OFF 1 0
0053 NS_V2_LED_ON 0 1
0054 NS_V2_LED_ON 1 1
0055 NS_V2_LED_SATA 0 0>;
0056 };
0057 };
0058 };
0059
0060 ðphy0 { reg = <0>; };