1/*
2 * Device Tree file for Seagate Personal Cloud NAS 2-Bay (Armada 370 SoC).
3 *
4 * Copyright (C) 2015 Seagate
5 *
6 * Author: Simon Guinot <simon.guinot@sequanux.org>
7 *
8 * This file is licensed under the terms of the GNU General Public
9 * License version 2.  This program is licensed "as is" without any
10 * warranty of any kind, whether express or implied.
11 */
12
13/*
14 * Here are some information allowing to identify the device:
15 *
16 * Product name                 : Seagate Personal Cloud 2-Bay
17 * Code name (board/PCB)        : Cumulus Max
18 * Model name (case sticker)    : SRN22C
19 * Material desc (product spec) : STCSxxxxxxx
20 */
21
22/dts-v1/;
23#include "armada-370-seagate-personal-cloud.dtsi"
24
25/ {
26	model = "Seagate Personal Cloud 2-Bay (Cumulus, SRN22C)";
27	compatible = "seagate,cumulus-max", "marvell,armada370", "marvell,armada-370-xp";
28
29	soc {
30		internal-regs {
31			sata@a0000 {
32				status = "okay";
33				nr-ports = <2>;
34			};
35		};
36	};
37
38	regulators {
39		regulator@2 {
40			compatible = "regulator-fixed";
41			reg = <2>;
42			regulator-name = "SATA1 power";
43			regulator-min-microvolt = <5000000>;
44			regulator-max-microvolt = <5000000>;
45			enable-active-high;
46			regulator-always-on;
47			regulator-boot-on;
48			gpio = <&gpio1 22 GPIO_ACTIVE_HIGH>;
49		};
50	};
51};
52