Commit | Line | Data |
---|---|---|
16ea975e RC |
1 | Device-Tree bindings for tilcdc DRM driver |
2 | ||
3 | Required 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 | ||
8 | Recommended 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 | ||
4e564346 DE |
13 | Optional 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 | ||
103cd8bc JS |
21 | Optional 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 | ||
16ea975e RC |
27 | Example: |
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"; | |
103cd8bc JS |
35 | |
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 | }; | |
16ea975e | 56 | }; |