Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | |
| 8 | title: Intel Keem Bay PWM |
| 9 | |
| 10 | maintainers: |
| 11 | - Vijayakannan Ayyathurai <vijayakannan.ayyathurai@intel.com> |
| 12 | |
| 13 | allOf: |
| 14 | - $ref: pwm.yaml# |
| 15 | |
| 16 | properties: |
| 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 | |
| 30 | required: |
| 31 | - compatible |
| 32 | - reg |
| 33 | - clocks |
| 34 | |
| 35 | additionalProperties: false |
| 36 | |
| 37 | examples: |
| 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 | }; |