Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003  * Device Tree file for d2 Network v2
0004  *
0005  * Copyright (C) 2014 Simon Guinot <simon.guinot@sequanux.org>
0006  *
0007 */
0008 
0009 /dts-v1/;
0010 
0011 #include <dt-bindings/leds/leds-ns2.h>
0012 #include "kirkwood-netxbig.dtsi"
0013 
0014 / {
0015         model = "LaCie d2 Network v2";
0016         compatible = "lacie,d2net_v2", "lacie,netxbig", "marvell,kirkwood-88f6281", "marvell,kirkwood";
0017 
0018         memory {
0019                 device_type = "memory";
0020                 reg = <0x00000000 0x10000000>;
0021         };
0022 
0023         ns2-leds {
0024                 compatible = "lacie,ns2-leds";
0025 
0026                 blue-sata {
0027                         label = "d2net_v2:blue:sata";
0028                         slow-gpio = <&gpio0 29 GPIO_ACTIVE_HIGH>;
0029                         cmd-gpio = <&gpio0 30 GPIO_ACTIVE_HIGH>;
0030                         modes-map = <NS_V2_LED_OFF  1 0
0031                                      NS_V2_LED_ON   0 1
0032                                      NS_V2_LED_ON   1 1
0033                                      NS_V2_LED_SATA 0 0>;
0034                 };
0035         };
0036 
0037         gpio-leds {
0038                 compatible = "gpio-leds";
0039 
0040                 red-fail {
0041                         label = "d2net_v2:red:fail";
0042                         gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
0043                 };
0044         };
0045 };