aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/dts
diff options
context:
space:
mode:
authorJagan Teki2019-04-15 11:42:32 +0530
committerJagan Teki2019-04-17 14:34:45 +0530
commit6c90036f7b0f6b86ebeea80db4132d7c5b00eee3 (patch)
tree289d3773b373f81dace28079a9fe95b2fb3bcdb3 /arch/arm/dts
parent36b53ab24e8fa36d746bd2abc88a65ab303ddf40 (diff)
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 <jagan@amarulasolutions.com>
Diffstat (limited to 'arch/arm/dts')
-rw-r--r--arch/arm/dts/sun8i-v40-bananapi-m2-berry.dts18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/dts/sun8i-v40-bananapi-m2-berry.dts b/arch/arm/dts/sun8i-v40-bananapi-m2-berry.dts
index bf97f6244c2..54ad4db468a 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 = <&reg_eldo3>; /* VDD12-SATA */
+ ahci-supply = <&reg_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";
};
+&reg_dldo4 {
+ regulator-min-microvolt = <2500000>;
+ regulator-max-microvolt = <2500000>;
+ regulator-name = "vdd2v5-sata";
+};
+
+&reg_eldo3 {
+ regulator-min-microvolt = <1200000>;
+ regulator-max-microvolt = <1200000>;
+ regulator-name = "vdd1v2-sata";
+};
+
&mmc0 {
vmmc-supply = <&reg_dcdc1>;
bus-width = <4>;