aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorChris Morgan <macromorgan@hotmail.com>2024-10-18 11:06:15 -0500
committerChen-Yu Tsai <wens@csie.org>2025-02-22 21:04:36 +0800
commit52b14fb18c864e2fd891c32a44680fb23b18da68 (patch)
tree6f1ed4bf852f306e8b7023d9780e9f015e7d81af
parentARM: dts: sunxi: add support for NetCube Systems Kumquat (diff)
downloadwireguard-linux-52b14fb18c864e2fd891c32a44680fb23b18da68.tar.xz
wireguard-linux-52b14fb18c864e2fd891c32a44680fb23b18da68.zip
arm64: dts: allwinner: h700: Set cpusldo to always-on for RG35XX
Set the cpusldo regulator for the AXP717 to "regulator-always-on". Its current functionality is still unknown as there are no schematics available, however it was observed that upon reboot if this regulator was disabled GPIO detection logic in the bootloader was inconsistent. Keep the regulator powered on for now until it can be defined correctly. Signed-off-by: Chris Morgan <macromorgan@hotmail.com> Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com> Link: https://patch.msgid.link/20241018160617.157083-3-macroalpha82@gmail.com Signed-off-by: Chen-Yu Tsai <wens@csie.org>
-rw-r--r--arch/arm64/boot/dts/allwinner/sun50i-h700-anbernic-rg35xx-2024.dts11
1 files changed, 10 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h700-anbernic-rg35xx-2024.dts b/arch/arm64/boot/dts/allwinner/sun50i-h700-anbernic-rg35xx-2024.dts
index a231abf1684a..e37e77cd54b4 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-h700-anbernic-rg35xx-2024.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h700-anbernic-rg35xx-2024.dts
@@ -328,8 +328,17 @@
regulator-name = "boost";
};
+ /*
+ * Regulator function is unknown, but reading
+ * GPIO values in bootloader is inconsistent
+ * on reboot if this is disabled. Setting to
+ * default value from regulator OTP mem.
+ */
reg_cpusldo: cpusldo {
- /* unused */
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-min-microvolt = <900000>;
+ regulator-max-microvolt = <900000>;
};
};