ARM: dts: sun8i-r40-bananapi-m2-berry: Enable AHCI
authorJagan Teki <jagan@amarulasolutions.com>
Mon, 15 Apr 2019 06:12:32 +0000 (11:42 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Wed, 17 Apr 2019 09:04:45 +0000 (14:34 +0530)
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>
arch/arm/dts/sun8i-v40-bananapi-m2-berry.dts

index bf97f62..54ad4db 100644 (file)
        };
 };
 
+&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";
        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>;