r8a7795-salvator-x.dts 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Device Tree Source for the Salvator-X board with R-Car H3 ES2.0
  4. *
  5. * Copyright (C) 2015 Renesas Electronics Corp.
  6. */
  7. /dts-v1/;
  8. #include "r8a7795.dtsi"
  9. #include "salvator-x.dtsi"
  10. / {
  11. model = "Renesas Salvator-X board based on r8a7795 ES2.0+";
  12. compatible = "renesas,salvator-x", "renesas,r8a7795";
  13. memory@48000000 {
  14. device_type = "memory";
  15. /* first 128MB is reserved for secure area. */
  16. reg = <0x0 0x48000000 0x0 0x38000000>;
  17. };
  18. memory@500000000 {
  19. device_type = "memory";
  20. reg = <0x5 0x00000000 0x0 0x40000000>;
  21. };
  22. memory@600000000 {
  23. device_type = "memory";
  24. reg = <0x6 0x00000000 0x0 0x40000000>;
  25. };
  26. memory@700000000 {
  27. device_type = "memory";
  28. reg = <0x7 0x00000000 0x0 0x40000000>;
  29. };
  30. };
  31. &du {
  32. clocks = <&cpg CPG_MOD 724>,
  33. <&cpg CPG_MOD 723>,
  34. <&cpg CPG_MOD 722>,
  35. <&cpg CPG_MOD 721>,
  36. <&cpg CPG_MOD 727>,
  37. <&versaclock5 1>,
  38. <&x21_clk>,
  39. <&x22_clk>,
  40. <&versaclock5 2>;
  41. clock-names = "du.0", "du.1", "du.2", "du.3", "lvds.0",
  42. "dclkin.0", "dclkin.1", "dclkin.2", "dclkin.3";
  43. };
  44. &ehci2 {
  45. status = "okay";
  46. };
  47. &sound_card {
  48. dais = <&rsnd_port0 /* ak4613 */
  49. &rsnd_port1 /* HDMI0 */
  50. &rsnd_port2>; /* HDMI1 */
  51. };
  52. &hdmi0 {
  53. status = "okay";
  54. ports {
  55. port@1 {
  56. reg = <1>;
  57. rcar_dw_hdmi0_out: endpoint {
  58. remote-endpoint = <&hdmi0_con>;
  59. };
  60. };
  61. port@2 {
  62. reg = <2>;
  63. dw_hdmi0_snd_in: endpoint {
  64. remote-endpoint = <&rsnd_endpoint1>;
  65. };
  66. };
  67. };
  68. };
  69. &hdmi0_con {
  70. remote-endpoint = <&rcar_dw_hdmi0_out>;
  71. };
  72. &hdmi1 {
  73. status = "okay";
  74. ports {
  75. port@1 {
  76. reg = <1>;
  77. rcar_dw_hdmi1_out: endpoint {
  78. remote-endpoint = <&hdmi1_con>;
  79. };
  80. };
  81. port@2 {
  82. reg = <2>;
  83. dw_hdmi1_snd_in: endpoint {
  84. remote-endpoint = <&rsnd_endpoint2>;
  85. };
  86. };
  87. };
  88. };
  89. &hdmi1_con {
  90. remote-endpoint = <&rcar_dw_hdmi1_out>;
  91. };
  92. &ohci2 {
  93. status = "okay";
  94. };
  95. &rcar_sound {
  96. ports {
  97. /* rsnd_port0 is on salvator-common */
  98. rsnd_port1: port@1 {
  99. rsnd_endpoint1: endpoint {
  100. remote-endpoint = <&dw_hdmi0_snd_in>;
  101. dai-format = "i2s";
  102. bitclock-master = <&rsnd_endpoint1>;
  103. frame-master = <&rsnd_endpoint1>;
  104. playback = <&ssi2>;
  105. };
  106. };
  107. rsnd_port2: port@2 {
  108. rsnd_endpoint2: endpoint {
  109. remote-endpoint = <&dw_hdmi1_snd_in>;
  110. dai-format = "i2s";
  111. bitclock-master = <&rsnd_endpoint2>;
  112. frame-master = <&rsnd_endpoint2>;
  113. playback = <&ssi3>;
  114. };
  115. };
  116. };
  117. };
  118. &pfc {
  119. usb2_pins: usb2 {
  120. groups = "usb2";
  121. function = "usb2";
  122. };
  123. };
  124. &sata {
  125. status = "okay";
  126. };
  127. &usb2_phy2 {
  128. pinctrl-0 = <&usb2_pins>;
  129. pinctrl-names = "default";
  130. status = "okay";
  131. };