Lines Matching +full:timer +full:- +full:secure
1 // SPDX-License-Identifier: GPL-2.0
3 * R-Car Generation 2 support
22 { .compatible = "renesas,r8a7742-cpg-mssr", .data = "extal" },
23 { .compatible = "renesas,r8a7743-cpg-mssr", .data = "extal" },
24 { .compatible = "renesas,r8a7744-cpg-mssr", .data = "extal" },
25 { .compatible = "renesas,r8a7790-cpg-mssr", .data = "extal" },
26 { .compatible = "renesas,r8a7791-cpg-mssr", .data = "extal" },
27 { .compatible = "renesas,r8a7793-cpg-mssr", .data = "extal" },
42 if (match->data) in get_extal_freq()
43 idx = of_property_match_string(cpg, "clock-names", match->data); in get_extal_freq()
49 of_property_read_u32(extal, "clock-frequency", &freq); in get_extal_freq()
64 * If PSCI is available then most likely we are running on PSCI-enabled in rcar_gen2_timer_init()
65 * U-Boot which, we assume, has already taken care of resetting CNTVOFF in rcar_gen2_timer_init()
66 * and updating counter module before switching to non-secure mode in rcar_gen2_timer_init()
85 /* At Linux boot time the r8a7790 arch timer comes up in rcar_gen2_timer_init()
98 * Update the timer if it is either not running, or is not at the in rcar_gen2_timer_init()
99 * right frequency. The timer is only configurable in secure mode in rcar_gen2_timer_init()
100 * so this avoids an abort if the loader started the timer and in rcar_gen2_timer_init()
101 * entered the kernel in non-secure mode. in rcar_gen2_timer_init()
110 /* make sure arch timer is started by setting bit 0 of CNTCR */ in rcar_gen2_timer_init()
130 DT_MACHINE_START(RCAR_GEN2_DT, "Generic R-Car Gen2 (Flattened Device Tree)")