r8a7796-salvator-x.dts 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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. <&cpg CPG_MOD 727>,
  28. <&versaclock5 1>,
  29. <&x21_clk>,
  30. <&versaclock5 2>;
  31. clock-names = "du.0", "du.1", "du.2", "lvds.0",
  32. "dclkin.0", "dclkin.1", "dclkin.2";
  33. };
  34. &sound_card {
  35. dais = <&rsnd_port0 /* ak4613 */
  36. &rsnd_port1>; /* HDMI0 */
  37. };
  38. &hdmi0 {
  39. status = "okay";
  40. ports {
  41. port@1 {
  42. reg = <1>;
  43. rcar_dw_hdmi0_out: endpoint {
  44. remote-endpoint = <&hdmi0_con>;
  45. };
  46. };
  47. port@2 {
  48. reg = <2>;
  49. dw_hdmi0_snd_in: endpoint {
  50. remote-endpoint = <&rsnd_endpoint1>;
  51. };
  52. };
  53. };
  54. };
  55. &hdmi0_con {
  56. remote-endpoint = <&rcar_dw_hdmi0_out>;
  57. };
  58. &rcar_sound {
  59. ports {
  60. /* rsnd_port0 is on salvator-common */
  61. rsnd_port1: port@1 {
  62. rsnd_endpoint1: endpoint {
  63. remote-endpoint = <&dw_hdmi0_snd_in>;
  64. dai-format = "i2s";
  65. bitclock-master = <&rsnd_endpoint1>;
  66. frame-master = <&rsnd_endpoint1>;
  67. playback = <&ssi2>;
  68. };
  69. };
  70. };
  71. };