cirrus,clps711x-fb.txt 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. * Currus Logic CLPS711X Framebuffer
  2. Required properties:
  3. - compatible: Shall contain "cirrus,clps711x-fb".
  4. - reg : Physical base address and length of the controller's registers +
  5. location and size of the framebuffer memory.
  6. - clocks : phandle + clock specifier pair of the FB reference clock.
  7. - display : phandle to a display node as described in
  8. Documentation/devicetree/bindings/display/display-timing.txt.
  9. Additionally, the display node has to define properties:
  10. - bits-per-pixel: Bits per pixel.
  11. - ac-prescale : LCD AC bias frequency. This frequency is the required
  12. AC bias frequency for a given manufacturer's LCD plate.
  13. - cmap-invert : Invert the color levels (Optional).
  14. Optional properties:
  15. - lcd-supply: Regulator for LCD supply voltage.
  16. Example:
  17. fb: fb@800002c0 {
  18. compatible = "cirrus,ep7312-fb", "cirrus,clps711x-fb";
  19. reg = <0x800002c0 0xd44>, <0x60000000 0xc000>;
  20. clocks = <&clks 2>;
  21. lcd-supply = <&reg5v0>;
  22. display = <&display>;
  23. };
  24. display: display {
  25. model = "320x240x4";
  26. native-mode = <&timing0>;
  27. bits-per-pixel = <4>;
  28. ac-prescale = <17>;
  29. display-timings {
  30. timing0: 320x240 {
  31. hactive = <320>;
  32. hback-porch = <0>;
  33. hfront-porch = <0>;
  34. hsync-len = <0>;
  35. vactive = <240>;
  36. vback-porch = <0>;
  37. vfront-porch = <0>;
  38. vsync-len = <0>;
  39. clock-frequency = <6500000>;
  40. };
  41. };
  42. };