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
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
35additionalProperties: false
36
37examples:
38  - |
39    #define KEEM_BAY_A53_GPIO
40
41    pwm@203200a0 {
42        compatible = "intel,keembay-pwm";
43        reg = <0x203200a0 0xe8>;
44        clocks = <&scmi_clk KEEM_BAY_A53_GPIO>;
45        #pwm-cells = <2>;
46    };
47