exynos5440.dtsi 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  1. /*
  2. * SAMSUNG EXYNOS5440 SoC device tree source
  3. *
  4. * Copyright (c) 2012 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. / {
  13. compatible = "samsung,exynos5440";
  14. interrupt-parent = <&gic>;
  15. clock: clock-controller@0x160000 {
  16. compatible = "samsung,exynos5440-clock";
  17. reg = <0x160000 0x1000>;
  18. #clock-cells = <1>;
  19. };
  20. gic:interrupt-controller@2E0000 {
  21. compatible = "arm,cortex-a15-gic";
  22. #interrupt-cells = <3>;
  23. interrupt-controller;
  24. reg = <0x2E1000 0x1000>,
  25. <0x2E2000 0x1000>,
  26. <0x2E4000 0x2000>,
  27. <0x2E6000 0x2000>;
  28. interrupts = <1 9 0xf04>;
  29. };
  30. cpus {
  31. #address-cells = <1>;
  32. #size-cells = <0>;
  33. cpu@0 {
  34. compatible = "arm,cortex-a15";
  35. reg = <0>;
  36. };
  37. cpu@1 {
  38. compatible = "arm,cortex-a15";
  39. reg = <1>;
  40. };
  41. cpu@2 {
  42. compatible = "arm,cortex-a15";
  43. reg = <2>;
  44. };
  45. cpu@3 {
  46. compatible = "arm,cortex-a15";
  47. reg = <3>;
  48. };
  49. };
  50. arm-pmu {
  51. compatible = "arm,cortex-a15-pmu", "arm,cortex-a9-pmu";
  52. interrupts = <0 52 4>,
  53. <0 53 4>,
  54. <0 54 4>,
  55. <0 55 4>;
  56. };
  57. timer {
  58. compatible = "arm,cortex-a15-timer",
  59. "arm,armv7-timer";
  60. interrupts = <1 13 0xf08>,
  61. <1 14 0xf08>,
  62. <1 11 0xf08>,
  63. <1 10 0xf08>;
  64. clock-frequency = <50000000>;
  65. };
  66. serial@B0000 {
  67. compatible = "samsung,exynos4210-uart";
  68. reg = <0xB0000 0x1000>;
  69. interrupts = <0 2 0>;
  70. clocks = <&clock 21>, <&clock 21>;
  71. clock-names = "uart", "clk_uart_baud0";
  72. };
  73. serial@C0000 {
  74. compatible = "samsung,exynos4210-uart";
  75. reg = <0xC0000 0x1000>;
  76. interrupts = <0 3 0>;
  77. clocks = <&clock 21>, <&clock 21>;
  78. clock-names = "uart", "clk_uart_baud0";
  79. };
  80. spi {
  81. compatible = "samsung,exynos4210-spi";
  82. reg = <0xD0000 0x1000>;
  83. interrupts = <0 4 0>;
  84. tx-dma-channel = <&pdma0 5>; /* preliminary */
  85. rx-dma-channel = <&pdma0 4>; /* preliminary */
  86. #address-cells = <1>;
  87. #size-cells = <0>;
  88. clocks = <&clock 21>, <&clock 16>;
  89. clock-names = "spi", "spi_busclk0";
  90. };
  91. pinctrl {
  92. compatible = "samsung,exynos5440-pinctrl";
  93. reg = <0xE0000 0x1000>;
  94. interrupts = <0 37 0>, <0 38 0>, <0 39 0>, <0 40 0>,
  95. <0 41 0>, <0 42 0>, <0 43 0>, <0 44 0>;
  96. interrupt-controller;
  97. #interrupt-cells = <2>;
  98. #gpio-cells = <2>;
  99. fan: fan {
  100. samsung,exynos5440-pin-function = <1>;
  101. };
  102. hdd_led0: hdd_led0 {
  103. samsung,exynos5440-pin-function = <2>;
  104. };
  105. hdd_led1: hdd_led1 {
  106. samsung,exynos5440-pin-function = <3>;
  107. };
  108. uart1: uart1 {
  109. samsung,exynos5440-pin-function = <4>;
  110. };
  111. };
  112. i2c@F0000 {
  113. compatible = "samsung,exynos5440-i2c";
  114. reg = <0xF0000 0x1000>;
  115. interrupts = <0 5 0>;
  116. #address-cells = <1>;
  117. #size-cells = <0>;
  118. clocks = <&clock 21>;
  119. clock-names = "i2c";
  120. };
  121. i2c@100000 {
  122. compatible = "samsung,exynos5440-i2c";
  123. reg = <0x100000 0x1000>;
  124. interrupts = <0 6 0>;
  125. #address-cells = <1>;
  126. #size-cells = <0>;
  127. clocks = <&clock 21>;
  128. clock-names = "i2c";
  129. };
  130. watchdog {
  131. compatible = "samsung,s3c2410-wdt";
  132. reg = <0x110000 0x1000>;
  133. interrupts = <0 1 0>;
  134. clocks = <&clock 21>;
  135. clock-names = "watchdog";
  136. };
  137. gmac: ethernet@00230000 {
  138. compatible = "snps,dwmac-3.70a";
  139. reg = <0x00230000 0x8000>;
  140. interrupt-parent = <&gic>;
  141. interrupts = <0 31 4>;
  142. interrupt-names = "macirq";
  143. phy-mode = "sgmii";
  144. clocks = <&clock 25>;
  145. clock-names = "stmmaceth";
  146. };
  147. amba {
  148. #address-cells = <1>;
  149. #size-cells = <1>;
  150. compatible = "arm,amba-bus";
  151. interrupt-parent = <&gic>;
  152. ranges;
  153. pdma0: pdma@121A0000 {
  154. compatible = "arm,pl330", "arm,primecell";
  155. reg = <0x120000 0x1000>;
  156. interrupts = <0 34 0>;
  157. clocks = <&clock 21>;
  158. clock-names = "apb_pclk";
  159. #dma-cells = <1>;
  160. #dma-channels = <8>;
  161. #dma-requests = <32>;
  162. };
  163. pdma1: pdma@121B0000 {
  164. compatible = "arm,pl330", "arm,primecell";
  165. reg = <0x121000 0x1000>;
  166. interrupts = <0 35 0>;
  167. clocks = <&clock 21>;
  168. clock-names = "apb_pclk";
  169. #dma-cells = <1>;
  170. #dma-channels = <8>;
  171. #dma-requests = <32>;
  172. };
  173. };
  174. rtc {
  175. compatible = "samsung,s3c6410-rtc";
  176. reg = <0x130000 0x1000>;
  177. interrupts = <0 17 0>, <0 16 0>;
  178. clocks = <&clock 21>;
  179. clock-names = "rtc";
  180. };
  181. };