r8a7796-salvator-x.dts 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Device Tree Source for the Salvator-X board with R-Car M3-W
  4. *
  5. * Copyright (C) 2016 Renesas Electronics Corp.
  6. */
  7. /dts-v1/;
  8. #include "r8a7796.dtsi"
  9. #include "salvator-x.dtsi"
  10. / {
  11. model = "Renesas Salvator-X board based on r8a7796";
  12. compatible = "renesas,salvator-x", "renesas,r8a7796";
  13. memory@48000000 {
  14. device_type = "memory";
  15. /* first 128MB is reserved for secure area. */
  16. reg = <0x0 0x48000000 0x0 0x78000000>;
  17. };
  18. memory@600000000 {
  19. device_type = "memory";
  20. reg = <0x6 0x00000000 0x0 0x80000000>;
  21. };
  22. };
  23. &du {
  24. clocks = <&cpg CPG_MOD 724>,
  25. <&cpg CPG_MOD 723>,
  26. <&cpg CPG_MOD 722>,
  27. <&versaclock5 1>,
  28. <&x21_clk>,
  29. <&versaclock5 2>;
  30. clock-names = "du.0", "du.1", "du.2",
  31. "dclkin.0", "dclkin.1", "dclkin.2";
  32. };
  33. &sound_card {
  34. dais = <&rsnd_port0 /* ak4613 */
  35. &rsnd_port1>; /* HDMI0 */
  36. };
  37. &hdmi0 {
  38. status = "okay";
  39. ports {
  40. port@1 {
  41. reg = <1>;
  42. rcar_dw_hdmi0_out: endpoint {
  43. remote-endpoint = <&hdmi0_con>;
  44. };
  45. };
  46. port@2 {
  47. reg = <2>;
  48. dw_hdmi0_snd_in: endpoint {
  49. remote-endpoint = <&rsnd_endpoint1>;
  50. };
  51. };
  52. };
  53. };
  54. &hdmi0_con {
  55. remote-endpoint = <&rcar_dw_hdmi0_out>;
  56. };
  57. &rcar_sound {
  58. ports {
  59. /* rsnd_port0 is on salvator-common */
  60. rsnd_port1: port@1 {
  61. rsnd_endpoint1: endpoint {
  62. remote-endpoint = <&dw_hdmi0_snd_in>;
  63. dai-format = "i2s";
  64. bitclock-master = <&rsnd_endpoint1>;
  65. frame-master = <&rsnd_endpoint1>;
  66. playback = <&ssi2>;
  67. };
  68. };
  69. };
  70. };