Commit c21c2c86 authored by Qiang Yu's avatar Qiang Yu Committed by Maxime Ripard

ARM: dts: sun8i-h3: add opp table for mali gpu

OPP table value is get from orangepi lichee linux-3.4
kernel driver.
Signed-off-by: default avatarQiang Yu <yuq825@gmail.com>
Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
parent 89866b26
......@@ -112,6 +112,26 @@ cpu3: cpu@3 {
};
};
gpu_opp_table: gpu-opp-table {
compatible = "operating-points-v2";
opp-120000000 {
opp-hz = /bits/ 64 <120000000>;
};
opp-312000000 {
opp-hz = /bits/ 64 <312000000>;
};
opp-432000000 {
opp-hz = /bits/ 64 <432000000>;
};
opp-576000000 {
opp-hz = /bits/ 64 <576000000>;
};
};
pmu {
compatible = "arm,cortex-a7-pmu";
interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
......@@ -205,9 +225,7 @@ mali: gpu@1c40000 {
clocks = <&ccu CLK_BUS_GPU>, <&ccu CLK_GPU>;
clock-names = "bus", "core";
resets = <&ccu RST_BUS_GPU>;
assigned-clocks = <&ccu CLK_GPU>;
assigned-clock-rates = <384000000>;
operating-points-v2 = <&gpu_opp_table>;
};
ths: thermal-sensor@1c25000 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment