1// SPDX-License-Identifier: (GPL-2.0 OR MIT) 2/* 3 * Copyright (C) 2021 MediaTek Inc. 4 * Author: Frank Wunderlich <[email protected]> 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 = <®_sata12v>; 32 }; 33 34}; 35