2019-10-21 16:02:06 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
%YAML 1.2
|
|
|
|
---
|
|
|
|
$id: http://devicetree.org/schemas/pwm/pwm.yaml#
|
|
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
|
|
|
|
title: PWM controllers (providers)
|
|
|
|
|
|
|
|
maintainers:
|
|
|
|
- Thierry Reding <thierry.reding@gmail.com>
|
|
|
|
|
2021-12-07 12:48:55 +00:00
|
|
|
select: false
|
|
|
|
|
2019-10-21 16:02:06 +00:00
|
|
|
properties:
|
|
|
|
$nodename:
|
2023-05-30 14:48:46 +00:00
|
|
|
pattern: "^pwm(@.*|-([0-9]|[1-9][0-9]+))?$"
|
2019-10-21 16:02:06 +00:00
|
|
|
|
|
|
|
"#pwm-cells":
|
|
|
|
description:
|
|
|
|
Number of cells in a PWM specifier.
|
|
|
|
|
|
|
|
required:
|
|
|
|
- "#pwm-cells"
|
|
|
|
|
2020-10-05 18:38:30 +00:00
|
|
|
additionalProperties: true
|
|
|
|
|
2019-10-21 16:02:06 +00:00
|
|
|
examples:
|
|
|
|
- |
|
2021-06-08 21:58:34 +00:00
|
|
|
pwm: pwm@1c20e00 {
|
|
|
|
compatible = "allwinner,sun7i-a20-pwm";
|
|
|
|
reg = <0x01c20e00 0xc>;
|
|
|
|
clocks = <&osc24M>;
|
|
|
|
#pwm-cells = <3>;
|
2019-10-21 16:02:06 +00:00
|
|
|
};
|