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/timer/mstar,msc313e-timer.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Mstar MSC313e Timer Device Tree Bindings
0008 
0009 maintainers:
0010   - Daniel Palmer <daniel@0x0f.com>
0011   - Romain Perier <romain.perier@gmail.com>
0012 
0013 properties:
0014   compatible:
0015     enum:
0016       - mstar,msc313e-timer
0017       - sstar,ssd20xd-timer
0018 
0019   reg:
0020     maxItems: 1
0021 
0022   interrupts:
0023     maxItems: 1
0024 
0025   clocks:
0026     maxItems: 1
0027 
0028 required:
0029   - compatible
0030   - reg
0031   - interrupts
0032   - clocks
0033 
0034 additionalProperties: false
0035 
0036 examples:
0037   - |
0038     #include <dt-bindings/interrupt-controller/arm-gic.h>
0039 
0040     timer@6040 {
0041         compatible = "mstar,msc313e-timer";
0042         reg = <0x6040 0x40>;
0043         clocks = <&xtal_div2>;
0044         interrupts-extended = <&intc_fiq GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
0045     };
0046 ...