am33xx.dtsi 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  1. /*
  2. * Device Tree Source for AM33XX SoC
  3. *
  4. * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
  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. /include/ "skeleton.dtsi"
  11. / {
  12. compatible = "ti,am33xx";
  13. aliases {
  14. serial0 = &uart1;
  15. serial1 = &uart2;
  16. serial2 = &uart3;
  17. serial3 = &uart4;
  18. serial4 = &uart5;
  19. serial5 = &uart6;
  20. };
  21. cpus {
  22. cpu@0 {
  23. compatible = "arm,cortex-a8";
  24. /*
  25. * To consider voltage drop between PMIC and SoC,
  26. * tolerance value is reduced to 2% from 4% and
  27. * voltage value is increased as a precaution.
  28. */
  29. operating-points = <
  30. /* kHz uV */
  31. 720000 1285000
  32. 600000 1225000
  33. 500000 1125000
  34. 275000 1125000
  35. >;
  36. voltage-tolerance = <2>; /* 2 percentage */
  37. clock-latency = <300000>; /* From omap-cpufreq driver */
  38. };
  39. };
  40. /*
  41. * The soc node represents the soc top level view. It is uses for IPs
  42. * that are not memory mapped in the MPU view or for the MPU itself.
  43. */
  44. soc {
  45. compatible = "ti,omap-infra";
  46. mpu {
  47. compatible = "ti,omap3-mpu";
  48. ti,hwmods = "mpu";
  49. };
  50. };
  51. am33xx_pinmux: pinmux@44e10800 {
  52. compatible = "pinctrl-single";
  53. reg = <0x44e10800 0x0238>;
  54. #address-cells = <1>;
  55. #size-cells = <0>;
  56. pinctrl-single,register-width = <32>;
  57. pinctrl-single,function-mask = <0x7f>;
  58. };
  59. /*
  60. * XXX: Use a flat representation of the AM33XX interconnect.
  61. * The real AM33XX interconnect network is quite complex.Since
  62. * that will not bring real advantage to represent that in DT
  63. * for the moment, just use a fake OCP bus entry to represent
  64. * the whole bus hierarchy.
  65. */
  66. ocp {
  67. compatible = "simple-bus";
  68. #address-cells = <1>;
  69. #size-cells = <1>;
  70. ranges;
  71. ti,hwmods = "l3_main";
  72. intc: interrupt-controller@48200000 {
  73. compatible = "ti,omap2-intc";
  74. interrupt-controller;
  75. #interrupt-cells = <1>;
  76. ti,intc-size = <128>;
  77. reg = <0x48200000 0x1000>;
  78. };
  79. gpio1: gpio@44e07000 {
  80. compatible = "ti,omap4-gpio";
  81. ti,hwmods = "gpio1";
  82. gpio-controller;
  83. #gpio-cells = <2>;
  84. interrupt-controller;
  85. #interrupt-cells = <1>;
  86. reg = <0x44e07000 0x1000>;
  87. interrupt-parent = <&intc>;
  88. interrupts = <96>;
  89. };
  90. gpio2: gpio@4804c000 {
  91. compatible = "ti,omap4-gpio";
  92. ti,hwmods = "gpio2";
  93. gpio-controller;
  94. #gpio-cells = <2>;
  95. interrupt-controller;
  96. #interrupt-cells = <1>;
  97. reg = <0x4804c000 0x1000>;
  98. interrupt-parent = <&intc>;
  99. interrupts = <98>;
  100. };
  101. gpio3: gpio@481ac000 {
  102. compatible = "ti,omap4-gpio";
  103. ti,hwmods = "gpio3";
  104. gpio-controller;
  105. #gpio-cells = <2>;
  106. interrupt-controller;
  107. #interrupt-cells = <1>;
  108. reg = <0x481ac000 0x1000>;
  109. interrupt-parent = <&intc>;
  110. interrupts = <32>;
  111. };
  112. gpio4: gpio@481ae000 {
  113. compatible = "ti,omap4-gpio";
  114. ti,hwmods = "gpio4";
  115. gpio-controller;
  116. #gpio-cells = <2>;
  117. interrupt-controller;
  118. #interrupt-cells = <1>;
  119. reg = <0x481ae000 0x1000>;
  120. interrupt-parent = <&intc>;
  121. interrupts = <62>;
  122. };
  123. uart1: serial@44e09000 {
  124. compatible = "ti,omap3-uart";
  125. ti,hwmods = "uart1";
  126. clock-frequency = <48000000>;
  127. reg = <0x44e09000 0x2000>;
  128. interrupt-parent = <&intc>;
  129. interrupts = <72>;
  130. status = "disabled";
  131. };
  132. uart2: serial@48022000 {
  133. compatible = "ti,omap3-uart";
  134. ti,hwmods = "uart2";
  135. clock-frequency = <48000000>;
  136. reg = <0x48022000 0x2000>;
  137. interrupt-parent = <&intc>;
  138. interrupts = <73>;
  139. status = "disabled";
  140. };
  141. uart3: serial@48024000 {
  142. compatible = "ti,omap3-uart";
  143. ti,hwmods = "uart3";
  144. clock-frequency = <48000000>;
  145. reg = <0x48024000 0x2000>;
  146. interrupt-parent = <&intc>;
  147. interrupts = <74>;
  148. status = "disabled";
  149. };
  150. uart4: serial@481a6000 {
  151. compatible = "ti,omap3-uart";
  152. ti,hwmods = "uart4";
  153. clock-frequency = <48000000>;
  154. reg = <0x481a6000 0x2000>;
  155. interrupt-parent = <&intc>;
  156. interrupts = <44>;
  157. status = "disabled";
  158. };
  159. uart5: serial@481a8000 {
  160. compatible = "ti,omap3-uart";
  161. ti,hwmods = "uart5";
  162. clock-frequency = <48000000>;
  163. reg = <0x481a8000 0x2000>;
  164. interrupt-parent = <&intc>;
  165. interrupts = <45>;
  166. status = "disabled";
  167. };
  168. uart6: serial@481aa000 {
  169. compatible = "ti,omap3-uart";
  170. ti,hwmods = "uart6";
  171. clock-frequency = <48000000>;
  172. reg = <0x481aa000 0x2000>;
  173. interrupt-parent = <&intc>;
  174. interrupts = <46>;
  175. status = "disabled";
  176. };
  177. i2c1: i2c@44e0b000 {
  178. compatible = "ti,omap4-i2c";
  179. #address-cells = <1>;
  180. #size-cells = <0>;
  181. ti,hwmods = "i2c1";
  182. reg = <0x44e0b000 0x1000>;
  183. interrupt-parent = <&intc>;
  184. interrupts = <70>;
  185. status = "disabled";
  186. };
  187. i2c2: i2c@4802a000 {
  188. compatible = "ti,omap4-i2c";
  189. #address-cells = <1>;
  190. #size-cells = <0>;
  191. ti,hwmods = "i2c2";
  192. reg = <0x4802a000 0x1000>;
  193. interrupt-parent = <&intc>;
  194. interrupts = <71>;
  195. status = "disabled";
  196. };
  197. i2c3: i2c@4819c000 {
  198. compatible = "ti,omap4-i2c";
  199. #address-cells = <1>;
  200. #size-cells = <0>;
  201. ti,hwmods = "i2c3";
  202. reg = <0x4819c000 0x1000>;
  203. interrupt-parent = <&intc>;
  204. interrupts = <30>;
  205. status = "disabled";
  206. };
  207. wdt2: wdt@44e35000 {
  208. compatible = "ti,omap3-wdt";
  209. ti,hwmods = "wd_timer2";
  210. reg = <0x44e35000 0x1000>;
  211. interrupt-parent = <&intc>;
  212. interrupts = <91>;
  213. };
  214. dcan0: d_can@481cc000 {
  215. compatible = "bosch,d_can";
  216. ti,hwmods = "d_can0";
  217. reg = <0x481cc000 0x2000>;
  218. interrupts = <52>;
  219. interrupt-parent = <&intc>;
  220. status = "disabled";
  221. };
  222. dcan1: d_can@481d0000 {
  223. compatible = "bosch,d_can";
  224. ti,hwmods = "d_can1";
  225. reg = <0x481d0000 0x2000>;
  226. interrupts = <55>;
  227. interrupt-parent = <&intc>;
  228. status = "disabled";
  229. };
  230. };
  231. };