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