0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003 * Device Tree file for LaCie 2Big Network v2
0004 *
0005 * Copyright (C) 2014
0006 *
0007 * Andrew Lunn <andrew@lunn.ch>
0008 *
0009 * Based on netxbig_v2-setup.c,
0010 * Copyright (C) 2010 Simon Guinot <sguinot@lacie.com>
0011 *
0012 */
0013
0014 /dts-v1/;
0015
0016 #include "kirkwood.dtsi"
0017 #include "kirkwood-6281.dtsi"
0018 #include "kirkwood-netxbig.dtsi"
0019
0020 / {
0021 model = "LaCie 2Big Network v2";
0022 compatible = "lacie,net2big_v2", "lacie,netxbig", "marvell,kirkwood-88f6281", "marvell,kirkwood";
0023
0024 memory {
0025 device_type = "memory";
0026 reg = <0x00000000 0x10000000>;
0027 };
0028
0029 fan {
0030 compatible = "gpio-fan";
0031 alarm-gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
0032 };
0033 };
0034
0035 ®ulators {
0036 regulator@2 {
0037 compatible = "regulator-fixed";
0038 reg = <2>;
0039 regulator-name = "hdd1power";
0040 regulator-min-microvolt = <5000000>;
0041 regulator-max-microvolt = <5000000>;
0042 enable-active-high;
0043 regulator-always-on;
0044 regulator-boot-on;
0045 gpio = <&gpio0 17 GPIO_ACTIVE_HIGH>;
0046 };
0047
0048 clocks {
0049 g762_clk: g762-oscillator {
0050 compatible = "fixed-clock";
0051 #clock-cells = <0>;
0052 clock-frequency = <32768>;
0053 };
0054 };
0055 };
0056
0057 &i2c0 {
0058 g762@3e {
0059 compatible = "gmt,g762";
0060 reg = <0x3e>;
0061 clocks = <&g762_clk>;
0062 };
0063 };