lkml.org 
[lkml]   [2019]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v5 5/7] ARM: dts: sun8i: v40: bananapi-m2-berry: Enable AHCI
    Date
    Just like the Bananapi M2 Ultra, enable the ahci controller and
    the two regulators needed to activate it.

    Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
    Signed-off-by: Pablo Greco <pgreco@centosproject.org>
    ---
    arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts | 18 ++++++++++++++++++
    1 file changed, 18 insertions(+)

    diff --git a/arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts b/arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts
    index e5ea901..f7ad1cf 100644
    --- a/arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts
    +++ b/arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts
    @@ -99,6 +99,12 @@
    };
    };

    +&ahci {
    + ahci-supply = <&reg_dldo4>;
    + phy-supply = <&reg_eldo3>;
    + status = "okay";
    +};
    +
    &de {
    status = "okay";
    };
    @@ -234,6 +240,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";
    +};
    +
    &tcon_tv0 {
    status = "okay";
    };
    --
    1.8.3.1
    \
     
     \ /
      Last update: 2019-04-23 19:27    [W:3.056 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site