0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 # Copyright (C) 2020 Intel Corporation
0003 %YAML 1.2
0004 ---
0005 $id: http://devicetree.org/schemas/pwm/intel,keembay-pwm.yaml#
0006 $schema: http://devicetree.org/meta-schemas/core.yaml#
0007
0008 title: Intel Keem Bay PWM Device Tree Bindings
0009
0010 maintainers:
0011 - Vijayakannan Ayyathurai <vijayakannan.ayyathurai@intel.com>
0012
0013 allOf:
0014 - $ref: pwm.yaml#
0015
0016 properties:
0017 compatible:
0018 enum:
0019 - intel,keembay-pwm
0020
0021 reg:
0022 maxItems: 1
0023
0024 clocks:
0025 maxItems: 1
0026
0027 "#pwm-cells":
0028 const: 2
0029
0030 required:
0031 - compatible
0032 - reg
0033 - clocks
0034
0035 additionalProperties: false
0036
0037 examples:
0038 - |
0039 #define KEEM_BAY_A53_GPIO
0040
0041 pwm@203200a0 {
0042 compatible = "intel,keembay-pwm";
0043 reg = <0x203200a0 0xe8>;
0044 clocks = <&scmi_clk KEEM_BAY_A53_GPIO>;
0045 #pwm-cells = <2>;
0046 };