Add dvfs-functionality to OrangePi boards
renamed board-47-05-enable-dvfs-opi-lite from safe-need-more-inspection/47-05-enable-dvfs-opi-lite
This commit is contained in:
parent
6881589e5c
commit
cdcb2bf748
@ -1,32 +0,0 @@
|
||||
diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-lite.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-lite.dts
|
||||
index 9b47a0de..2db259ed 100644
|
||||
--- a/arch/arm/boot/dts/sun8i-h3-orangepi-lite.dts
|
||||
+++ b/arch/arm/boot/dts/sun8i-h3-orangepi-lite.dts
|
||||
@@ -89,6 +89,27 @@
|
||||
gpios = <&r_pio 0 3 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
};
|
||||
+
|
||||
+ reg_sy8113b: gpio-regulator {
|
||||
+ compatible = "regulator-gpio";
|
||||
+ regulator-name = "vdd-cpux";
|
||||
+ regulator-type = "voltage";
|
||||
+ regulator-boot-on;
|
||||
+ regulator-always-on;
|
||||
+ regulator-min-microvolt = <1100000>;
|
||||
+ regulator-max-microvolt = <1300000>;
|
||||
+ regulator-ramp-delay = <50>; /* 4ms */
|
||||
+
|
||||
+ gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */
|
||||
+ enable-active-high;
|
||||
+ gpios-states = <0x1>;
|
||||
+ states = <1100000 0x0
|
||||
+ 1300000 0x1>;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&cpu0 {
|
||||
+ cpu-supply = <®_sy8113b>;
|
||||
};
|
||||
|
||||
&ehci1 {
|
||||
Loading…
Reference in New Issue
Block a user