1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2*724ba675SRob Herring/dts-v1/; 3*724ba675SRob Herring 4*724ba675SRob Herring#include <dt-bindings/leds/leds-ns2.h> 5*724ba675SRob Herring#include "kirkwood-ns2-common.dtsi" 6*724ba675SRob Herring 7*724ba675SRob Herring/ { 8*724ba675SRob Herring /* This machine is embedded in the first LaCie CloudBox product. */ 9*724ba675SRob Herring model = "LaCie Network Space Mini v2"; 10*724ba675SRob Herring compatible = "lacie,netspace_mini_v2", "marvell,kirkwood-88f6192", "marvell,kirkwood"; 11*724ba675SRob Herring 12*724ba675SRob Herring memory { 13*724ba675SRob Herring device_type = "memory"; 14*724ba675SRob Herring reg = <0x00000000 0x8000000>; 15*724ba675SRob Herring }; 16*724ba675SRob Herring 17*724ba675SRob Herring ocp@f1000000 { 18*724ba675SRob Herring sata@80000 { 19*724ba675SRob Herring pinctrl-0 = <&pmx_ns2_sata0>; 20*724ba675SRob Herring pinctrl-names = "default"; 21*724ba675SRob Herring status = "okay"; 22*724ba675SRob Herring nr-ports = <1>; 23*724ba675SRob Herring }; 24*724ba675SRob Herring }; 25*724ba675SRob Herring 26*724ba675SRob Herring gpio_fan { 27*724ba675SRob Herring compatible = "gpio-fan"; 28*724ba675SRob Herring gpios = <&gpio0 22 GPIO_ACTIVE_LOW 29*724ba675SRob Herring &gpio0 7 GPIO_ACTIVE_LOW 30*724ba675SRob Herring &gpio1 1 GPIO_ACTIVE_LOW 31*724ba675SRob Herring &gpio0 23 GPIO_ACTIVE_LOW>; 32*724ba675SRob Herring gpio-fan,speed-map = 33*724ba675SRob Herring < 0 0 34*724ba675SRob Herring 3000 15 35*724ba675SRob Herring 3180 14 36*724ba675SRob Herring 4140 13 37*724ba675SRob Herring 4570 12 38*724ba675SRob Herring 6760 11 39*724ba675SRob Herring 7140 10 40*724ba675SRob Herring 7980 9 41*724ba675SRob Herring 9200 8>; 42*724ba675SRob Herring alarm-gpios = <&gpio0 25 GPIO_ACTIVE_LOW>; 43*724ba675SRob Herring }; 44*724ba675SRob Herring 45*724ba675SRob Herring ns2-leds { 46*724ba675SRob Herring compatible = "lacie,ns2-leds"; 47*724ba675SRob Herring 48*724ba675SRob Herring blue-sata { 49*724ba675SRob Herring label = "ns2:blue:sata"; 50*724ba675SRob Herring slow-gpio = <&gpio0 29 0>; 51*724ba675SRob Herring cmd-gpio = <&gpio0 30 0>; 52*724ba675SRob Herring modes-map = <NS_V2_LED_OFF 1 0 53*724ba675SRob Herring NS_V2_LED_ON 0 1 54*724ba675SRob Herring NS_V2_LED_ON 1 1 55*724ba675SRob Herring NS_V2_LED_SATA 0 0>; 56*724ba675SRob Herring }; 57*724ba675SRob Herring }; 58*724ba675SRob Herring}; 59*724ba675SRob Herring 60*724ba675SRob Herringðphy0 { reg = <0>; }; 61