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