atmel-isc.txt 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. Atmel Image Sensor Controller (ISC)
  2. ----------------------------------------------
  3. Required properties for ISC:
  4. - compatible
  5. Must be "atmel,sama5d2-isc".
  6. - reg
  7. Physical base address and length of the registers set for the device.
  8. - interrupts
  9. Should contain IRQ line for the ISC.
  10. - clocks
  11. List of clock specifiers, corresponding to entries in
  12. the clock-names property;
  13. Please refer to clock-bindings.txt.
  14. - clock-names
  15. Required elements: "hclock", "iscck", "gck".
  16. - #clock-cells
  17. Should be 0.
  18. - clock-output-names
  19. Should be "isc-mck".
  20. - pinctrl-names, pinctrl-0
  21. Please refer to pinctrl-bindings.txt.
  22. ISC supports a single port node with parallel bus. It should contain one
  23. 'port' child node with child 'endpoint' node. Please refer to the bindings
  24. defined in Documentation/devicetree/bindings/media/video-interfaces.txt.
  25. Example:
  26. isc: isc@f0008000 {
  27. compatible = "atmel,sama5d2-isc";
  28. reg = <0xf0008000 0x4000>;
  29. interrupts = <46 IRQ_TYPE_LEVEL_HIGH 5>;
  30. clocks = <&isc_clk>, <&iscck>, <&isc_gclk>;
  31. clock-names = "hclock", "iscck", "gck";
  32. #clock-cells = <0>;
  33. clock-output-names = "isc-mck";
  34. pinctrl-names = "default";
  35. pinctrl-0 = <&pinctrl_isc_base &pinctrl_isc_data_8bit &pinctrl_isc_data_9_10 &pinctrl_isc_data_11_12>;
  36. port {
  37. isc_0: endpoint {
  38. remote-endpoint = <&ov7740_0>;
  39. hsync-active = <1>;
  40. vsync-active = <0>;
  41. pclk-sample = <1>;
  42. };
  43. };
  44. };
  45. i2c1: i2c@fc028000 {
  46. ov7740: camera@21 {
  47. compatible = "ovti,ov7740";
  48. reg = <0x21>;
  49. clocks = <&isc>;
  50. clock-names = "xvclk";
  51. assigned-clocks = <&isc>;
  52. assigned-clock-rates = <24000000>;
  53. port {
  54. ov7740_0: endpoint {
  55. remote-endpoint = <&isc_0>;
  56. };
  57. };
  58. };
  59. };