iwg20d-q7-dbcm-ca.dtsi 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Device Tree Source for the iWave-RZ-G1M/N Daughter Board Camera Module
  4. *
  5. * Copyright (C) 2017 Renesas Electronics Corp.
  6. */
  7. / {
  8. aliases {
  9. serial1 = &scif1;
  10. serial4 = &hscif1;
  11. };
  12. cec_clock: cec-clock {
  13. compatible = "fixed-clock";
  14. #clock-cells = <0>;
  15. clock-frequency = <12000000>;
  16. };
  17. hdmi-out {
  18. compatible = "hdmi-connector";
  19. type = "a";
  20. port {
  21. hdmi_con_out: endpoint {
  22. remote-endpoint = <&adv7511_out>;
  23. };
  24. };
  25. };
  26. };
  27. &can1 {
  28. pinctrl-0 = <&can1_pins>;
  29. pinctrl-names = "default";
  30. status = "okay";
  31. };
  32. &du {
  33. pinctrl-0 = <&du_pins>;
  34. pinctrl-names = "default";
  35. ports {
  36. port@0 {
  37. endpoint {
  38. remote-endpoint = <&adv7511_in>;
  39. };
  40. };
  41. };
  42. };
  43. &hscif1 {
  44. pinctrl-0 = <&hscif1_pins>;
  45. pinctrl-names = "default";
  46. uart-has-rtscts;
  47. status = "okay";
  48. };
  49. &i2c5 {
  50. status = "okay";
  51. clock-frequency = <400000>;
  52. hdmi@39 {
  53. compatible = "adi,adv7511w";
  54. reg = <0x39>;
  55. interrupt-parent = <&gpio0>;
  56. interrupts = <13 IRQ_TYPE_LEVEL_LOW>;
  57. clocks = <&cec_clock>;
  58. clock-names = "cec";
  59. adi,input-depth = <8>;
  60. adi,input-colorspace = "rgb";
  61. adi,input-clock = "1x";
  62. ports {
  63. #address-cells = <1>;
  64. #size-cells = <0>;
  65. port@0 {
  66. reg = <0>;
  67. adv7511_in: endpoint {
  68. remote-endpoint = <&du_out_rgb>;
  69. };
  70. };
  71. port@1 {
  72. reg = <1>;
  73. adv7511_out: endpoint {
  74. remote-endpoint = <&hdmi_con_out>;
  75. };
  76. };
  77. };
  78. };
  79. };
  80. &pfc {
  81. can1_pins: can1 {
  82. groups = "can1_data_d";
  83. function = "can1";
  84. };
  85. du_pins: du {
  86. groups = "du_rgb888", "du_sync", "du_oddf", "du_clk_out_0";
  87. function = "du";
  88. };
  89. hscif1_pins: hscif1 {
  90. groups = "hscif1_data_c", "hscif1_ctrl_c";
  91. function = "hscif1";
  92. };
  93. scif1_pins: scif1 {
  94. groups = "scif1_data_d";
  95. function = "scif1";
  96. };
  97. };
  98. &scif1 {
  99. pinctrl-0 = <&scif1_pins>;
  100. pinctrl-names = "default";
  101. status = "okay";
  102. };