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&regulators {
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};
64