mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-01 06:39:05 +00:00

Fixed regulators are not in some bus and bindings do not allow a "reg" property. Move them out of "regulators" node to top-level. armada-370-dlink-dns327l.dtb: regulator@1: Unevaluated properties are not allowed ('reg' was unexpected) Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
46 lines
1.0 KiB
Plaintext
46 lines
1.0 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* Device Tree file for Seagate Personal Cloud NAS 2-Bay (Armada 370 SoC).
|
|
*
|
|
* Copyright (C) 2015 Seagate
|
|
*
|
|
* Author: Simon Guinot <simon.guinot@sequanux.org>
|
|
*/
|
|
|
|
/*
|
|
* Here are some information allowing to identify the device:
|
|
*
|
|
* Product name : Seagate Personal Cloud 2-Bay
|
|
* Code name (board/PCB) : Cumulus Max
|
|
* Model name (case sticker) : SRN22C
|
|
* Material desc (product spec) : STCSxxxxxxx
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include "armada-370-seagate-personal-cloud.dtsi"
|
|
|
|
/ {
|
|
model = "Seagate Personal Cloud 2-Bay (Cumulus, SRN22C)";
|
|
compatible = "seagate,cumulus-max", "marvell,armada370", "marvell,armada-370-xp";
|
|
|
|
soc {
|
|
internal-regs {
|
|
sata@a0000 {
|
|
status = "okay";
|
|
nr-ports = <2>;
|
|
};
|
|
};
|
|
};
|
|
|
|
regulator-2 {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "SATA1 power";
|
|
regulator-min-microvolt = <5000000>;
|
|
regulator-max-microvolt = <5000000>;
|
|
enable-active-high;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
gpio = <&gpio1 22 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
};
|