2019-08-19 21:26:19 +03:00
# SPDX-License-Identifier: GPL-2.0
%YAML 1.2
---
$id : http://devicetree.org/schemas/media/allwinner,sun4i-a10-ir.yaml#
$schema : http://devicetree.org/meta-schemas/core.yaml#
2022-08-25 05:04:27 +03:00
title : Allwinner A10 Infrared Controller
2019-08-19 21:26:19 +03:00
maintainers :
- Chen-Yu Tsai <wens@csie.org>
2019-12-09 12:32:48 +03:00
- Maxime Ripard <mripard@kernel.org>
2019-08-19 21:26:19 +03:00
allOf :
2023-03-21 02:39:42 +03:00
- $ref : rc.yaml#
2019-08-19 21:26:19 +03:00
properties :
compatible :
oneOf :
- const : allwinner,sun4i-a10-ir
- const : allwinner,sun5i-a13-ir
2020-08-25 20:13:56 +03:00
- const : allwinner,sun6i-a31-ir
2019-08-19 21:26:19 +03:00
- items :
2021-01-27 20:24:51 +03:00
- enum :
2022-11-07 03:54:28 +03:00
- allwinner,suniv-f1c100s-ir
2021-01-27 20:24:51 +03:00
- allwinner,sun8i-a83t-ir
- allwinner,sun8i-r40-ir
- allwinner,sun50i-a64-ir
- allwinner,sun50i-h6-ir
- allwinner,sun50i-h616-ir
2019-08-19 21:26:19 +03:00
- const : allwinner,sun6i-a31-ir
reg :
maxItems : 1
interrupts :
maxItems : 1
clocks :
items :
- description : Bus Clock
- description : Module Clock
clock-names :
items :
- const : apb
- const : ir
resets :
maxItems : 1
clock-frequency :
default : 8000000
description :
IR Receiver clock frequency, in Hertz.
required :
- compatible
- reg
- interrupts
- clocks
- clock-names
2019-11-01 16:58:08 +03:00
unevaluatedProperties : false
2019-08-19 21:26:19 +03:00
examples :
- |
ir0 : ir@1c21800 {
compatible = "allwinner,sun4i-a10-ir";
clocks = <&apb0_gates 6>, <&ir0_clk>;
clock-names = "apb", "ir";
clock-frequency = <3000000>;
resets = <&apb0_rst 1>;
interrupts = <0 5 1>;
reg = <0x01C21800 0x40>;
linux,rc-map-name = "rc-rc6-mce";
};
...