r8a7790.dtsi 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  1. /*
  2. * Device Tree Source for the r8a7790 SoC
  3. *
  4. * Copyright (C) 2013 Renesas Solutions Corp.
  5. *
  6. * This file is licensed under the terms of the GNU General Public License
  7. * version 2. This program is licensed "as is" without any warranty of any
  8. * kind, whether express or implied.
  9. */
  10. / {
  11. compatible = "renesas,r8a7790";
  12. interrupt-parent = <&gic>;
  13. #address-cells = <2>;
  14. #size-cells = <2>;
  15. cpus {
  16. #address-cells = <1>;
  17. #size-cells = <0>;
  18. cpu0: cpu@0 {
  19. device_type = "cpu";
  20. compatible = "arm,cortex-a15";
  21. reg = <0>;
  22. clock-frequency = <1300000000>;
  23. };
  24. cpu1: cpu@1 {
  25. device_type = "cpu";
  26. compatible = "arm,cortex-a15";
  27. reg = <1>;
  28. clock-frequency = <1300000000>;
  29. };
  30. cpu2: cpu@2 {
  31. device_type = "cpu";
  32. compatible = "arm,cortex-a15";
  33. reg = <2>;
  34. clock-frequency = <1300000000>;
  35. };
  36. cpu3: cpu@3 {
  37. device_type = "cpu";
  38. compatible = "arm,cortex-a15";
  39. reg = <3>;
  40. clock-frequency = <1300000000>;
  41. };
  42. cpu4: cpu@4 {
  43. device_type = "cpu";
  44. compatible = "arm,cortex-a7";
  45. reg = <0x100>;
  46. clock-frequency = <780000000>;
  47. };
  48. cpu5: cpu@5 {
  49. device_type = "cpu";
  50. compatible = "arm,cortex-a7";
  51. reg = <0x101>;
  52. clock-frequency = <780000000>;
  53. };
  54. cpu6: cpu@6 {
  55. device_type = "cpu";
  56. compatible = "arm,cortex-a7";
  57. reg = <0x102>;
  58. clock-frequency = <780000000>;
  59. };
  60. cpu7: cpu@7 {
  61. device_type = "cpu";
  62. compatible = "arm,cortex-a7";
  63. reg = <0x103>;
  64. clock-frequency = <780000000>;
  65. };
  66. };
  67. gic: interrupt-controller@f1001000 {
  68. compatible = "arm,cortex-a15-gic";
  69. #interrupt-cells = <3>;
  70. #address-cells = <0>;
  71. interrupt-controller;
  72. reg = <0 0xf1001000 0 0x1000>,
  73. <0 0xf1002000 0 0x1000>,
  74. <0 0xf1004000 0 0x2000>,
  75. <0 0xf1006000 0 0x2000>;
  76. interrupts = <1 9 0xf04>;
  77. };
  78. gpio0: gpio@ffc40000 {
  79. compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
  80. reg = <0 0xffc40000 0 0x2c>;
  81. interrupt-parent = <&gic>;
  82. interrupts = <0 4 0x4>;
  83. #gpio-cells = <2>;
  84. gpio-controller;
  85. gpio-ranges = <&pfc 0 0 32>;
  86. #interrupt-cells = <2>;
  87. interrupt-controller;
  88. };
  89. gpio1: gpio@ffc41000 {
  90. compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
  91. reg = <0 0xffc41000 0 0x2c>;
  92. interrupt-parent = <&gic>;
  93. interrupts = <0 5 0x4>;
  94. #gpio-cells = <2>;
  95. gpio-controller;
  96. gpio-ranges = <&pfc 0 32 32>;
  97. #interrupt-cells = <2>;
  98. interrupt-controller;
  99. };
  100. gpio2: gpio@ffc42000 {
  101. compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
  102. reg = <0 0xffc42000 0 0x2c>;
  103. interrupt-parent = <&gic>;
  104. interrupts = <0 6 0x4>;
  105. #gpio-cells = <2>;
  106. gpio-controller;
  107. gpio-ranges = <&pfc 0 64 32>;
  108. #interrupt-cells = <2>;
  109. interrupt-controller;
  110. };
  111. gpio3: gpio@ffc43000 {
  112. compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
  113. reg = <0 0xffc43000 0 0x2c>;
  114. interrupt-parent = <&gic>;
  115. interrupts = <0 7 0x4>;
  116. #gpio-cells = <2>;
  117. gpio-controller;
  118. gpio-ranges = <&pfc 0 96 32>;
  119. #interrupt-cells = <2>;
  120. interrupt-controller;
  121. };
  122. gpio4: gpio@ffc44000 {
  123. compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
  124. reg = <0 0xffc44000 0 0x2c>;
  125. interrupt-parent = <&gic>;
  126. interrupts = <0 8 0x4>;
  127. #gpio-cells = <2>;
  128. gpio-controller;
  129. gpio-ranges = <&pfc 0 128 32>;
  130. #interrupt-cells = <2>;
  131. interrupt-controller;
  132. };
  133. gpio5: gpio@ffc45000 {
  134. compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
  135. reg = <0 0xffc45000 0 0x2c>;
  136. interrupt-parent = <&gic>;
  137. interrupts = <0 9 0x4>;
  138. #gpio-cells = <2>;
  139. gpio-controller;
  140. gpio-ranges = <&pfc 0 160 32>;
  141. #interrupt-cells = <2>;
  142. interrupt-controller;
  143. };
  144. timer {
  145. compatible = "arm,armv7-timer";
  146. interrupts = <1 13 0xf08>,
  147. <1 14 0xf08>,
  148. <1 11 0xf08>,
  149. <1 10 0xf08>;
  150. };
  151. irqc0: interrupt-controller@e61c0000 {
  152. compatible = "renesas,irqc";
  153. #interrupt-cells = <2>;
  154. interrupt-controller;
  155. reg = <0 0xe61c0000 0 0x200>;
  156. interrupt-parent = <&gic>;
  157. interrupts = <0 0 4>, <0 1 4>, <0 2 4>, <0 3 4>;
  158. };
  159. mmcif0: mmcif@ee200000 {
  160. compatible = "renesas,sh-mmcif";
  161. reg = <0 0xee200000 0 0x80>;
  162. interrupt-parent = <&gic>;
  163. interrupts = <0 169 0x4>;
  164. reg-io-width = <4>;
  165. status = "disabled";
  166. };
  167. mmcif1: mmcif@ee220000 {
  168. compatible = "renesas,sh-mmcif";
  169. reg = <0 0xee220000 0 0x80>;
  170. interrupt-parent = <&gic>;
  171. interrupts = <0 170 0x4>;
  172. reg-io-width = <4>;
  173. status = "disabled";
  174. };
  175. pfc: pfc@e6060000 {
  176. compatible = "renesas,pfc-r8a7790";
  177. reg = <0 0xe6060000 0 0x250>;
  178. #gpio-range-cells = <3>;
  179. };
  180. sdhi0: sdhi@ee100000 {
  181. compatible = "renesas,r8a7790-sdhi";
  182. reg = <0 0xee100000 0 0x100>;
  183. interrupt-parent = <&gic>;
  184. interrupts = <0 165 4>;
  185. cap-sd-highspeed;
  186. status = "disabled";
  187. };
  188. sdhi1: sdhi@ee120000 {
  189. compatible = "renesas,r8a7790-sdhi";
  190. reg = <0 0xee120000 0 0x100>;
  191. interrupt-parent = <&gic>;
  192. interrupts = <0 166 4>;
  193. cap-sd-highspeed;
  194. status = "disabled";
  195. };
  196. sdhi2: sdhi@ee140000 {
  197. compatible = "renesas,r8a7790-sdhi";
  198. reg = <0 0xee140000 0 0x100>;
  199. interrupt-parent = <&gic>;
  200. interrupts = <0 167 4>;
  201. cap-sd-highspeed;
  202. status = "disabled";
  203. };
  204. sdhi3: sdhi@ee160000 {
  205. compatible = "renesas,r8a7790-sdhi";
  206. reg = <0 0xee160000 0 0x100>;
  207. interrupt-parent = <&gic>;
  208. interrupts = <0 168 4>;
  209. cap-sd-highspeed;
  210. status = "disabled";
  211. };
  212. };