mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
bb63744b02
This helps validating DTS files. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> Link: https://lore.kernel.org/r/20210512160253.15000-1-zajec5@gmail.com Signed-off-by: Rob Herring <robh@kernel.org>
46 lines
744 B
YAML
46 lines
744 B
YAML
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/pwm/brcm,iproc-pwm.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Broadcom iProc PWM controller
|
|
|
|
maintainers:
|
|
- Rafał Miłecki <rafal@milecki.pl>
|
|
|
|
description:
|
|
This controller has 4 channels.
|
|
|
|
allOf:
|
|
- $ref: pwm.yaml#
|
|
|
|
properties:
|
|
compatible:
|
|
const: brcm,iproc-pwm
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
description: external clock
|
|
maxItems: 1
|
|
|
|
"#pwm-cells":
|
|
const: 3
|
|
|
|
unevaluatedProperties: false
|
|
|
|
required:
|
|
- reg
|
|
- clocks
|
|
|
|
examples:
|
|
- |
|
|
pwm@18031000 {
|
|
compatible = "brcm,iproc-pwm";
|
|
reg = <0x18031000 0x28>;
|
|
clocks = <&osc>;
|
|
#pwm-cells = <3>;
|
|
};
|