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