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