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

index ef98e28e1213754d39aa3dbedf478bacccbf779e..ace9c229b4d0a7ab65ca21a684fa3ed2f7bae36c 100644 (file)
        status = "okay";
 };
 
+&cpu0 {
+       cpu-supply = <&reg_sy8106a>;
+};
+
 &ehci1 {
        status = "okay";
 };
        };
 };
 
+&r_i2c {
+       status = "okay";
+
+       reg_sy8106a: regulator@65 {
+               compatible = "silergy,sy8106a";
+               reg = <0x65>;
+               regulator-name = "vdd-cpux";
+               regulator-min-microvolt = <1000000>;
+               regulator-max-microvolt = <1400000>;
+               regulator-boot-on;
+               regulator-always-on;
+       };
+};
+
 &r_pio {
        leds_r_opc: led_pins@0 {
                pins = "PL10";