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

32 lines
507 B
YAML
Raw Normal View History

# 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
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