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