blob: ab50d39de4aafe79e4f19a1b1b2ecc1c25f18899 [file]
# Copyright (c) 2025, Ambiq
# SPDX-License-Identifier: Apache-2.0
description: Ambiq CTIMER PWM
compatible: "ambiq,ctimer-pwm"
include: [pwm-controller.yaml, pinctrl-device.yaml, base.yaml]
properties:
pinctrl-0:
required: true
pinctrl-names:
required: true
timer-segment:
type: string
required: true
enum:
- "SEGMENT_A"
- "SEGMENT_B"
description: timer segment to use
pwm-type:
type: string
required: true
enum:
- "PWM_ONCE"
- "PWM_REPEAT"
description: |
Mode selection
- AM_HAL_CTIMER_FN_PWM_ONCE
- AM_HAL_CTIMER_FN_PWM_REPEAT
"#pwm-cells":
const: 3
pwm-cells:
- channel
- period
- flags