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	regulator-2 {
36		compatible = "regulator-fixed";
37		regulator-name = "SATA1 power";
38		regulator-min-microvolt = <5000000>;
39		regulator-max-microvolt = <5000000>;
40		enable-active-high;
41		regulator-always-on;
42		regulator-boot-on;
43		gpio = <&gpio1 22 GPIO_ACTIVE_HIGH>;
44	};
45};
46