Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
46 lines
899 B
Devicetree
46 lines
899 B
Devicetree
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* Device Tree file for d2 Network v2
|
|
*
|
|
* Copyright (C) 2014 Simon Guinot <simon.guinot@sequanux.org>
|
|
*
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include <dt-bindings/leds/leds-ns2.h>
|
|
#include "kirkwood-netxbig.dtsi"
|
|
|
|
/ {
|
|
model = "LaCie d2 Network v2";
|
|
compatible = "lacie,d2net_v2", "lacie,netxbig", "marvell,kirkwood-88f6281", "marvell,kirkwood";
|
|
|
|
memory {
|
|
device_type = "memory";
|
|
reg = <0x00000000 0x10000000>;
|
|
};
|
|
|
|
ns2-leds {
|
|
compatible = "lacie,ns2-leds";
|
|
|
|
blue-sata {
|
|
label = "d2net_v2:blue:sata";
|
|
slow-gpio = <&gpio0 29 GPIO_ACTIVE_HIGH>;
|
|
cmd-gpio = <&gpio0 30 GPIO_ACTIVE_HIGH>;
|
|
modes-map = <NS_V2_LED_OFF 1 0
|
|
NS_V2_LED_ON 0 1
|
|
NS_V2_LED_ON 1 1
|
|
NS_V2_LED_SATA 0 0>;
|
|
};
|
|
};
|
|
|
|
gpio-leds {
|
|
compatible = "gpio-leds";
|
|
|
|
led-red-fail {
|
|
label = "d2net_v2:red:fail";
|
|
gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
};
|
|
};
|