From 6c90036f7b0f6b86ebeea80db4132d7c5b00eee3 Mon Sep 17 00:00:00 2001 From: Jagan Teki Date: Mon, 15 Apr 2019 11:42:32 +0530 Subject: [PATCH] ARM: dts: sun8i-r40-bananapi-m2-berry: Enable AHCI Enable ahci node for BPI-M2-Berry, this would require since we have DM_SCSI enabled on the respective SoC. Unable to sync the same node from Linux, since the similar change is still in Linux ML. Signed-off-by: Jagan Teki --- arch/arm/dts/sun8i-v40-bananapi-m2-berry.dts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/dts/sun8i-v40-bananapi-m2-berry.dts b/arch/arm/dts/sun8i-v40-bananapi-m2-berry.dts index bf97f6244c..54ad4db468 100644 --- a/arch/arm/dts/sun8i-v40-bananapi-m2-berry.dts +++ b/arch/arm/dts/sun8i-v40-bananapi-m2-berry.dts @@ -87,6 +87,12 @@ }; }; +&ahci { + phy-supply = <®_eldo3>; /* VDD12-SATA */ + ahci-supply = <®_dldo4>; /* VDD25-SATA */ + status = "okay"; +}; + &ehci1 { /* Terminus Tech FE 1.1s 4-port USB 2.0 hub here */ status = "okay"; @@ -152,6 +158,18 @@ regulator-name = "vcc-wifi"; }; +®_dldo4 { + regulator-min-microvolt = <2500000>; + regulator-max-microvolt = <2500000>; + regulator-name = "vdd2v5-sata"; +}; + +®_eldo3 { + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-name = "vdd1v2-sata"; +}; + &mmc0 { vmmc-supply = <®_dcdc1>; bus-width = <4>; -- 2.25.1