r8a77970-v3msk.dts 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  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. vcc_vddq_vin0: regulator-2 {
  46. compatible = "regulator-fixed";
  47. regulator-name = "VCC_VDDQ_VIN0";
  48. regulator-min-microvolt = <3300000>;
  49. regulator-max-microvolt = <3300000>;
  50. regulator-boot-on;
  51. regulator-always-on;
  52. };
  53. lvds-decoder {
  54. compatible = "thine,thc63lvd1024";
  55. vcc-supply = <&vcc_d3_3v>;
  56. ports {
  57. #address-cells = <1>;
  58. #size-cells = <0>;
  59. port@0 {
  60. reg = <0>;
  61. thc63lvd1024_in: endpoint {
  62. remote-endpoint = <&lvds0_out>;
  63. };
  64. };
  65. port@2 {
  66. reg = <2>;
  67. thc63lvd1024_out: endpoint {
  68. remote-endpoint = <&adv7511_in>;
  69. };
  70. };
  71. };
  72. };
  73. hdmi-out {
  74. compatible = "hdmi-connector";
  75. type = "a";
  76. port {
  77. hdmi_con: endpoint {
  78. remote-endpoint = <&adv7511_out>;
  79. };
  80. };
  81. };
  82. };
  83. &avb {
  84. pinctrl-0 = <&avb_pins>;
  85. pinctrl-names = "default";
  86. renesas,no-ether-link;
  87. phy-handle = <&phy0>;
  88. phy-mode = "rgmii-id";
  89. status = "okay";
  90. phy0: ethernet-phy@0 {
  91. rxc-skew-ps = <1500>;
  92. reg = <0>;
  93. };
  94. };
  95. &du {
  96. clocks = <&cpg CPG_MOD 724>,
  97. <&osc5_clk>;
  98. clock-names = "du.0", "dclkin.0";
  99. status = "okay";
  100. };
  101. &extal_clk {
  102. clock-frequency = <16666666>;
  103. };
  104. &extalr_clk {
  105. clock-frequency = <32768>;
  106. };
  107. &pfc {
  108. avb_pins: avb0 {
  109. groups = "avb0_mdio", "avb0_rgmii", "avb0_txcrefclk";
  110. function = "avb0";
  111. };
  112. i2c0_pins: i2c0 {
  113. groups = "i2c0";
  114. function = "i2c0";
  115. };
  116. mmc_pins: mmc_3_3v {
  117. groups = "mmc_data8", "mmc_ctrl";
  118. function = "mmc";
  119. power-source = <3300>;
  120. };
  121. scif0_pins: scif0 {
  122. groups = "scif0_data";
  123. function = "scif0";
  124. };
  125. };
  126. &i2c0 {
  127. pinctrl-0 = <&i2c0_pins>;
  128. pinctrl-names = "default";
  129. status = "okay";
  130. clock-frequency = <400000>;
  131. hdmi@39{
  132. compatible = "adi,adv7511w";
  133. #sound-dai-cells = <0>;
  134. reg = <0x39>;
  135. interrupt-parent = <&gpio1>;
  136. interrupts = <20 IRQ_TYPE_LEVEL_LOW>;
  137. avdd-supply = <&vcc_d1_8v>;
  138. dvdd-supply = <&vcc_d1_8v>;
  139. pvdd-supply = <&vcc_d1_8v>;
  140. bgvdd-supply = <&vcc_d1_8v>;
  141. dvdd-3v-supply = <&vcc_d3_3v>;
  142. adi,input-depth = <8>;
  143. adi,input-colorspace = "rgb";
  144. adi,input-clock = "1x";
  145. adi,input-style = <1>;
  146. adi,input-justification = "evenly";
  147. ports {
  148. #address-cells = <1>;
  149. #size-cells = <0>;
  150. port@0 {
  151. reg = <0>;
  152. adv7511_in: endpoint {
  153. remote-endpoint = <&thc63lvd1024_out>;
  154. };
  155. };
  156. port@1 {
  157. reg = <1>;
  158. adv7511_out: endpoint {
  159. remote-endpoint = <&hdmi_con>;
  160. };
  161. };
  162. };
  163. };
  164. };
  165. &lvds0 {
  166. status = "okay";
  167. ports {
  168. port@1 {
  169. lvds0_out: endpoint {
  170. remote-endpoint = <&thc63lvd1024_in>;
  171. };
  172. };
  173. };
  174. };
  175. &mmc0 {
  176. pinctrl-0 = <&mmc_pins>;
  177. pinctrl-names = "default";
  178. vmmc-supply = <&vcc_d3_3v>;
  179. vqmmc-supply = <&vcc_vddq_vin0>;
  180. bus-width = <8>;
  181. non-removable;
  182. status = "okay";
  183. };
  184. &scif0 {
  185. pinctrl-0 = <&scif0_pins>;
  186. pinctrl-names = "default";
  187. status = "okay";
  188. };