r8a7745-iwg22d-sodimm-dbhd-ca.dts 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Device Tree Source for the iWave-RZG1E SODIMM carrier board + HDMI daughter
  4. * board
  5. *
  6. * Copyright (C) 2017 Renesas Electronics Corp.
  7. */
  8. #include "r8a7745-iwg22d-sodimm.dts"
  9. / {
  10. model = "iWave RainboW-G22D-SODIMM RZ/G1E based board with HDMI add-on";
  11. compatible = "iwave,g22d", "iwave,g22m", "renesas,r8a7745";
  12. aliases {
  13. serial0 = &scif1;
  14. serial4 = &scif5;
  15. serial6 = &hscif2;
  16. };
  17. cec_clock: cec-clock {
  18. compatible = "fixed-clock";
  19. #clock-cells = <0>;
  20. clock-frequency = <12000000>;
  21. };
  22. hdmi-out {
  23. compatible = "hdmi-connector";
  24. type = "a";
  25. port {
  26. hdmi_con: endpoint {
  27. remote-endpoint = <&adv7511_out>;
  28. };
  29. };
  30. };
  31. };
  32. &du {
  33. pinctrl-0 = <&du0_pins>;
  34. pinctrl-names = "default";
  35. status = "okay";
  36. ports {
  37. port@0 {
  38. endpoint {
  39. remote-endpoint = <&adv7511_in>;
  40. };
  41. };
  42. };
  43. };
  44. &can1 {
  45. pinctrl-0 = <&can1_pins>;
  46. pinctrl-names = "default";
  47. status = "okay";
  48. };
  49. &hscif2 {
  50. pinctrl-0 = <&hscif2_pins>;
  51. pinctrl-names = "default";
  52. status = "okay";
  53. };
  54. &i2c1 {
  55. pinctrl-0 = <&i2c1_pins>;
  56. pinctrl-names = "default";
  57. status = "okay";
  58. clock-frequency = <400000>;
  59. hdmi@39 {
  60. compatible = "adi,adv7511w";
  61. reg = <0x39>;
  62. interrupt-parent = <&gpio1>;
  63. interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
  64. clocks = <&cec_clock>;
  65. clock-names = "cec";
  66. pd-gpios = <&gpio2 24 GPIO_ACTIVE_HIGH>;
  67. adi,input-depth = <8>;
  68. adi,input-colorspace = "rgb";
  69. adi,input-clock = "1x";
  70. ports {
  71. #address-cells = <1>;
  72. #size-cells = <0>;
  73. port@0 {
  74. reg = <0>;
  75. adv7511_in: endpoint {
  76. remote-endpoint = <&du_out_rgb0>;
  77. };
  78. };
  79. port@1 {
  80. reg = <1>;
  81. adv7511_out: endpoint {
  82. remote-endpoint = <&hdmi_con>;
  83. };
  84. };
  85. };
  86. };
  87. };
  88. &lcd_panel {
  89. status = "disabled";
  90. /delete-node/ port;
  91. };
  92. &pfc {
  93. can1_pins: can1 {
  94. groups = "can1_data_b";
  95. function = "can1";
  96. };
  97. du0_pins: du0 {
  98. groups = "du0_rgb888", "du0_sync", "du0_disp", "du0_clk0_out";
  99. function = "du0";
  100. };
  101. hscif2_pins: hscif2 {
  102. groups = "hscif2_data";
  103. function = "hscif2";
  104. };
  105. i2c1_pins: i2c1 {
  106. groups = "i2c1_d";
  107. function = "i2c1";
  108. };
  109. scif1_pins: scif1 {
  110. groups = "scif1_data";
  111. function = "scif1";
  112. };
  113. scif5_pins: scif5 {
  114. groups = "scif5_data_d";
  115. function = "scif5";
  116. };
  117. };
  118. &scif1 {
  119. pinctrl-0 = <&scif1_pins>;
  120. pinctrl-names = "default";
  121. status = "okay";
  122. };
  123. &scif5 {
  124. pinctrl-0 = <&scif5_pins>;
  125. pinctrl-names = "default";
  126. status = "okay";
  127. };