summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Holland2018-07-30 14:31:30 +0200
committerChen-Yu Tsai2018-08-27 09:42:55 +0200
commiteacd9c431ac6fcb975103899c67575251074179c (patch)
treeb1b655748cc54647885f4115fa7dc186715e60b9
parentarm64: dts: allwinner: a64: Orange Pi Win: Add SPI flash node (diff)
downloadkernel-qcow2-linux-eacd9c431ac6fcb975103899c67575251074179c.tar.gz
kernel-qcow2-linux-eacd9c431ac6fcb975103899c67575251074179c.tar.xz
kernel-qcow2-linux-eacd9c431ac6fcb975103899c67575251074179c.zip
arm64: dts: allwinner: a64: Orange Pi Win: Adjust CSI power rails
The Orange Pi Win board uses the AXP's ALDO1 power rail to drive the VCC-CSI line, which, according to the schematic, needs to be set to 2.8V. Also the ELDO3 power rail is connected to the CSI, with somewhat unclear voltage requirements. Add this regulator and allow the voltage to be set between 1.5V and 1.8V, which are the voltages mentioned in the schematic. Signed-off-by: Samuel Holland <samuel@sholland.org> Signed-off-by: Andre Przywara <andre.przywara@arm.com> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by: Chen-Yu Tsai <wens@csie.org>
-rw-r--r--arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts11
1 files changed, 8 insertions, 3 deletions
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts
index 58e6b8cbd7d1..c879aa8d8d1b 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts
@@ -168,9 +168,8 @@
#include "axp803.dtsi"
&reg_aldo1 {
- regulator-always-on;
- regulator-min-microvolt = <1800000>;
- regulator-max-microvolt = <3300000>;
+ regulator-min-microvolt = <2800000>;
+ regulator-max-microvolt = <2800000>;
regulator-name = "afvcc-csi";
};
@@ -253,6 +252,12 @@
regulator-name = "cpvdd";
};
+&reg_eldo3 {
+ regulator-min-microvolt = <1500000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-name = "dvdd-csi";
+};
+
&reg_fldo1 {
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;