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