arm64: dts: allwinner: h6: Enable CPU opp tables for Tanix TX6
Enable CPU opp tables for Tanix TX6. Also add the fixed regulator that provided vdd-cpu-gpu required for CPU opp tables. This voltage has been found using a voltmeter and could be wrong. Tested-by: Jernej Škrabec <jernej.skrabec@gmail.com> Signed-off-by: Clément Péron <peron.clem@gmail.com> Signed-off-by: Maxime Ripard <maxime@cerno.tech>
This commit is contained in:
committed by
Maxime Ripard
parent
c83e24e7bf
commit
5961bdf2df
@@ -4,6 +4,7 @@
|
|||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
|
|
||||||
#include "sun50i-h6.dtsi"
|
#include "sun50i-h6.dtsi"
|
||||||
|
#include "sun50i-h6-cpu-opp.dtsi"
|
||||||
|
|
||||||
#include <dt-bindings/gpio/gpio.h>
|
#include <dt-bindings/gpio/gpio.h>
|
||||||
|
|
||||||
@@ -37,6 +38,17 @@
|
|||||||
regulator-min-microvolt = <3300000>;
|
regulator-min-microvolt = <3300000>;
|
||||||
regulator-max-microvolt = <3300000>;
|
regulator-max-microvolt = <3300000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
reg_vdd_cpu_gpu: vdd-cpu-gpu {
|
||||||
|
compatible = "regulator-fixed";
|
||||||
|
regulator-name = "vdd-cpu-gpu";
|
||||||
|
regulator-min-microvolt = <1135000>;
|
||||||
|
regulator-max-microvolt = <1135000>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&cpu0 {
|
||||||
|
cpu-supply = <®_vdd_cpu_gpu>;
|
||||||
};
|
};
|
||||||
|
|
||||||
&de {
|
&de {
|
||||||
@@ -56,6 +68,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&gpu {
|
&gpu {
|
||||||
|
mali-supply = <®_vdd_cpu_gpu>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user