hlcdc-dc.txt 1.5 KB

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