ARM: dts: meson8b: odroidc1: add the VDDEE regulator

The VDDEE regulator is basically a copy of the VCCK regulator. VDDEE
supplies for example the Mali GPU and is controlled by PWM_D instead of
PWM_C.

Add the VDDEE PWM regulator and make it the supply of the Mali GPU.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
This commit is contained in:
Martin Blumenstingl 2019-07-27 14:12:56 +02:00 committed by Kevin Hilman
parent 087a1d8b4e
commit 8bdf38be71

View File

@ -154,6 +154,23 @@ vddc_ddr: regulator-vddc-ddr {
vin-supply = <&p5v0>; vin-supply = <&p5v0>;
}; };
vddee: regulator-vddee {
/* Monolithic Power Systems MP2161 */
compatible = "pwm-regulator";
regulator-name = "VDDEE";
regulator-min-microvolt = <860000>;
regulator-max-microvolt = <1140000>;
vin-supply = <&p5v0>;
pwms = <&pwm_cd 1 12218 0>;
pwm-dutycycle-range = <91 0>;
regulator-boot-on;
regulator-always-on;
};
vdd_rtc: regulator-vdd-rtc { vdd_rtc: regulator-vdd-rtc {
/* /*
* Torex Semiconductor XC6215 configured for a fixed output of * Torex Semiconductor XC6215 configured for a fixed output of
@ -276,6 +293,10 @@ &ir_receiver {
pinctrl-names = "default"; pinctrl-names = "default";
}; };
&mali {
mali-supply = <&vddee>;
};
&saradc { &saradc {
status = "okay"; status = "okay";
vref-supply = <&vcc_1v8>; vref-supply = <&vcc_1v8>;
@ -308,10 +329,10 @@ sd_card_slot: slot@1 {
&pwm_cd { &pwm_cd {
status = "okay"; status = "okay";
pinctrl-0 = <&pwm_c1_pins>; pinctrl-0 = <&pwm_c1_pins>, <&pwm_d_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
clocks = <&clkc CLKID_XTAL>; clocks = <&clkc CLKID_XTAL>, <&clkc CLKID_XTAL>;
clock-names = "clkin0"; clock-names = "clkin0", "clkin1";
}; };
&rtc { &rtc {