79 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/media/allwinner,sun4i-a10-ir.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Allwinner A10 Infrared Controller8 9maintainers:10 - Chen-Yu Tsai <wens@csie.org>11 - Maxime Ripard <mripard@kernel.org>12 13allOf:14 - $ref: rc.yaml#15 16properties:17 compatible:18 oneOf:19 - const: allwinner,sun4i-a10-ir20 - const: allwinner,sun5i-a13-ir21 - const: allwinner,sun6i-a31-ir22 - items:23 - enum:24 - allwinner,suniv-f1c100s-ir25 - allwinner,sun8i-a83t-ir26 - allwinner,sun8i-r40-ir27 - allwinner,sun50i-a64-ir28 - allwinner,sun50i-h6-ir29 - allwinner,sun50i-h616-ir30 - const: allwinner,sun6i-a31-ir31 32 reg:33 maxItems: 134 35 interrupts:36 maxItems: 137 38 clocks:39 items:40 - description: Bus Clock41 - description: Module Clock42 43 clock-names:44 items:45 - const: apb46 - const: ir47 48 resets:49 maxItems: 150 51 clock-frequency:52 default: 800000053 description:54 IR Receiver clock frequency, in Hertz.55 56required:57 - compatible58 - reg59 - interrupts60 - clocks61 - clock-names62 63unevaluatedProperties: false64 65examples:66 - |67 ir0: ir@1c21800 {68 compatible = "allwinner,sun4i-a10-ir";69 clocks = <&apb0_gates 6>, <&ir0_clk>;70 clock-names = "apb", "ir";71 clock-frequency = <3000000>;72 resets = <&apb0_rst 1>;73 interrupts = <0 5 1>;74 reg = <0x01C21800 0x40>;75 linux,rc-map-name = "rc-rc6-mce";76 };77 78...79