1Device-Tree bindings for Atmel's HLCDC (High LCD Controller) DRM driver
2
3The Atmel HLCDC Display Controller is subdevice of the HLCDC MFD device.
4See ../../mfd/atmel-hlcdc.txt for more details.
5
6Required properties:
7 - compatible: value should be "atmel,hlcdc-display-controller"
8 - pinctrl-names: the pin control state names. Should contain "default".
9 - pinctrl-0: should contain the default pinctrl states.
10 - #address-cells: should be set to 1.
11 - #size-cells: should be set to 0.
12
13Required children nodes:
14 Children nodes are encoding available output ports and their connections
15 to external devices using the OF graph reprensentation (see ../graph.txt).
16 At least one port node is required.
17
18Example:
19
20	hlcdc: hlcdc@f0030000 {
21		compatible = "atmel,sama5d3-hlcdc";
22		reg = <0xf0030000 0x2000>;
23		interrupts = <36 IRQ_TYPE_LEVEL_HIGH 0>;
24		clocks = <&lcdc_clk>, <&lcdck>, <&clk32k>;
25		clock-names = "periph_clk","sys_clk", "slow_clk";
26
27		hlcdc-display-controller {
28			compatible = "atmel,hlcdc-display-controller";
29			pinctrl-names = "default";
30			pinctrl-0 = <&pinctrl_lcd_base &pinctrl_lcd_rgb888>;
31			#address-cells = <1>;
32			#size-cells = <0>;
33
34			port@0 {
35				#address-cells = <1>;
36				#size-cells = <0>;
37				reg = <0>;
38
39				hlcdc_panel_output: endpoint@0 {
40					reg = <0>;
41					remote-endpoint = <&panel_input>;
42				};
43			};
44		};
45
46		hlcdc_pwm: hlcdc-pwm {
47			compatible = "atmel,hlcdc-pwm";
48			pinctrl-names = "default";
49			pinctrl-0 = <&pinctrl_lcd_pwm>;
50			#pwm-cells = <3>;
51		};
52	};
53