ARM: sun8i: a33: Add the Mali OPPs

The Mali GPU in the A33 has various operating frequencies used in the
Allwinner BSP.

Add them to our DT.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
This commit is contained in:
Maxime Ripard 2017-02-09 16:01:18 +01:00
parent 6b76eb80d0
commit 66c373228d
1 changed files with 20 additions and 0 deletions

View File

@ -100,6 +100,22 @@ de: display-engine {
status = "disabled";
};
mali_opp_table: gpu-opp-table {
compatible = "operating-points-v2";
opp@144000000 {
opp-hz = /bits/ 64 <144000000>;
};
opp@240000000 {
opp-hz = /bits/ 64 <240000000>;
};
opp@384000000 {
opp-hz = /bits/ 64 <384000000>;
};
};
memory {
reg = <0x40000000 0x80000000>;
};
@ -312,6 +328,10 @@ &ccu {
compatible = "allwinner,sun8i-a33-ccu";
};
&mali {
operating-points-v2 = <&mali_opp_table>;
};
&pio {
compatible = "allwinner,sun8i-a33-pinctrl";
interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>,