Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/pwm/mxs-pwm.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Freescale MXS PWM controller
0008 
0009 maintainers:
0010   - Shawn Guo <shawnguo@kernel.org>
0011   - Anson Huang <anson.huang@nxp.com>
0012 
0013 allOf:
0014   - $ref: pwm.yaml#
0015 
0016 properties:
0017   compatible:
0018     enum:
0019       - fsl,imx23-pwm
0020 
0021   reg:
0022     maxItems: 1
0023 
0024   "#pwm-cells":
0025     const: 3
0026 
0027   fsl,pwm-number:
0028     $ref: '/schemas/types.yaml#/definitions/uint32'
0029     description: u32 value representing the number of PWM devices
0030 
0031 required:
0032   - compatible
0033   - reg
0034   - fsl,pwm-number
0035 
0036 additionalProperties: false
0037 
0038 examples:
0039   - |
0040     pwm@80064000 {
0041         compatible = "fsl,imx23-pwm";
0042         reg = <0x80064000 0x2000>;
0043         #pwm-cells = <3>;
0044         fsl,pwm-number = <8>;
0045     };