Atmel/Microchip PWM controller
Schema identifier ($id): "http://devicetree.org/schemas/pwm/atmel,at91sam-pwm.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Claudiu Beznea <claudiu.beznea@microchip.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):pwm.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Allowed values (
enum):"atmel,at91sam9rl-pwm","atmel,sama5d3-pwm","atmel,sama5d2-pwm","microchip,sam9x60-pwm"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"microchip,sama7d65-pwm","microchip,sama7g5-pwm"Item 2
Exact value (
const):"atmel,sama5d2-pwm"
Rule 3
Array item rules (
items)Item 1
Exact value (
const):"microchip,sam9x7-pwm"Item 2
Exact value (
const):"microchip,sam9x60-pwm"
reg — required here #
Maximum number of items (maxItems): 1
#pwm-cells — not listed as required here #
Exact value (const): 3
Required in this object (required): "compatible", "reg"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
pwm0: pwm@f8034000 {
compatible = "atmel,at91sam9rl-pwm";
reg = <0xf8034000 0x400>;
#pwm-cells = <3>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (C) 2022 Microchip Technology, Inc. and its subsidiaries