Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/interrupt-controller/allwinner,sun7i-a20-sc-nmi.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Allwinner A20 Non-Maskable Interrupt Controller Device Tree Bindings
0008 
0009 maintainers:
0010   - Chen-Yu Tsai <wens@csie.org>
0011   - Maxime Ripard <mripard@kernel.org>
0012 
0013 allOf:
0014   - $ref: /schemas/interrupt-controller.yaml#
0015 
0016 properties:
0017   "#interrupt-cells":
0018     const: 2
0019     description:
0020       The first cell is the IRQ number, the second cell the trigger
0021       type as defined in interrupt.txt in this directory.
0022 
0023   compatible:
0024     oneOf:
0025       - const: allwinner,sun6i-a31-sc-nmi
0026         deprecated: true
0027       - const: allwinner,sun7i-a20-sc-nmi
0028       - items:
0029           - const: allwinner,sun8i-v3s-nmi
0030           - const: allwinner,sun9i-a80-nmi
0031       - const: allwinner,sun9i-a80-nmi
0032       - items:
0033           - const: allwinner,sun50i-a100-nmi
0034           - const: allwinner,sun9i-a80-nmi
0035 
0036   reg:
0037     maxItems: 1
0038 
0039   interrupts:
0040     maxItems: 1
0041 
0042   interrupt-controller: true
0043 
0044 required:
0045   - "#interrupt-cells"
0046   - compatible
0047   - reg
0048   - interrupts
0049   - interrupt-controller
0050 
0051 unevaluatedProperties: false
0052 
0053 examples:
0054   - |
0055     interrupt-controller@1c00030 {
0056         compatible = "allwinner,sun7i-a20-sc-nmi";
0057         interrupt-controller;
0058         #interrupt-cells = <2>;
0059         reg = <0x01c00030 0x0c>;
0060         interrupt-parent = <&gic>;
0061         interrupts = <0 0 4>;
0062     };
0063 
0064 ...