1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Device Tree file for d2 Network v2 4 * 5 * Copyright (C) 2014 Simon Guinot <simon.guinot@sequanux.org> 6 * 7*/ 8 9/dts-v1/; 10 11#include <dt-bindings/leds/leds-ns2.h> 12#include "kirkwood-netxbig.dtsi" 13 14/ { 15 model = "LaCie d2 Network v2"; 16 compatible = "lacie,d2net_v2", "lacie,netxbig", "marvell,kirkwood-88f6281", "marvell,kirkwood"; 17 18 memory { 19 device_type = "memory"; 20 reg = <0x00000000 0x10000000>; 21 }; 22 23 ns2-leds { 24 compatible = "lacie,ns2-leds"; 25 26 blue-sata { 27 label = "d2net_v2:blue:sata"; 28 slow-gpio = <&gpio0 29 GPIO_ACTIVE_HIGH>; 29 cmd-gpio = <&gpio0 30 GPIO_ACTIVE_HIGH>; 30 modes-map = <NS_V2_LED_OFF 1 0 31 NS_V2_LED_ON 0 1 32 NS_V2_LED_ON 1 1 33 NS_V2_LED_SATA 0 0>; 34 }; 35 }; 36 37 gpio-leds { 38 compatible = "gpio-leds"; 39 40 led-red-fail { 41 label = "d2net_v2:red:fail"; 42 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; 43 }; 44 }; 45}; 46