File Index
Files and directories
Sign in
FILE

mt7986a-bananapi-bpi-r3-sata.dtso

File preview with syntax highlighting.

linux-6.19.14/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-sata.dtso PLAIN TEXT
 1// SPDX-License-Identifier: (GPL-2.0 OR MIT)
 2/*
 3 * Copyright (C) 2021 MediaTek Inc.
 4 * Author: Frank Wunderlich <frank-w@public-files.de>
 5 */
 6
 7/dts-v1/;
 8/plugin/;
 9
10#include <dt-bindings/gpio/gpio.h>
11
12&{/} {
13	compatible = "bananapi,bpi-r3", "mediatek,mt7986a";
14
15	reg_sata12v: regulator-sata12v {
16		compatible = "regulator-fixed";
17		regulator-name = "sata12v";
18		regulator-min-microvolt = <12000000>;
19		regulator-max-microvolt = <12000000>;
20		gpio = <&pio 8 GPIO_ACTIVE_HIGH>;
21		enable-active-high;
22		regulator-always-on;
23	};
24
25	reg_sata5v: regulator-sata5v {
26		compatible = "regulator-fixed";
27		regulator-name = "sata5v";
28		regulator-min-microvolt = <5000000>;
29		regulator-max-microvolt = <5000000>;
30		regulator-always-on;
31		vin-supply = <&reg_sata12v>;
32	};
33
34};
~/ Read-only file preview.