r8a774c0-ek874-mipi-2.1.dts 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Device Tree Source for the Silicon Linux RZ/G2E 96board platform (CAT874)
  4. * connected with aistarvision-mipi-v2-adapter board
  5. *
  6. * Copyright (C) 2020 Renesas Electronics Corp.
  7. */
  8. /dts-v1/;
  9. #include "r8a774c0-ek874.dts"
  10. #define MIPI_OV5645_PARENT_I2C i2c3
  11. #define MIPI_IMX219_PARENT_I2C i2c3
  12. #include "aistarvision-mipi-adapter-2.1.dtsi"
  13. / {
  14. model = "Silicon Linux RZ/G2E evaluation kit EK874 (CAT874 + CAT875) with aistarvision-mipi-v2-adapter board";
  15. compatible = "si-linux,cat875", "si-linux,cat874", "renesas,r8a774c0";
  16. };
  17. &i2c3 {
  18. status = "okay";
  19. };
  20. &vin4 {
  21. status = "okay";
  22. };
  23. &vin5 {
  24. status = "okay";
  25. };
  26. &csi40 {
  27. status = "okay";
  28. ports {
  29. port@0 {
  30. csi40_in: endpoint {
  31. clock-lanes = <0>;
  32. data-lanes = <1 2>;
  33. remote-endpoint = <&ov5645_ep>;
  34. };
  35. };
  36. };
  37. };
  38. &ov5645 {
  39. enable-gpios = <&gpio5 5 GPIO_ACTIVE_HIGH>;
  40. reset-gpios = <&gpio5 3 GPIO_ACTIVE_LOW>;
  41. port {
  42. ov5645_ep: endpoint {
  43. clock-lanes = <0>;
  44. data-lanes = <1 2>;
  45. remote-endpoint = <&csi40_in>;
  46. };
  47. };
  48. };
  49. &imx219 {
  50. port {
  51. imx219_ep: endpoint {
  52. clock-lanes = <0>;
  53. data-lanes = <1 2>;
  54. link-frequencies = /bits/ 64 <456000000>;
  55. /* uncomment remote-endpoint property to tie imx219 to
  56. * CSI2 also make sure remote-endpoint for ov5645 camera
  57. * is commented and remote endpoint phandle in csi40_in
  58. * is imx219_ep
  59. */
  60. /* remote-endpoint = <&csi40_in>; */
  61. };
  62. };
  63. };