60 lines
1.6 KiB
Diff
60 lines
1.6 KiB
Diff
From 922aa8247f8cbdcb08ec78c65cee0959870d84f5 Mon Sep 17 00:00:00 2001
|
|
From: The-going <48602507+The-going@users.noreply.github.com>
|
|
Date: Mon, 24 Jan 2022 18:23:18 +0300
|
|
Subject: [PATCH 062/153] arm:dts: h3-orangepi-2 Add regulator vdd cpu
|
|
|
|
---
|
|
arch/arm/boot/dts/allwinner/sun8i-h3-orangepi-2.dts | 29 +++++++++++++++++++++++
|
|
1 file changed, 29 insertions(+)
|
|
|
|
diff --git a/arch/arm/boot/dts/allwinner/sun8i-h3-orangepi-2.dts b/arch/arm/boot/dts/allwinner/sun8i-h3-orangepi-2.dts
|
|
index 2b5890327..bc20c44d1 100644
|
|
--- a/arch/arm/boot/dts/allwinner/sun8i-h3-orangepi-2.dts
|
|
+++ b/arch/arm/boot/dts/allwinner/sun8i-h3-orangepi-2.dts
|
|
@@ -124,6 +124,10 @@ &de {
|
|
status = "okay";
|
|
};
|
|
|
|
+&cpu0 {
|
|
+ cpu-supply = <®_vdd_cpux>;
|
|
+};
|
|
+
|
|
&ehci1 {
|
|
status = "okay";
|
|
};
|
|
@@ -178,6 +182,31 @@ rtl8189: sdio_wifi@1 {
|
|
};
|
|
};
|
|
|
|
+&r_i2c {
|
|
+ status = "okay";
|
|
+
|
|
+ reg_vdd_cpux: regulator@65 {
|
|
+ compatible = "silergy,sy8106a";
|
|
+ reg = <0x65>;
|
|
+ regulator-name = "vdd-cpux";
|
|
+ silergy,fixed-microvolt = <1200000>;
|
|
+ /*
|
|
+ * The datasheet uses 1.1V as the minimum value of VDD-CPUX,
|
|
+ * however both the Armbian DVFS table and the official one
|
|
+ * have operating points with voltage under 1.1V, and both
|
|
+ * DVFS table are known to work properly at the lowest
|
|
+ * operating point.
|
|
+ *
|
|
+ * Use 1.0V as the minimum voltage instead.
|
|
+ */
|
|
+ regulator-min-microvolt = <1000000>;
|
|
+ regulator-max-microvolt = <1400000>;
|
|
+ regulator-ramp-delay = <200>;
|
|
+ regulator-boot-on;
|
|
+ regulator-always-on;
|
|
+ };
|
|
+};
|
|
+
|
|
®_usb1_vbus {
|
|
gpio = <&pio 6 13 GPIO_ACTIVE_HIGH>;
|
|
status = "okay";
|
|
--
|
|
2.35.3
|
|
|