1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2724ba675SRob Herring/* 3724ba675SRob Herring * Device Tree file for d2 Network v2 4724ba675SRob Herring * 5724ba675SRob Herring * Copyright (C) 2014 Simon Guinot <simon.guinot@sequanux.org> 6724ba675SRob Herring * 7724ba675SRob Herring*/ 8724ba675SRob Herring 9724ba675SRob Herring/dts-v1/; 10724ba675SRob Herring 11724ba675SRob Herring#include <dt-bindings/leds/leds-ns2.h> 12724ba675SRob Herring#include "kirkwood-netxbig.dtsi" 13724ba675SRob Herring 14724ba675SRob Herring/ { 15724ba675SRob Herring model = "LaCie d2 Network v2"; 16724ba675SRob Herring compatible = "lacie,d2net_v2", "lacie,netxbig", "marvell,kirkwood-88f6281", "marvell,kirkwood"; 17724ba675SRob Herring 18724ba675SRob Herring memory { 19724ba675SRob Herring device_type = "memory"; 20724ba675SRob Herring reg = <0x00000000 0x10000000>; 21724ba675SRob Herring }; 22724ba675SRob Herring 23724ba675SRob Herring ns2-leds { 24724ba675SRob Herring compatible = "lacie,ns2-leds"; 25724ba675SRob Herring 26724ba675SRob Herring blue-sata { 27724ba675SRob Herring label = "d2net_v2:blue:sata"; 28724ba675SRob Herring slow-gpio = <&gpio0 29 GPIO_ACTIVE_HIGH>; 29724ba675SRob Herring cmd-gpio = <&gpio0 30 GPIO_ACTIVE_HIGH>; 30724ba675SRob Herring modes-map = <NS_V2_LED_OFF 1 0 31724ba675SRob Herring NS_V2_LED_ON 0 1 32724ba675SRob Herring NS_V2_LED_ON 1 1 33724ba675SRob Herring NS_V2_LED_SATA 0 0>; 34724ba675SRob Herring }; 35724ba675SRob Herring }; 36724ba675SRob Herring 37724ba675SRob Herring gpio-leds { 38724ba675SRob Herring compatible = "gpio-leds"; 39724ba675SRob Herring 40*9d0120b7SKrzysztof Kozlowski led-red-fail { 41724ba675SRob Herring label = "d2net_v2:red:fail"; 42724ba675SRob Herring gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; 43724ba675SRob Herring }; 44724ba675SRob Herring }; 45724ba675SRob Herring}; 46