02aec77f77
Add the period cell to GD32 PWM compatible and update all boards accordingly. A period of 20 ms (50 Hz) has been set for all PWM LEDs. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
24 lines
366 B
YAML
24 lines
366 B
YAML
# Copyright (c) 2021 Teslabs Engineering S.L.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
description: GigaDevice GD32 PWM
|
|
|
|
compatible: "gd,gd32-pwm"
|
|
|
|
include: [base.yaml, pwm-controller.yaml, pinctrl-device.yaml]
|
|
|
|
properties:
|
|
pinctrl-0:
|
|
required: true
|
|
|
|
pinctrl-names:
|
|
required: true
|
|
|
|
"#pwm-cells":
|
|
const: 3
|
|
|
|
pwm-cells:
|
|
- channel
|
|
- period
|
|
- flags
|