xref: /linux/Documentation/devicetree/bindings/pwm/intel,keembay-pwm.yaml (revision a4eb44a6435d6d8f9e642407a4a06f65eb90ca04)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2# Copyright (C) 2020 Intel Corporation
3%YAML 1.2
4---
5$id: http://devicetree.org/schemas/pwm/intel,keembay-pwm.yaml#
6$schema: http://devicetree.org/meta-schemas/core.yaml#
7
8title: Intel Keem Bay PWM Device Tree Bindings
9
10maintainers:
11  - Vijayakannan Ayyathurai <vijayakannan.ayyathurai@intel.com>
12
13allOf:
14  - $ref: pwm.yaml#
15
16properties:
17  compatible:
18    enum:
19      - intel,keembay-pwm
20
21  reg:
22    maxItems: 1
23
24  clocks:
25    maxItems: 1
26
27  "#pwm-cells":
28    const: 2
29
30required:
31  - compatible
32  - reg
33  - clocks
34  - '#pwm-cells'
35
36additionalProperties: false
37
38examples:
39  - |
40    #define KEEM_BAY_A53_GPIO
41
42    pwm@203200a0 {
43        compatible = "intel,keembay-pwm";
44        reg = <0x203200a0 0xe8>;
45        clocks = <&scmi_clk KEEM_BAY_A53_GPIO>;
46        #pwm-cells = <2>;
47    };
48