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 model = "LaCie Network Space Max v2";
0009 compatible = "lacie,netspace_max_v2", "marvell,kirkwood-88f6281", "marvell,kirkwood";
0010
0011 memory {
0012 device_type = "memory";
0013 reg = <0x00000000 0x10000000>;
0014 };
0015
0016 ocp@f1000000 {
0017 sata@80000 {
0018 pinctrl-0 = <&pmx_ns2_sata0 &pmx_ns2_sata1>;
0019 pinctrl-names = "default";
0020 status = "okay";
0021 nr-ports = <2>;
0022 };
0023 };
0024
0025 gpio_fan {
0026 compatible = "gpio-fan";
0027 gpios = <&gpio0 22 GPIO_ACTIVE_LOW
0028 &gpio0 7 GPIO_ACTIVE_LOW
0029 &gpio1 1 GPIO_ACTIVE_LOW
0030 &gpio0 23 GPIO_ACTIVE_LOW>;
0031 gpio-fan,speed-map =
0032 < 0 0
0033 1500 15
0034 1700 14
0035 1800 13
0036 2100 12
0037 3100 11
0038 3300 10
0039 4300 9
0040 5500 8>;
0041 alarm-gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
0042 };
0043
0044 ns2-leds {
0045 compatible = "lacie,ns2-leds";
0046
0047 blue-sata {
0048 label = "ns2:blue:sata";
0049 slow-gpio = <&gpio0 29 0>;
0050 cmd-gpio = <&gpio0 30 0>;
0051 modes-map = <NS_V2_LED_OFF 1 0
0052 NS_V2_LED_ON 0 1
0053 NS_V2_LED_ON 1 1
0054 NS_V2_LED_SATA 0 0>;
0055 };
0056 };
0057 };
0058
0059 ðphy0 { reg = <8>; };