1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 2f126890aSEmmanuel Vadot/dts-v1/; 3f126890aSEmmanuel Vadot 4f126890aSEmmanuel Vadot#include <dt-bindings/leds/leds-ns2.h> 5f126890aSEmmanuel Vadot#include "kirkwood-ns2-common.dtsi" 6f126890aSEmmanuel Vadot 7f126890aSEmmanuel Vadot/ { 8f126890aSEmmanuel Vadot model = "LaCie Network Space Max v2"; 9f126890aSEmmanuel Vadot compatible = "lacie,netspace_max_v2", "marvell,kirkwood-88f6281", "marvell,kirkwood"; 10f126890aSEmmanuel Vadot 11f126890aSEmmanuel Vadot memory { 12f126890aSEmmanuel Vadot device_type = "memory"; 13f126890aSEmmanuel Vadot reg = <0x00000000 0x10000000>; 14f126890aSEmmanuel Vadot }; 15f126890aSEmmanuel Vadot 16f126890aSEmmanuel Vadot ocp@f1000000 { 17f126890aSEmmanuel Vadot sata@80000 { 18f126890aSEmmanuel Vadot pinctrl-0 = <&pmx_ns2_sata0 &pmx_ns2_sata1>; 19f126890aSEmmanuel Vadot pinctrl-names = "default"; 20f126890aSEmmanuel Vadot status = "okay"; 21f126890aSEmmanuel Vadot nr-ports = <2>; 22f126890aSEmmanuel Vadot }; 23f126890aSEmmanuel Vadot }; 24f126890aSEmmanuel Vadot 25f126890aSEmmanuel Vadot gpio_fan { 26f126890aSEmmanuel Vadot compatible = "gpio-fan"; 27f126890aSEmmanuel Vadot gpios = <&gpio0 22 GPIO_ACTIVE_LOW 28f126890aSEmmanuel Vadot &gpio0 7 GPIO_ACTIVE_LOW 29f126890aSEmmanuel Vadot &gpio1 1 GPIO_ACTIVE_LOW 30f126890aSEmmanuel Vadot &gpio0 23 GPIO_ACTIVE_LOW>; 31f126890aSEmmanuel Vadot gpio-fan,speed-map = 32*8d13bc63SEmmanuel Vadot < 0 0>, 33*8d13bc63SEmmanuel Vadot <1500 15>, 34*8d13bc63SEmmanuel Vadot <1700 14>, 35*8d13bc63SEmmanuel Vadot <1800 13>, 36*8d13bc63SEmmanuel Vadot <2100 12>, 37*8d13bc63SEmmanuel Vadot <3100 11>, 38*8d13bc63SEmmanuel Vadot <3300 10>, 39*8d13bc63SEmmanuel Vadot <4300 9>, 40*8d13bc63SEmmanuel Vadot <5500 8>; 41f126890aSEmmanuel Vadot alarm-gpios = <&gpio0 25 GPIO_ACTIVE_LOW>; 42f126890aSEmmanuel Vadot }; 43f126890aSEmmanuel Vadot 44f126890aSEmmanuel Vadot ns2-leds { 45f126890aSEmmanuel Vadot compatible = "lacie,ns2-leds"; 46f126890aSEmmanuel Vadot 47f126890aSEmmanuel Vadot blue-sata { 48f126890aSEmmanuel Vadot label = "ns2:blue:sata"; 49f126890aSEmmanuel Vadot slow-gpio = <&gpio0 29 0>; 50f126890aSEmmanuel Vadot cmd-gpio = <&gpio0 30 0>; 51f126890aSEmmanuel Vadot modes-map = <NS_V2_LED_OFF 1 0 52f126890aSEmmanuel Vadot NS_V2_LED_ON 0 1 53f126890aSEmmanuel Vadot NS_V2_LED_ON 1 1 54f126890aSEmmanuel Vadot NS_V2_LED_SATA 0 0>; 55f126890aSEmmanuel Vadot }; 56f126890aSEmmanuel Vadot }; 57f126890aSEmmanuel Vadot}; 58f126890aSEmmanuel Vadot 59f126890aSEmmanuel Vadotðphy0 { reg = <8>; }; 60