xref: /linux/Documentation/devicetree/bindings/media/st-rc.txt (revision e5451c8f8330e03ad3cfa16048b4daf961af434f)
1*80f93c7bSSrinivas KandagatlaDevice-Tree bindings for ST IRB IP
2*80f93c7bSSrinivas Kandagatla
3*80f93c7bSSrinivas KandagatlaRequired properties:
4*80f93c7bSSrinivas Kandagatla	- compatible: Should contain "st,comms-irb".
5*80f93c7bSSrinivas Kandagatla	- reg: Base physical address of the controller and length of memory
6*80f93c7bSSrinivas Kandagatla	  mapped region.
7*80f93c7bSSrinivas Kandagatla	- interrupts: interrupt-specifier for the sole interrupt generated by
8*80f93c7bSSrinivas Kandagatla	  the device. The interrupt specifier format depends on the interrupt
9*80f93c7bSSrinivas Kandagatla	  controller parent.
10*80f93c7bSSrinivas Kandagatla	- rx-mode: can be "infrared" or "uhf". This property specifies the L1
11*80f93c7bSSrinivas Kandagatla	  protocol used for receiving remote control signals. rx-mode should
12*80f93c7bSSrinivas Kandagatla	  be present iff the rx pins are wired up.
13*80f93c7bSSrinivas Kandagatla	- tx-mode: should be "infrared". This property specifies the L1
14*80f93c7bSSrinivas Kandagatla	  protocol used for transmitting remote control signals. tx-mode should
15*80f93c7bSSrinivas Kandagatla	  be present iff the tx pins are wired up.
16*80f93c7bSSrinivas Kandagatla
17*80f93c7bSSrinivas KandagatlaOptional properties:
18*80f93c7bSSrinivas Kandagatla	- pinctrl-names, pinctrl-0: the pincontrol settings to configure muxing
19*80f93c7bSSrinivas Kandagatla	  properly for IRB pins.
20*80f93c7bSSrinivas Kandagatla	- clocks : phandle with clock-specifier pair for IRB.
21*80f93c7bSSrinivas Kandagatla
22*80f93c7bSSrinivas KandagatlaExample node:
23*80f93c7bSSrinivas Kandagatla
24*80f93c7bSSrinivas Kandagatla	rc: rc@fe518000 {
25*80f93c7bSSrinivas Kandagatla		compatible	= "st,comms-irb";
26*80f93c7bSSrinivas Kandagatla		reg		= <0xfe518000 0x234>;
27*80f93c7bSSrinivas Kandagatla		interrupts	= <0 203 0>;
28*80f93c7bSSrinivas Kandagatla		rx-mode		= "infrared";
29*80f93c7bSSrinivas Kandagatla	};
30