exynos5260.dtsi 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313
  1. /*
  2. * SAMSUNG EXYNOS5260 SoC device tree source
  3. *
  4. * Copyright (c) 2013 Samsung Electronics Co., Ltd.
  5. * http://www.samsung.com
  6. *
  7. * This program is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License version 2 as
  9. * published by the Free Software Foundation.
  10. */
  11. #include "skeleton.dtsi"
  12. #include <dt-bindings/clock/exynos5260-clk.h>
  13. / {
  14. compatible = "samsung,exynos5260", "samsung,exynos5";
  15. interrupt-parent = <&gic>;
  16. aliases {
  17. pinctrl0 = &pinctrl_0;
  18. pinctrl1 = &pinctrl_1;
  19. pinctrl2 = &pinctrl_2;
  20. serial0 = &uart0;
  21. serial1 = &uart1;
  22. serial2 = &uart2;
  23. serial3 = &uart3;
  24. };
  25. cpus {
  26. #address-cells = <1>;
  27. #size-cells = <0>;
  28. cpu@0 {
  29. device_type = "cpu";
  30. compatible = "arm,cortex-a15";
  31. reg = <0x0>;
  32. cci-control-port = <&cci_control1>;
  33. };
  34. cpu@1 {
  35. device_type = "cpu";
  36. compatible = "arm,cortex-a15";
  37. reg = <0x1>;
  38. cci-control-port = <&cci_control1>;
  39. };
  40. cpu@100 {
  41. device_type = "cpu";
  42. compatible = "arm,cortex-a7";
  43. reg = <0x100>;
  44. cci-control-port = <&cci_control0>;
  45. };
  46. cpu@101 {
  47. device_type = "cpu";
  48. compatible = "arm,cortex-a7";
  49. reg = <0x101>;
  50. cci-control-port = <&cci_control0>;
  51. };
  52. cpu@102 {
  53. device_type = "cpu";
  54. compatible = "arm,cortex-a7";
  55. reg = <0x102>;
  56. cci-control-port = <&cci_control0>;
  57. };
  58. cpu@103 {
  59. device_type = "cpu";
  60. compatible = "arm,cortex-a7";
  61. reg = <0x103>;
  62. cci-control-port = <&cci_control0>;
  63. };
  64. };
  65. soc: soc {
  66. compatible = "simple-bus";
  67. #address-cells = <1>;
  68. #size-cells = <1>;
  69. ranges;
  70. clock_top: clock-controller@10010000 {
  71. compatible = "samsung,exynos5260-clock-top";
  72. reg = <0x10010000 0x10000>;
  73. #clock-cells = <1>;
  74. };
  75. clock_peri: clock-controller@10200000 {
  76. compatible = "samsung,exynos5260-clock-peri";
  77. reg = <0x10200000 0x10000>;
  78. #clock-cells = <1>;
  79. };
  80. clock_egl: clock-controller@10600000 {
  81. compatible = "samsung,exynos5260-clock-egl";
  82. reg = <0x10600000 0x10000>;
  83. #clock-cells = <1>;
  84. };
  85. clock_kfc: clock-controller@10700000 {
  86. compatible = "samsung,exynos5260-clock-kfc";
  87. reg = <0x10700000 0x10000>;
  88. #clock-cells = <1>;
  89. };
  90. clock_g2d: clock-controller@10A00000 {
  91. compatible = "samsung,exynos5260-clock-g2d";
  92. reg = <0x10A00000 0x10000>;
  93. #clock-cells = <1>;
  94. };
  95. clock_mif: clock-controller@10CE0000 {
  96. compatible = "samsung,exynos5260-clock-mif";
  97. reg = <0x10CE0000 0x10000>;
  98. #clock-cells = <1>;
  99. };
  100. clock_mfc: clock-controller@11090000 {
  101. compatible = "samsung,exynos5260-clock-mfc";
  102. reg = <0x11090000 0x10000>;
  103. #clock-cells = <1>;
  104. };
  105. clock_g3d: clock-controller@11830000 {
  106. compatible = "samsung,exynos5260-clock-g3d";
  107. reg = <0x11830000 0x10000>;
  108. #clock-cells = <1>;
  109. };
  110. clock_fsys: clock-controller@122E0000 {
  111. compatible = "samsung,exynos5260-clock-fsys";
  112. reg = <0x122E0000 0x10000>;
  113. #clock-cells = <1>;
  114. };
  115. clock_aud: clock-controller@128C0000 {
  116. compatible = "samsung,exynos5260-clock-aud";
  117. reg = <0x128C0000 0x10000>;
  118. #clock-cells = <1>;
  119. };
  120. clock_isp: clock-controller@133C0000 {
  121. compatible = "samsung,exynos5260-clock-isp";
  122. reg = <0x133C0000 0x10000>;
  123. #clock-cells = <1>;
  124. };
  125. clock_gscl: clock-controller@13F00000 {
  126. compatible = "samsung,exynos5260-clock-gscl";
  127. reg = <0x13F00000 0x10000>;
  128. #clock-cells = <1>;
  129. };
  130. clock_disp: clock-controller@14550000 {
  131. compatible = "samsung,exynos5260-clock-disp";
  132. reg = <0x14550000 0x10000>;
  133. #clock-cells = <1>;
  134. };
  135. gic: interrupt-controller@10481000 {
  136. compatible = "arm,cortex-a15-gic", "arm,cortex-a9-gic";
  137. #interrupt-cells = <3>;
  138. #address-cells = <0>;
  139. #size-cells = <0>;
  140. interrupt-controller;
  141. reg = <0x10481000 0x1000>,
  142. <0x10482000 0x1000>,
  143. <0x10484000 0x2000>,
  144. <0x10486000 0x2000>;
  145. interrupts = <1 9 0xf04>;
  146. };
  147. chipid: chipid@10000000 {
  148. compatible = "samsung,exynos4210-chipid";
  149. reg = <0x10000000 0x100>;
  150. };
  151. mct: mct@100B0000 {
  152. compatible = "samsung,exynos4210-mct";
  153. reg = <0x100B0000 0x1000>;
  154. clocks = <&fin_pll>, <&clock_peri PERI_CLK_MCT>;
  155. clock-names = "fin_pll", "mct";
  156. interrupts = <0 104 0>, <0 105 0>, <0 106 0>,
  157. <0 107 0>, <0 122 0>, <0 123 0>,
  158. <0 124 0>, <0 125 0>, <0 126 0>,
  159. <0 127 0>, <0 128 0>, <0 129 0>;
  160. };
  161. cci: cci@10F00000 {
  162. compatible = "arm,cci-400";
  163. #address-cells = <1>;
  164. #size-cells = <1>;
  165. reg = <0x10F00000 0x1000>;
  166. ranges = <0x0 0x10F00000 0x6000>;
  167. cci_control0: slave-if@4000 {
  168. compatible = "arm,cci-400-ctrl-if";
  169. interface-type = "ace";
  170. reg = <0x4000 0x1000>;
  171. };
  172. cci_control1: slave-if@5000 {
  173. compatible = "arm,cci-400-ctrl-if";
  174. interface-type = "ace";
  175. reg = <0x5000 0x1000>;
  176. };
  177. };
  178. pinctrl_0: pinctrl@11600000 {
  179. compatible = "samsung,exynos5260-pinctrl";
  180. reg = <0x11600000 0x1000>;
  181. interrupts = <0 79 0>;
  182. wakeup-interrupt-controller {
  183. compatible = "samsung,exynos4210-wakeup-eint";
  184. interrupt-parent = <&gic>;
  185. interrupts = <0 32 0>;
  186. };
  187. };
  188. pinctrl_1: pinctrl@12290000 {
  189. compatible = "samsung,exynos5260-pinctrl";
  190. reg = <0x12290000 0x1000>;
  191. interrupts = <0 157 0>;
  192. };
  193. pinctrl_2: pinctrl@128B0000 {
  194. compatible = "samsung,exynos5260-pinctrl";
  195. reg = <0x128B0000 0x1000>;
  196. interrupts = <0 243 0>;
  197. };
  198. pmu_system_controller: system-controller@10D50000 {
  199. compatible = "samsung,exynos5260-pmu", "syscon";
  200. reg = <0x10D50000 0x10000>;
  201. };
  202. uart0: serial@12C00000 {
  203. compatible = "samsung,exynos4210-uart";
  204. reg = <0x12C00000 0x100>;
  205. interrupts = <0 146 0>;
  206. clocks = <&clock_peri PERI_CLK_UART0>, <&clock_peri PERI_SCLK_UART0>;
  207. clock-names = "uart", "clk_uart_baud0";
  208. status = "disabled";
  209. };
  210. uart1: serial@12C10000 {
  211. compatible = "samsung,exynos4210-uart";
  212. reg = <0x12C10000 0x100>;
  213. interrupts = <0 147 0>;
  214. clocks = <&clock_peri PERI_CLK_UART1>, <&clock_peri PERI_SCLK_UART1>;
  215. clock-names = "uart", "clk_uart_baud0";
  216. status = "disabled";
  217. };
  218. uart2: serial@12C20000 {
  219. compatible = "samsung,exynos4210-uart";
  220. reg = <0x12C20000 0x100>;
  221. interrupts = <0 148 0>;
  222. clocks = <&clock_peri PERI_CLK_UART2>, <&clock_peri PERI_SCLK_UART2>;
  223. clock-names = "uart", "clk_uart_baud0";
  224. status = "disabled";
  225. };
  226. uart3: serial@12860000 {
  227. compatible = "samsung,exynos4210-uart";
  228. reg = <0x12860000 0x100>;
  229. interrupts = <0 145 0>;
  230. clocks = <&clock_aud AUD_CLK_AUD_UART>, <&clock_aud AUD_SCLK_AUD_UART>;
  231. clock-names = "uart", "clk_uart_baud0";
  232. status = "disabled";
  233. };
  234. mmc_0: mmc@12140000 {
  235. compatible = "samsung,exynos5250-dw-mshc";
  236. reg = <0x12140000 0x2000>;
  237. interrupts = <0 156 0>;
  238. #address-cells = <1>;
  239. #size-cells = <0>;
  240. clocks = <&clock_fsys FSYS_CLK_MMC0>, <&clock_top TOP_SCLK_MMC0>;
  241. clock-names = "biu", "ciu";
  242. fifo-depth = <64>;
  243. status = "disabled";
  244. };
  245. mmc_1: mmc@12150000 {
  246. compatible = "samsung,exynos5250-dw-mshc";
  247. reg = <0x12150000 0x2000>;
  248. interrupts = <0 158 0>;
  249. #address-cells = <1>;
  250. #size-cells = <0>;
  251. clocks = <&clock_fsys FSYS_CLK_MMC1>, <&clock_top TOP_SCLK_MMC1>;
  252. clock-names = "biu", "ciu";
  253. fifo-depth = <64>;
  254. status = "disabled";
  255. };
  256. mmc_2: mmc@12160000 {
  257. compatible = "samsung,exynos5250-dw-mshc";
  258. reg = <0x12160000 0x2000>;
  259. interrupts = <0 159 0>;
  260. #address-cells = <1>;
  261. #size-cells = <0>;
  262. clocks = <&clock_fsys FSYS_CLK_MMC2>, <&clock_top TOP_SCLK_MMC2>;
  263. clock-names = "biu", "ciu";
  264. fifo-depth = <64>;
  265. status = "disabled";
  266. };
  267. };
  268. };
  269. #include "exynos5260-pinctrl.dtsi"