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