]> git.ipfire.org Git - people/arne_f/kernel.git/commitdiff
sunxi: enable dvfs opi prime
authorImport from armbian <no@mail>
Thu, 1 Mar 2018 10:02:37 +0000 (11:02 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Fri, 14 May 2021 13:17:14 +0000 (15:17 +0200)
arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-prime.dts

index f022060e0b20ae616b0e7180de8fcd6b927cc080..0e1a1adba0c990969e289d043eb27bc93881b89f 100644 (file)
        status = "okay";
 };
 
+&cpu0 {
+       cpu-supply = <&vdd_cpu>;
+};
+
 &ehci0 {
        status = "okay";
 };
        status = "okay";
 };
 
+&r_i2c {
+       status = "okay";
+
+       vdd_cpu: regulator@65 {
+               compatible = "silergy,sy8106a";
+               reg = <0x65>;
+               regulator-min-microvolt = <1000000>;
+               regulator-max-microvolt = <1400000>;
+               regulator-ramp-delay = <200>;
+               regulator-boot-on;
+               regulator-always-on;
+       };
+};
+
 &uart0 {
        pinctrl-names = "default";
        pinctrl-0 = <&uart0_pins_a>;