r8a77970-v3msk.dts 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Device Tree Source for the V3M Starter Kit board
  4. *
  5. * Copyright (C) 2017 Renesas Electronics Corp.
  6. * Copyright (C) 2017 Cogent Embedded, Inc.
  7. */
  8. /dts-v1/;
  9. #include "r8a77970.dtsi"
  10. / {
  11. model = "Renesas V3M Starter Kit board";
  12. compatible = "renesas,v3msk", "renesas,r8a77970";
  13. aliases {
  14. serial0 = &scif0;
  15. };
  16. chosen {
  17. stdout-path = "serial0:115200n8";
  18. };
  19. memory@48000000 {
  20. device_type = "memory";
  21. /* first 128MB is reserved for secure area. */
  22. reg = <0x0 0x48000000 0x0 0x38000000>;
  23. };
  24. osc5_clk: osc5-clock {
  25. compatible = "fixed-clock";
  26. #clock-cells = <0>;
  27. clock-frequency = <148500000>;
  28. };
  29. vcc_d1_8v: regulator-0 {
  30. compatible = "regulator-fixed";
  31. regulator-name = "VCC_D1.8V";
  32. regulator-min-microvolt = <1800000>;
  33. regulator-max-microvolt = <1800000>;
  34. regulator-boot-on;
  35. regulator-always-on;
  36. };
  37. vcc_d3_3v: regulator-1 {
  38. compatible = "regulator-fixed";
  39. regulator-name = "VCC_D3.3V";
  40. regulator-min-microvolt = <3300000>;
  41. regulator-max-microvolt = <3300000>;
  42. regulator-boot-on;
  43. regulator-always-on;
  44. };
  45. lvds-decoder {
  46. compatible = "thine,thc63lvd1024";
  47. vcc-supply = <&vcc_d3_3v>;
  48. ports {
  49. #address-cells = <1>;
  50. #size-cells = <0>;
  51. port@0 {
  52. reg = <0>;
  53. thc63lvd1024_in: endpoint {
  54. remote-endpoint = <&lvds0_out>;
  55. };
  56. };
  57. port@2 {
  58. reg = <2>;
  59. thc63lvd1024_out: endpoint {
  60. remote-endpoint = <&adv7511_in>;
  61. };
  62. };
  63. };
  64. };
  65. hdmi-out {
  66. compatible = "hdmi-connector";
  67. type = "a";
  68. port {
  69. hdmi_con: endpoint {
  70. remote-endpoint = <&adv7511_out>;
  71. };
  72. };
  73. };
  74. };
  75. &avb {
  76. pinctrl-0 = <&avb_pins>;
  77. pinctrl-names = "default";
  78. renesas,no-ether-link;
  79. phy-handle = <&phy0>;
  80. phy-mode = "rgmii-id";
  81. status = "okay";
  82. phy0: ethernet-phy@0 {
  83. rxc-skew-ps = <1500>;
  84. reg = <0>;
  85. };
  86. };
  87. &du {
  88. clocks = <&cpg CPG_MOD 724>,
  89. <&osc5_clk>;
  90. clock-names = "du.0", "dclkin.0";
  91. status = "okay";
  92. };
  93. &extal_clk {
  94. clock-frequency = <16666666>;
  95. };
  96. &extalr_clk {
  97. clock-frequency = <32768>;
  98. };
  99. &pfc {
  100. avb_pins: avb0 {
  101. groups = "avb0_mdio", "avb0_rgmii", "avb0_txcrefclk";
  102. function = "avb0";
  103. };
  104. i2c0_pins: i2c0 {
  105. groups = "i2c0";
  106. function = "i2c0";
  107. };
  108. scif0_pins: scif0 {
  109. groups = "scif0_data";
  110. function = "scif0";
  111. };
  112. };
  113. &i2c0 {
  114. pinctrl-0 = <&i2c0_pins>;
  115. pinctrl-names = "default";
  116. status = "okay";
  117. clock-frequency = <400000>;
  118. hdmi@39{
  119. compatible = "adi,adv7511w";
  120. #sound-dai-cells = <0>;
  121. reg = <0x39>;
  122. interrupt-parent = <&gpio1>;
  123. interrupts = <20 IRQ_TYPE_LEVEL_LOW>;
  124. avdd-supply = <&vcc_d1_8v>;
  125. dvdd-supply = <&vcc_d1_8v>;
  126. pvdd-supply = <&vcc_d1_8v>;
  127. bgvdd-supply = <&vcc_d1_8v>;
  128. dvdd-3v-supply = <&vcc_d3_3v>;
  129. adi,input-depth = <8>;
  130. adi,input-colorspace = "rgb";
  131. adi,input-clock = "1x";
  132. adi,input-style = <1>;
  133. adi,input-justification = "evenly";
  134. ports {
  135. #address-cells = <1>;
  136. #size-cells = <0>;
  137. port@0 {
  138. reg = <0>;
  139. adv7511_in: endpoint {
  140. remote-endpoint = <&thc63lvd1024_out>;
  141. };
  142. };
  143. port@1 {
  144. reg = <1>;
  145. adv7511_out: endpoint {
  146. remote-endpoint = <&hdmi_con>;
  147. };
  148. };
  149. };
  150. };
  151. };
  152. &lvds0 {
  153. status = "okay";
  154. ports {
  155. port@1 {
  156. lvds0_out: endpoint {
  157. remote-endpoint = <&thc63lvd1024_in>;
  158. };
  159. };
  160. };
  161. };
  162. &scif0 {
  163. pinctrl-0 = <&scif0_pins>;
  164. pinctrl-names = "default";
  165. status = "okay";
  166. };