Merge tag 'topic/core-stuff-2014-08-15' of git://anongit.freedesktop.org/drm-intel...
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / kirkwood-net2big.dts
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
32 &regulators {
33         regulator@2 {
34                 compatible = "regulator-fixed";
35                 reg = <2>;
36                 regulator-name = "hdd1power";
37                 regulator-min-microvolt = <5000000>;
38                 regulator-max-microvolt = <5000000>;
39                 enable-active-high;
40                 regulator-always-on;
41                 regulator-boot-on;
42                 gpio = <&gpio0 17 GPIO_ACTIVE_HIGH>;
43         };
44
45         clocks {
46                g762_clk: g762-oscillator {
47                          compatible = "fixed-clock";
48                          #clock-cells = <0>;
49                          clock-frequency = <32768>;
50                };
51         };
52 };
53
54 &i2c0 {
55         g762@3e {
56                 compatible = "gmt,g762";
57                 reg = <0x3e>;
58                 clocks = <&g762_clk>;
59         };
60 };