Skip to content

Commit c97fcdf

Browse files
Zhen Chenrkhuangtao
authored andcommitted
ARM: dts: rockchip: rk3066a: correct and add settings of gpu node
Change-Id: I969ced5b48b470868558f19088b8413e1fb99226 Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
1 parent 49b7c5f commit c97fcdf

1 file changed

Lines changed: 53 additions & 5 deletions

File tree

arch/arm/boot/dts/rk3066a.dtsi

Lines changed: 53 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,26 +98,74 @@
9898
<0x10090000 0x100>,
9999
<0x10093000 0x100>,
100100
<0x10098000 0x1100>,
101-
<0x10094000 0x100>;
102-
101+
<0x10094000 0x100>,
102+
<0x1009A000 0x1100>,
103+
<0x10095000 0x100>,
104+
<0x1009C000 0x1100>,
105+
<0x10096000 0x100>,
106+
<0x1009E000 0x1100>,
107+
<0x10097000 0x100>;
103108
reg-names = "Mali_L2",
104109
"Mali_GP",
105110
"Mali_GP_MMU",
106111
"Mali_PP0",
107-
"Mali_PP0_MMU";
112+
"Mali_PP0_MMU",
113+
"Mali_PP1",
114+
"Mali_PP1_MMU",
115+
"Mali_PP2",
116+
"Mali_PP2_MMU",
117+
"Mali_PP3",
118+
"Mali_PP3_MMU";
108119

109120
interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>,
121+
<GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>,
122+
<GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
123+
<GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>,
124+
<GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
125+
<GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>,
126+
<GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
110127
<GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>,
111128
<GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
112129
<GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
113130
interrupt-names = "Mali_GP_IRQ",
114131
"Mali_GP_MMU_IRQ",
115132
"Mali_PP0_IRQ",
116-
"Mali_PP0_MMU_IRQ";
117-
133+
"Mali_PP0_MMU_IRQ",
134+
"Mali_PP1_IRQ",
135+
"Mali_PP1_MMU_IRQ",
136+
"Mali_PP2_IRQ",
137+
"Mali_PP2_MMU_IRQ",
138+
"Mali_PP3_IRQ",
139+
"Mali_PP3_MMU_IRQ";
118140
clocks = <&cru ACLK_GPU>;
119141
clock-names = "clk_mali";
142+
143+
operating-points-v2 = <&gpu_opp_table>;
120144
status = "disabled";
145+
146+
gpu_power_model: power_model {
147+
compatible = "arm,mali-simple-power-model";
148+
voltage = <950>;
149+
frequency = <500>;
150+
static-power = <300>;
151+
dynamic-power = <396>;
152+
ts = <32000 4700 (-80) 2>;
153+
thermal-zone = "gpu-thermal";
154+
};
155+
};
156+
157+
gpu_opp_table: opp-table2 {
158+
compatible = "operating-points-v2";
159+
opp-300000000 {
160+
opp-hz = /bits/ 64 <300000000>;
161+
opp-microvolt = <1050000>;
162+
status = "disabled";
163+
};
164+
opp-400000000 {
165+
opp-hz = /bits/ 64 <400000000>;
166+
opp-microvolt = <1275000>;
167+
status = "disabled";
168+
};
121169
};
122170

123171
vop0: vop@1010c000 {

0 commit comments

Comments
 (0)