zephyr/dts/bindings/pwm/nxp,sctimer-pwm.yaml

33 lines
559 B
YAML

# Copyright (c) 2021, NXP
# SPDX-License-Identifier: Apache-2.0
description: NXP SCTimer PWM
compatible: "nxp,sctimer-pwm"
include: [pwm-controller.yaml, pinctrl-device.yaml, base.yaml]
properties:
prescaler:
type: int
required: false
default: 1
description: prescaling factor from the SCT clock. Default to 1 which is the reset value
enum:
- 1
- 2
- 4
- 8
- 16
- 32
- 64
- 128
"#pwm-cells":
const: 3
pwm-cells:
- channel
- period
- flags