summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts
diff options
context:
space:
mode:
authorCorentin Labbe <clabbe.montjoie@gmail.com>2018-09-03 13:02:01 +0300
committerMaxime Ripard <maxime.ripard@bootlin.com>2018-09-05 10:25:00 +0300
commit666907a3f9bdd48a3b30f80a2ee2811c625efe22 (patch)
treef942bc31dac8857598470f3ee541f81532826af1 /arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts
parent41c64d3318aa3fbd3be5f6c35b50a87f050fca0b (diff)
downloadlinux-666907a3f9bdd48a3b30f80a2ee2811c625efe22.tar.xz
ARM: dts: sun8i: sun8i-r40-bananapi-m2-ultra: enable AHCI
This patch enable the AHCI controller. Since this controller need two regulator, this patch add them. Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Diffstat (limited to 'arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts')
-rw-r--r--arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts b/arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts
index a891a387e8f1..438b7b44dab3 100644
--- a/arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts
+++ b/arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts
@@ -105,6 +105,12 @@
};
};
+&ahci {
+ ahci-supply = <&reg_dldo4>;
+ phy-supply = <&reg_eldo3>;
+ status = "okay";
+};
+
&de {
status = "okay";
};
@@ -250,6 +256,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";
};