r8a77970-eagle.dts 3.2 KB

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