Home
last modified time | relevance | path

Searched refs:cpg (Results 1 – 6 of 6) sorted by relevance

/rk3399_rockchip-uboot/board/kmc/kzm9g/
H A Dkzm9g.c136 struct sh73a0_sbsc_cpg *cpg = (struct sh73a0_sbsc_cpg *)CPG_BASE; in s_init() local
152 clrbits_le32(&cpg->smstpcr3, (1 << 15)); in s_init()
154 clrbits_le32(&cpg->smstpcr2, (1 << 18)); in s_init()
156 writel(0x0, &cpg->pllecr); in s_init()
158 cmp_loop(&cpg->pllecr, 0x00000F00, 0x0); in s_init()
159 cmp_loop(&cpg->frqcrb, 0x80000000, 0x0); in s_init()
161 writel(0x2D000000, &cpg->pll0cr); in s_init()
162 writel(0x17100000, &cpg->pll1cr); in s_init()
163 writel(0x96235880, &cpg->frqcrb); in s_init()
164 cmp_loop(&cpg->frqcrb, 0x80000000, 0x0); in s_init()
[all …]
/rk3399_rockchip-uboot/arch/arm/dts/
H A Dr8a7795.dtsi11 #include <dt-bindings/clock/r8a7795-cpg-mssr.h>
207 clocks = <&cpg CPG_MOD 408>;
210 resets = <&cpg 408>;
216 clocks = <&cpg CPG_MOD 402>;
218 resets = <&cpg 402>;
232 clocks = <&cpg CPG_MOD 912>;
234 resets = <&cpg 912>;
247 clocks = <&cpg CPG_MOD 911>;
249 resets = <&cpg 911>;
262 clocks = <&cpg CPG_MOD 910>;
[all …]
H A Dr8a7796.dtsi11 #include <dt-bindings/clock/r8a7796-cpg-mssr.h>
158 clocks = <&cpg CPG_MOD 408>;
161 resets = <&cpg 408>;
180 clocks = <&cpg CPG_MOD 402>;
182 resets = <&cpg 402>;
196 clocks = <&cpg CPG_MOD 912>;
198 resets = <&cpg 912>;
211 clocks = <&cpg CPG_MOD 911>;
213 resets = <&cpg 911>;
226 clocks = <&cpg CPG_MOD 910>;
[all …]
H A Dr8a7795-h3ulcb.dts283 clocks = <&cpg CPG_MOD 1005>,
284 <&cpg CPG_MOD 1006>, <&cpg CPG_MOD 1007>,
285 <&cpg CPG_MOD 1008>, <&cpg CPG_MOD 1009>,
286 <&cpg CPG_MOD 1010>, <&cpg CPG_MOD 1011>,
287 <&cpg CPG_MOD 1012>, <&cpg CPG_MOD 1013>,
288 <&cpg CPG_MOD 1014>, <&cpg CPG_MOD 1015>,
289 <&cpg CPG_MOD 1022>, <&cpg CPG_MOD 1023>,
290 <&cpg CPG_MOD 1024>, <&cpg CPG_MOD 1025>,
291 <&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>,
292 <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>,
[all …]
H A Dr8a7795-salvator-x.dts417 clocks = <&cpg CPG_MOD 1005>,
418 <&cpg CPG_MOD 1006>, <&cpg CPG_MOD 1007>,
419 <&cpg CPG_MOD 1008>, <&cpg CPG_MOD 1009>,
420 <&cpg CPG_MOD 1010>, <&cpg CPG_MOD 1011>,
421 <&cpg CPG_MOD 1012>, <&cpg CPG_MOD 1013>,
422 <&cpg CPG_MOD 1014>, <&cpg CPG_MOD 1015>,
423 <&cpg CPG_MOD 1022>, <&cpg CPG_MOD 1023>,
424 <&cpg CPG_MOD 1024>, <&cpg CPG_MOD 1025>,
425 <&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>,
426 <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>,
[all …]
/rk3399_rockchip-uboot/board/atmark-techno/armadillo-800eva/
H A Darmadillo-800eva.c45 struct r8a7740_cpg *cpg = (struct r8a7740_cpg *)CPG_BASE; in s_init() local
55 writel(0xFF800080, &cpg->rmstpcr4); in s_init()
56 writel(0xFF800080, &cpg->smstpcr4); in s_init()
59 writel(0x00000080, &cpg->usbckcr); in s_init()
66 writel(0x00000000, &cpg->frqcrb); in s_init()
67 writel(0x62030533, &cpg->frqcra); in s_init()
68 writel(0x208A354E, &cpg->frqcrc); in s_init()
69 writel(0x80331050, &cpg->frqcrb); in s_init()
72 writel(0x00000000, &cpg->frqcrd); in s_init()
76 writel(0x0000010B, &cpg->subckcr); in s_init()
[all …]