2018-03-15 22:57:25 +07:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
2014-05-27 02:29:49 +07:00
|
|
|
/*
|
|
|
|
* Device Tree file for LaCie 2Big Network v2
|
|
|
|
*
|
|
|
|
* Copyright (C) 2014
|
|
|
|
*
|
|
|
|
* Andrew Lunn <andrew@lunn.ch>
|
|
|
|
*
|
|
|
|
* Based on netxbig_v2-setup.c,
|
|
|
|
* Copyright (C) 2010 Simon Guinot <sguinot@lacie.com>
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
|
|
|
|
#include "kirkwood.dtsi"
|
|
|
|
#include "kirkwood-6281.dtsi"
|
|
|
|
#include "kirkwood-netxbig.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "LaCie 2Big Network v2";
|
|
|
|
compatible = "lacie,net2big_v2", "lacie,netxbig", "marvell,kirkwood-88f6281", "marvell,kirkwood";
|
|
|
|
|
|
|
|
memory {
|
|
|
|
device_type = "memory";
|
|
|
|
reg = <0x00000000 0x10000000>;
|
|
|
|
};
|
2015-02-26 01:00:19 +07:00
|
|
|
|
|
|
|
fan {
|
|
|
|
compatible = "gpio-fan";
|
|
|
|
alarm-gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
2014-05-27 02:29:49 +07:00
|
|
|
};
|
2014-07-08 21:42:24 +07:00
|
|
|
|
|
|
|
®ulators {
|
|
|
|
regulator@2 {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
reg = <2>;
|
|
|
|
regulator-name = "hdd1power";
|
|
|
|
regulator-min-microvolt = <5000000>;
|
|
|
|
regulator-max-microvolt = <5000000>;
|
|
|
|
enable-active-high;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
gpio = <&gpio0 17 GPIO_ACTIVE_HIGH>;
|
|
|
|
};
|
|
|
|
|
|
|
|
clocks {
|
|
|
|
g762_clk: g762-oscillator {
|
|
|
|
compatible = "fixed-clock";
|
|
|
|
#clock-cells = <0>;
|
|
|
|
clock-frequency = <32768>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&i2c0 {
|
|
|
|
g762@3e {
|
|
|
|
compatible = "gmt,g762";
|
|
|
|
reg = <0x3e>;
|
|
|
|
clocks = <&g762_clk>;
|
|
|
|
};
|
|
|
|
};
|