52 lines
1.3 KiB
Diff
52 lines
1.3 KiB
Diff
|
diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-2.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-2.dts
|
||
|
index f1fc6bdca..47a5635b0 100644
|
||
|
--- a/arch/arm/boot/dts/sun8i-h3-orangepi-2.dts
|
||
|
+++ b/arch/arm/boot/dts/sun8i-h3-orangepi-2.dts
|
||
|
diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-2.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-2.dts
|
||
|
index 597c425..26c9cc6 100644
|
||
|
--- a/arch/arm/boot/dts/sun8i-h3-orangepi-2.dts
|
||
|
+++ b/arch/arm/boot/dts/sun8i-h3-orangepi-2.dts
|
||
|
@@ -123,6 +123,10 @@
|
||
|
status = "okay";
|
||
|
};
|
||
|
|
||
|
+&cpu0 {
|
||
|
+ cpu-supply = <®_vdd_cpux>;
|
||
|
+};
|
||
|
+
|
||
|
&ehci1 {
|
||
|
status = "okay";
|
||
|
};
|
||
|
@@ -173,6 +177,31 @@
|
||
|
};
|
||
|
};
|
||
|
|
||
|
+&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";
|