r8a77980-v3hsk.dts 4.9 KB

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