blob: 2136ee81e061b8d3ab492d5dd303a467d44a4595 [file] [log] [blame]
Rob Clark16ea9752013-01-08 15:04:28 -06001Device-Tree bindings for tilcdc DRM driver
2
3Required properties:
4 - compatible: value should be "ti,am33xx-tilcdc".
5 - interrupts: the interrupt number
6 - reg: base address and size of the LCDC device
7
8Recommended properties:
9 - interrupt-parent: the phandle for the interrupt controller that
10 services interrupts for this device.
11 - ti,hwmods: Name of the hwmod associated to the LCDC
12
Darren Etheridge4e564342013-06-21 13:52:23 -050013Optional properties:
14 - max-bandwidth: The maximum pixels per second that the memory
15 interface / lcd controller combination can sustain
16 - max-width: The maximum horizontal pixel width supported by
17 the lcd controller.
18 - max-pixelclock: The maximum pixel clock that can be supported
19 by the lcd controller in KHz.
20
Jyri Sarha103cd8b2015-02-10 14:13:23 +020021Optional nodes:
22
23 - port/ports: to describe a connection to an external encoder. The
24 binding follows Documentation/devicetree/bindings/graph.txt and
25 suppors a single port with a single endpoint.
26
Rob Clark16ea9752013-01-08 15:04:28 -060027Example:
28
29 fb: fb@4830e000 {
30 compatible = "ti,am33xx-tilcdc";
31 reg = <0x4830e000 0x1000>;
32 interrupt-parent = <&intc>;
33 interrupts = <36>;
34 ti,hwmods = "lcdc";
Jyri Sarha103cd8b2015-02-10 14:13:23 +020035
36 port {
37 lcdc_0: endpoint@0 {
38 remote-endpoint = <&hdmi_0>;
39 };
40 };
41 };
42
43 tda19988: tda19988 {
44 compatible = "nxp,tda998x";
45 reg = <0x70>;
46
47 pinctrl-names = "default", "off";
48 pinctrl-0 = <&nxp_hdmi_bonelt_pins>;
49 pinctrl-1 = <&nxp_hdmi_bonelt_off_pins>;
50
51 port {
52 hdmi_0: endpoint@0 {
53 remote-endpoint = <&lcdc_0>;
54 };
55 };
Rob Clark16ea9752013-01-08 15:04:28 -060056 };