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