r8a77970-v3msk.dts 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303
  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. #include <dt-bindings/gpio/gpio.h>
  11. / {
  12. model = "Renesas V3M Starter Kit board";
  13. compatible = "renesas,v3msk", "renesas,r8a77970";
  14. aliases {
  15. i2c0 = &i2c0;
  16. i2c1 = &i2c1;
  17. i2c2 = &i2c2;
  18. i2c3 = &i2c3;
  19. i2c4 = &i2c4;
  20. serial0 = &scif0;
  21. };
  22. chosen {
  23. stdout-path = "serial0:115200n8";
  24. };
  25. hdmi-out {
  26. compatible = "hdmi-connector";
  27. type = "a";
  28. port {
  29. hdmi_con: endpoint {
  30. remote-endpoint = <&adv7511_out>;
  31. };
  32. };
  33. };
  34. lvds-decoder {
  35. compatible = "thine,thc63lvd1024";
  36. vcc-supply = <&vcc_d3_3v>;
  37. ports {
  38. #address-cells = <1>;
  39. #size-cells = <0>;
  40. port@0 {
  41. reg = <0>;
  42. thc63lvd1024_in: endpoint {
  43. remote-endpoint = <&lvds0_out>;
  44. };
  45. };
  46. port@2 {
  47. reg = <2>;
  48. thc63lvd1024_out: endpoint {
  49. remote-endpoint = <&adv7511_in>;
  50. };
  51. };
  52. };
  53. };
  54. memory@48000000 {
  55. device_type = "memory";
  56. /* first 128MB is reserved for secure area. */
  57. reg = <0x0 0x48000000 0x0 0x78000000>;
  58. };
  59. osc5_clk: osc5-clock {
  60. compatible = "fixed-clock";
  61. #clock-cells = <0>;
  62. clock-frequency = <148500000>;
  63. };
  64. vcc_d1_8v: regulator-0 {
  65. compatible = "regulator-fixed";
  66. regulator-name = "VCC_D1.8V";
  67. regulator-min-microvolt = <1800000>;
  68. regulator-max-microvolt = <1800000>;
  69. regulator-boot-on;
  70. regulator-always-on;
  71. };
  72. vcc_d3_3v: regulator-1 {
  73. compatible = "regulator-fixed";
  74. regulator-name = "VCC_D3.3V";
  75. regulator-min-microvolt = <3300000>;
  76. regulator-max-microvolt = <3300000>;
  77. regulator-boot-on;
  78. regulator-always-on;
  79. };
  80. vcc_vddq_vin0: regulator-2 {
  81. compatible = "regulator-fixed";
  82. regulator-name = "VCC_VDDQ_VIN0";
  83. regulator-min-microvolt = <3300000>;
  84. regulator-max-microvolt = <3300000>;
  85. regulator-boot-on;
  86. regulator-always-on;
  87. };
  88. };
  89. &avb {
  90. pinctrl-0 = <&avb_pins>;
  91. pinctrl-names = "default";
  92. renesas,no-ether-link;
  93. phy-handle = <&phy0>;
  94. rx-internal-delay-ps = <1800>;
  95. tx-internal-delay-ps = <2000>;
  96. status = "okay";
  97. phy0: ethernet-phy@0 {
  98. compatible = "ethernet-phy-id0022.1622",
  99. "ethernet-phy-ieee802.3-c22";
  100. rxc-skew-ps = <1500>;
  101. reg = <0>;
  102. interrupt-parent = <&gpio1>;
  103. interrupts = <17 IRQ_TYPE_LEVEL_LOW>;
  104. reset-gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
  105. };
  106. };
  107. &du {
  108. clocks = <&cpg CPG_MOD 724>,
  109. <&osc5_clk>;
  110. clock-names = "du.0", "dclkin.0";
  111. status = "okay";
  112. };
  113. &extal_clk {
  114. clock-frequency = <16666666>;
  115. };
  116. &extalr_clk {
  117. clock-frequency = <32768>;
  118. };
  119. &i2c0 {
  120. pinctrl-0 = <&i2c0_pins>;
  121. pinctrl-names = "default";
  122. status = "okay";
  123. clock-frequency = <400000>;
  124. hdmi@39{
  125. compatible = "adi,adv7511w";
  126. #sound-dai-cells = <0>;
  127. reg = <0x39>;
  128. interrupt-parent = <&gpio1>;
  129. interrupts = <20 IRQ_TYPE_LEVEL_LOW>;
  130. avdd-supply = <&vcc_d1_8v>;
  131. dvdd-supply = <&vcc_d1_8v>;
  132. pvdd-supply = <&vcc_d1_8v>;
  133. bgvdd-supply = <&vcc_d1_8v>;
  134. dvdd-3v-supply = <&vcc_d3_3v>;
  135. adi,input-depth = <8>;
  136. adi,input-colorspace = "rgb";
  137. adi,input-clock = "1x";
  138. ports {
  139. #address-cells = <1>;
  140. #size-cells = <0>;
  141. port@0 {
  142. reg = <0>;
  143. adv7511_in: endpoint {
  144. remote-endpoint = <&thc63lvd1024_out>;
  145. };
  146. };
  147. port@1 {
  148. reg = <1>;
  149. adv7511_out: endpoint {
  150. remote-endpoint = <&hdmi_con>;
  151. };
  152. };
  153. };
  154. };
  155. };
  156. &lvds0 {
  157. status = "okay";
  158. ports {
  159. port@1 {
  160. lvds0_out: endpoint {
  161. remote-endpoint = <&thc63lvd1024_in>;
  162. };
  163. };
  164. };
  165. };
  166. &mmc0 {
  167. pinctrl-0 = <&mmc_pins>;
  168. pinctrl-names = "default";
  169. vmmc-supply = <&vcc_d3_3v>;
  170. vqmmc-supply = <&vcc_vddq_vin0>;
  171. bus-width = <8>;
  172. non-removable;
  173. status = "okay";
  174. };
  175. &pfc {
  176. avb_pins: avb0 {
  177. groups = "avb0_mdio", "avb0_rgmii", "avb0_txcrefclk";
  178. function = "avb0";
  179. };
  180. i2c0_pins: i2c0 {
  181. groups = "i2c0";
  182. function = "i2c0";
  183. };
  184. mmc_pins: mmc_3_3v {
  185. groups = "mmc_data8", "mmc_ctrl";
  186. function = "mmc";
  187. power-source = <3300>;
  188. };
  189. qspi0_pins: qspi0 {
  190. groups = "qspi0_ctrl", "qspi0_data4";
  191. function = "qspi0";
  192. };
  193. scif0_pins: scif0 {
  194. groups = "scif0_data";
  195. function = "scif0";
  196. };
  197. };
  198. &rpc {
  199. pinctrl-0 = <&qspi0_pins>;
  200. pinctrl-names = "default";
  201. status = "okay";
  202. flash@0 {
  203. compatible = "spansion,s25fs512s", "jedec,spi-nor";
  204. reg = <0>;
  205. spi-max-frequency = <50000000>;
  206. spi-rx-bus-width = <4>;
  207. partitions {
  208. compatible = "fixed-partitions";
  209. #address-cells = <1>;
  210. #size-cells = <1>;
  211. bootparam@0 {
  212. reg = <0x00000000 0x040000>;
  213. read-only;
  214. };
  215. cr7@40000 {
  216. reg = <0x00040000 0x080000>;
  217. read-only;
  218. };
  219. cert_header_sa3@c0000 {
  220. reg = <0x000c0000 0x080000>;
  221. read-only;
  222. };
  223. bl2@140000 {
  224. reg = <0x00140000 0x040000>;
  225. read-only;
  226. };
  227. cert_header_sa6@180000 {
  228. reg = <0x00180000 0x040000>;
  229. read-only;
  230. };
  231. bl31@1c0000 {
  232. reg = <0x001c0000 0x460000>;
  233. read-only;
  234. };
  235. uboot@640000 {
  236. reg = <0x00640000 0x0c0000>;
  237. read-only;
  238. };
  239. uboot-env@700000 {
  240. reg = <0x00700000 0x040000>;
  241. read-only;
  242. };
  243. dtb@740000 {
  244. reg = <0x00740000 0x080000>;
  245. };
  246. kernel@7c0000 {
  247. reg = <0x007c0000 0x1400000>;
  248. };
  249. user@1bc0000 {
  250. reg = <0x01bc0000 0x2440000>;
  251. };
  252. };
  253. };
  254. };
  255. &scif0 {
  256. pinctrl-0 = <&scif0_pins>;
  257. pinctrl-names = "default";
  258. status = "okay";
  259. };