43 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2# Copyright (C) Sunplus Co., Ltd. 20213%YAML 1.24---5$id: http://devicetree.org/schemas/pwm/sunplus,sp7021-pwm.yaml#6$schema: http://devicetree.org/meta-schemas/core.yaml#7 8title: Sunplus SoC SP7021 PWM Controller9 10maintainers:11 - Hammer Hsieh <hammerh0314@gmail.com>12 13allOf:14 - $ref: pwm.yaml#15 16properties:17 compatible:18 const: sunplus,sp7021-pwm19 20 reg:21 maxItems: 122 23 clocks:24 maxItems: 125 26 '#pwm-cells':27 const: 228 29unevaluatedProperties: false30 31required:32 - reg33 - clocks34 35examples:36 - |37 pwm: pwm@9c007a00 {38 compatible = "sunplus,sp7021-pwm";39 reg = <0x9c007a00 0x80>;40 clocks = <&clkc 0xa2>;41 #pwm-cells = <2>;42 };43