1/*
2 * Device Tree file for LaCie 2Big Network v2
3 *
4 * Copyright (C) 2014
5 *
6 * Andrew Lunn <andrew@lunn.ch>
7 *
8 * Based on netxbig_v2-setup.c,
9 * Copyright (C) 2010 Simon Guinot <sguinot@lacie.com>
10 *
11 * This file is licensed under the terms of the GNU General Public
12 * License version 2.  This program is licensed "as is" without any
13 * warranty of any kind, whether express or implied.
14*/
15
16/dts-v1/;
17
18#include "kirkwood.dtsi"
19#include "kirkwood-6281.dtsi"
20#include "kirkwood-netxbig.dtsi"
21
22/ {
23	model = "LaCie 2Big Network v2";
24	compatible = "lacie,net2big_v2", "lacie,netxbig", "marvell,kirkwood-88f6281", "marvell,kirkwood";
25
26	memory {
27		device_type = "memory";
28		reg = <0x00000000 0x10000000>;
29	};
30
31	fan {
32		compatible = "gpio-fan";
33		alarm-gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
34	};
35};
36
37&regulators {
38	regulator@2 {
39		compatible = "regulator-fixed";
40		reg = <2>;
41		regulator-name = "hdd1power";
42		regulator-min-microvolt = <5000000>;
43		regulator-max-microvolt = <5000000>;
44		enable-active-high;
45		regulator-always-on;
46		regulator-boot-on;
47		gpio = <&gpio0 17 GPIO_ACTIVE_HIGH>;
48	};
49
50	clocks {
51	       g762_clk: g762-oscillator {
52			 compatible = "fixed-clock";
53			 #clock-cells = <0>;
54			 clock-frequency = <32768>;
55	       };
56	};
57};
58
59&i2c0 {
60	g762@3e {
61		compatible = "gmt,g762";
62		reg = <0x3e>;
63		clocks = <&g762_clk>;
64	};
65};
66