Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/interrupt-controller/fsl,intmux.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Freescale INTMUX interrupt multiplexer
0008 
0009 maintainers:
0010   - Joakim Zhang <qiangqing.zhang@nxp.com>
0011 
0012 properties:
0013   compatible:
0014     const: fsl,imx-intmux
0015 
0016   reg:
0017     maxItems: 1
0018 
0019   interrupts:
0020     minItems: 1
0021     maxItems: 8
0022     description: |
0023       Should contain the parent interrupt lines (up to 8) used to multiplex
0024       the input interrupts.
0025 
0026   interrupt-controller: true
0027 
0028   '#interrupt-cells':
0029     const: 2
0030     description: |
0031       The 1st cell is hw interrupt number, the 2nd cell is channel index.
0032 
0033   clocks:
0034     maxItems: 1
0035 
0036   clock-names:
0037     const: ipg
0038 
0039 required:
0040   - compatible
0041   - reg
0042   - interrupts
0043   - interrupt-controller
0044   - '#interrupt-cells'
0045   - clocks
0046   - clock-names
0047 
0048 additionalProperties: false
0049 
0050 examples:
0051   - |
0052     interrupt-controller@37400000 {
0053         compatible = "fsl,imx-intmux";
0054         reg = <0x37400000 0x1000>;
0055         interrupts = <0 16 4>,
0056                      <0 17 4>,
0057                      <0 18 4>,
0058                      <0 19 4>,
0059                      <0 20 4>,
0060                      <0 21 4>,
0061                      <0 22 4>,
0062                      <0 23 4>;
0063         interrupt-controller;
0064         interrupt-parent = <&gic>;
0065         #interrupt-cells = <2>;
0066         clocks = <&clk>;
0067         clock-names = "ipg";
0068     };