1# SPDX-License-Identifier: GPL-2.0 2%YAML 1.2 3--- 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 Controller 8 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-ir 20 - const: allwinner,sun5i-a13-ir 21 - const: allwinner,sun6i-a31-ir 22 - items: 23 - enum: 24 - allwinner,sun8i-a83t-ir 25 - allwinner,sun8i-r40-ir 26 - allwinner,sun50i-a64-ir 27 - allwinner,sun50i-h6-ir 28 - allwinner,sun50i-h616-ir 29 - const: allwinner,sun6i-a31-ir 30 31 reg: 32 maxItems: 1 33 34 interrupts: 35 maxItems: 1 36 37 clocks: 38 items: 39 - description: Bus Clock 40 - description: Module Clock 41 42 clock-names: 43 items: 44 - const: apb 45 - const: ir 46 47 resets: 48 maxItems: 1 49 50 clock-frequency: 51 default: 8000000 52 description: 53 IR Receiver clock frequency, in Hertz. 54 55required: 56 - compatible 57 - reg 58 - interrupts 59 - clocks 60 - clock-names 61 62unevaluatedProperties: false 63 64examples: 65 - | 66 ir0: ir@1c21800 { 67 compatible = "allwinner,sun4i-a10-ir"; 68 clocks = <&apb0_gates 6>, <&ir0_clk>; 69 clock-names = "apb", "ir"; 70 clock-frequency = <3000000>; 71 resets = <&apb0_rst 1>; 72 interrupts = <0 5 1>; 73 reg = <0x01C21800 0x40>; 74 linux,rc-map-name = "rc-rc6-mce"; 75 }; 76 77... 78