]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - arch/arm/dts/sun8i-v40-bananapi-m2-berry.dts
ARM: dts: sun8i-r40-bananapi-m2-berry: Enable AHCI
[thirdparty/u-boot.git] / arch / arm / dts / sun8i-v40-bananapi-m2-berry.dts
index bf97f6244c233f802393133d50456735d18766e7..54ad4db468af7fcfe95a4f2ad02d44cb8927c067 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>;