Skip to content

Commit

Permalink
arm64: dts: sun50i-h5-orange-pi-pc2: Add CPUX voltage regulator
Browse files Browse the repository at this point in the history
Orange Pi PC2 features sy8106a regulator just like Orange Pi PC.

Signed-off-by: Ondrej Jirman <megous@megous.com>
Reviewed-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
  • Loading branch information
Ondrej Jirman authored and Maxime Ripard committed Feb 24, 2020
1 parent cd3e42c commit 3abe422
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@
status = "okay";
};

&cpu0 {
cpu-supply = <&reg_vdd_cpux>;
};

&de {
status = "okay";
};
Expand Down Expand Up @@ -169,6 +173,22 @@
status = "okay";
};

&r_i2c {
status = "okay";

reg_vdd_cpux: regulator@65 {
compatible = "silergy,sy8106a";
reg = <0x65>;
regulator-name = "vdd-cpux";
silergy,fixed-microvolt = <1100000>;
regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1400000>;
regulator-ramp-delay = <200>;
regulator-boot-on;
regulator-always-on;
};
};

&spi0 {
status = "okay";

Expand Down

0 comments on commit 3abe422

Please sign in to comment.