1# Copyright (c) 2024 Renesas Electronics Corporation 2# SPDX-License-Identifier: Apache-2.0 3 4description: Renesas RA AGT 5 6compatible: "renesas,ra-agt" 7 8include: base.yaml 9 10properties: 11 reg: 12 required: true 13 14 channel: 15 type: int 16 required: true 17 18 renesas,count-source: 19 description: AGT clock source. 20 type: string 21 required: true 22 enum: 23 - "AGT_CLOCK_PCLKB" 24 - "AGT_CLOCK_LOCO" 25 26 renesas,prescaler: 27 description: | 28 AGT clock divider for LOCO and SUBCLOCK. timer clock = (clock-source / (1 << prescaler)) 29 For LOCO and SUBCLOCK, prescler could be in range [0 .. 7]. 30 For PCLKB, prescler could be in 0, 1, and 3. 31 type: int 32 required: true 33 enum: 34 - 0 35 - 1 36 - 2 37 - 3 38 - 4 39 - 5 40 - 6 41 - 7 42 43 renesas,resolution: 44 type: int 45 required: true 46 47 interrupts: 48 required: true 49 50 interrupt-names: 51 required: true 52