2021-05-21 23:59:25 +08:00
|
|
|
# Copyright (c) 2021, NXP
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
description: NXP SCTimer PWM
|
|
|
|
|
|
|
|
compatible: "nxp,sctimer-pwm"
|
|
|
|
|
2022-03-25 04:37:57 +08:00
|
|
|
include: [pwm-controller.yaml, pinctrl-device.yaml, base.yaml]
|
2021-05-21 23:59:25 +08:00
|
|
|
|
|
|
|
properties:
|
2023-01-04 03:21:25 +08:00
|
|
|
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
|
2021-05-21 23:59:25 +08:00
|
|
|
|
2023-01-04 03:21:25 +08:00
|
|
|
"#pwm-cells":
|
|
|
|
const: 3
|
2021-05-21 23:59:25 +08:00
|
|
|
|
|
|
|
pwm-cells:
|
|
|
|
- channel
|
2022-04-22 18:10:25 +08:00
|
|
|
- period
|
2021-05-21 23:59:25 +08:00
|
|
|
- flags
|