atmel-hlcdc.txt 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. Atmel HLCDC Framebuffer
  2. -----------------------------------------------------
  3. Required properties:
  4. - compatible :
  5. "atmel,sama5d2-hlcdc", "atmel,at91sam9x5-hlcdc".
  6. - reg: physical base address of the controller and length of memory mapped
  7. region.
  8. - clocks: phandles to input clocks.
  9. - atmel,vl-bpix: Bits per pixel.
  10. - atmel,output-mode: LCD Controller Output Mode,
  11. The unit is bits per pixel, there are four values,
  12. <12>, <16>, <18>, <24>, the default value is <24>.
  13. - atmel,guard-time: lcd guard time (Delay in frame periods).
  14. - display-timings: please refer the displaymode.txt.
  15. Example:
  16. hlcdc: hlcdc@f0000000 {
  17. u-boot,dm-pre-reloc;
  18. compatible = "atmel,sama5d2-hlcdc";
  19. reg = <0xf0000000 0x2000>;
  20. clocks = <&lcdc_clk>;
  21. atmel,vl-bpix = <4>;
  22. atmel,output-mode = <24>;
  23. atmel,guard-time = <1>;
  24. pinctrl-names = "default";
  25. pinctrl-0 = <&pinctrl_lcd_base &pinctrl_lcd_pwm &pinctrl_lcd_rgb666>;
  26. status = "okay";
  27. display-timings {
  28. 480x272 {
  29. clock-frequency = <9000000>;
  30. hactive = <480>;
  31. vactive = <272>;
  32. hsync-len = <41>;
  33. hfront-porch = <2>;
  34. hback-porch = <2>;
  35. vfront-porch = <2>;
  36. vback-porch = <2>;
  37. vsync-len = <11>;
  38. };
  39. };
  40. };