brintos

brintos / linux-shallow public Read only

0
0
Text · 1.1 KiB · c01210e Raw
56 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/media/mediatek,mt7622-cir.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: MediaTek Consumer Infrared Receiver on-SoC Controller8 9maintainers:10  - Sean Wang <sean.wang@mediatek.com>11 12allOf:13  - $ref: rc.yaml#14 15properties:16  compatible:17    enum:18      - mediatek,mt7622-cir19      - mediatek,mt7623-cir20 21  reg:22    maxItems: 123 24  interrupts:25    maxItems: 126 27  clocks:28    maxItems: 229 30  clock-names:31    items:32      - const: clk33      - const: bus34 35required:36  - reg37  - interrupts38  - clocks39  - clock-names40 41unevaluatedProperties: false42 43examples:44  - |45    #include <dt-bindings/clock/mt2701-clk.h>46    #include <dt-bindings/interrupt-controller/arm-gic.h>47 48    ir@10013000 {49        compatible = "mediatek,mt7623-cir";50        reg = <0x10013000 0x1000>;51        interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_LOW>;52        clocks = <&infracfg CLK_INFRA_IRRX>, <&topckgen CLK_TOP_AXI_SEL>;53        clock-names = "clk", "bus";54        linux,rc-map-name = "rc-rc6-mce";55    };56