brintos

brintos / linux-shallow public Read only

0
0
Text · 1.1 KiB · 903210e Raw
54 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/pwm/cirrus,ep9301-pwm.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Cirrus Logic ep93xx PWM controller8 9maintainers:10  - Alexander Sverdlin <alexander.sverdlin@gmail.com>11  - Nikita Shubin <nikita.shubin@maquefel.me>12 13allOf:14  - $ref: pwm.yaml#15 16properties:17  compatible:18    oneOf:19      - const: cirrus,ep9301-pwm20      - items:21          - enum:22              - cirrus,ep9302-pwm23              - cirrus,ep9307-pwm24              - cirrus,ep9312-pwm25              - cirrus,ep9315-pwm26          - const: cirrus,ep9301-pwm27 28  reg:29    maxItems: 130 31  clocks:32    items:33      - description: SoC PWM clock34 35  "#pwm-cells":36    const: 337 38required:39  - compatible40  - reg41  - clocks42 43unevaluatedProperties: false44 45examples:46  - |47    #include <dt-bindings/clock/cirrus,ep9301-syscon.h>48    pwm@80910000 {49        compatible = "cirrus,ep9301-pwm";50        reg = <0x80910000 0x10>;51        clocks = <&syscon EP93XX_CLK_PWM>;52        #pwm-cells = <3>;53    };54