xref: /freebsd/sys/contrib/device-tree/Bindings/display/faraday,tve200.txt (revision 02e9120893770924227138ba49df1edb3896112a)
1* Faraday TV Encoder TVE200
2
3Required properties:
4
5- compatible: must be one of:
6	"faraday,tve200"
7	"cortina,gemini-tvc", "faraday,tve200"
8
9- reg: base address and size of the control registers block
10
11- interrupts: contains an interrupt specifier for the interrupt
12	line from the TVE200
13
14- clock-names: should contain "PCLK" for the clock line clocking the
15	silicon and "TVE" for the 27MHz clock to the video driver
16
17- clocks: contains phandle and clock specifier pairs for the entries
18	in the clock-names property. See
19	Documentation/devicetree/bindings/clock/clock-bindings.txt
20
21Optional properties:
22
23- resets: contains the reset line phandle for the block
24
25Required sub-nodes:
26
27- port: describes LCD panel signals, following the common binding
28	for video transmitter interfaces; see
29	Documentation/devicetree/bindings/media/video-interfaces.txt
30	This port should have the properties:
31	reg = <0>;
32	It should have one endpoint connected to a remote endpoint where
33	the display is connected.
34
35Example:
36
37display-controller@6a000000 {
38	#address-cells = <1>;
39	#size-cells = <0>;
40	compatible = "faraday,tve200";
41	reg = <0x6a000000 0x1000>;
42	interrupts = <13 IRQ_TYPE_EDGE_RISING>;
43	resets = <&syscon GEMINI_RESET_TVC>;
44	clocks = <&syscon GEMINI_CLK_GATE_TVC>,
45		 <&syscon GEMINI_CLK_TVC>;
46	clock-names = "PCLK", "TVE";
47
48	port@0 {
49		reg = <0>;
50		display_out: endpoint {
51			remote-endpoint = <&panel_in>;
52		};
53	};
54};
55