@@ -29,6 +29,7 @@ enum clk_ids {
29
29
CLK_PLLDTY ,
30
30
CLK_PLLCA55 ,
31
31
CLK_PLLVDO ,
32
+ CLK_PLLGPU ,
32
33
33
34
/* Internal Core Clocks */
34
35
CLK_PLLCM33_DIV4 ,
@@ -47,6 +48,7 @@ enum clk_ids {
47
48
CLK_PLLVDO_CRU1 ,
48
49
CLK_PLLVDO_CRU2 ,
49
50
CLK_PLLVDO_CRU3 ,
51
+ CLK_PLLGPU_GEAR ,
50
52
51
53
/* Module Clocks */
52
54
MOD_CLK_BASE ,
@@ -87,6 +89,7 @@ static const struct cpg_core_clk r9a09g057_core_clks[] __initconst = {
87
89
DEF_FIXED (".plldty" , CLK_PLLDTY , CLK_QEXTAL , 200 , 3 ),
88
90
DEF_PLL (".pllca55" , CLK_PLLCA55 , CLK_QEXTAL , PLLCA55 ),
89
91
DEF_FIXED (".pllvdo" , CLK_PLLVDO , CLK_QEXTAL , 105 , 2 ),
92
+ DEF_PLL (".pllgpu" , CLK_PLLGPU , CLK_QEXTAL , PLLGPU ),
90
93
91
94
/* Internal Core Clocks */
92
95
DEF_FIXED (".pllcm33_div4" , CLK_PLLCM33_DIV4 , CLK_PLLCM33 , 1 , 4 ),
@@ -110,6 +113,8 @@ static const struct cpg_core_clk r9a09g057_core_clks[] __initconst = {
110
113
DEF_DDIV (".pllvdo_cru2" , CLK_PLLVDO_CRU2 , CLK_PLLVDO , CDDIV4_DIVCTL1 , dtable_2_4 ),
111
114
DEF_DDIV (".pllvdo_cru3" , CLK_PLLVDO_CRU3 , CLK_PLLVDO , CDDIV4_DIVCTL2 , dtable_2_4 ),
112
115
116
+ DEF_DDIV (".pllgpu_gear" , CLK_PLLGPU_GEAR , CLK_PLLGPU , CDDIV3_DIVCTL1 , dtable_2_64 ),
117
+
113
118
/* Core Clocks */
114
119
DEF_FIXED ("sys_0_pclk" , R9A09G057_SYS_0_PCLK , CLK_QEXTAL , 1 , 1 ),
115
120
DEF_DDIV ("ca55_0_coreclk0" , R9A09G057_CA55_0_CORE_CLK0 , CLK_PLLCA55 ,
@@ -238,6 +243,12 @@ static const struct rzv2h_mod_clk r9a09g057_mod_clks[] __initconst = {
238
243
BUS_MSTOP (9 , BIT (7 ))),
239
244
DEF_MOD ("cru_3_pclk" , CLK_PLLDTY_DIV16 , 13 , 13 , 6 , 29 ,
240
245
BUS_MSTOP (9 , BIT (7 ))),
246
+ DEF_MOD ("gpu_0_clk" , CLK_PLLGPU_GEAR , 15 , 0 , 7 , 16 ,
247
+ BUS_MSTOP (3 , BIT (4 ))),
248
+ DEF_MOD ("gpu_0_axi_clk" , CLK_PLLDTY_ACPU_DIV2 , 15 , 1 , 7 , 17 ,
249
+ BUS_MSTOP (3 , BIT (4 ))),
250
+ DEF_MOD ("gpu_0_ace_clk" , CLK_PLLDTY_ACPU_DIV2 , 15 , 2 , 7 , 18 ,
251
+ BUS_MSTOP (3 , BIT (4 ))),
241
252
};
242
253
243
254
static const struct rzv2h_reset r9a09g057_resets [] __initconst = {
@@ -287,6 +298,9 @@ static const struct rzv2h_reset r9a09g057_resets[] __initconst = {
287
298
DEF_RST (12 , 14 , 5 , 31 ), /* CRU_3_PRESETN */
288
299
DEF_RST (12 , 15 , 6 , 0 ), /* CRU_3_ARESETN */
289
300
DEF_RST (13 , 0 , 6 , 1 ), /* CRU_3_S_RESETN */
301
+ DEF_RST (13 , 13 , 6 , 14 ), /* GPU_0_RESETN */
302
+ DEF_RST (13 , 14 , 6 , 15 ), /* GPU_0_AXI_RESETN */
303
+ DEF_RST (13 , 15 , 6 , 16 ), /* GPU_0_ACE_RESETN */
290
304
};
291
305
292
306
const struct rzv2h_cpg_info r9a09g057_cpg_info __initconst = {
0 commit comments