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