imx35.dtsi 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385
  1. /*
  2. * Copyright 2012 Steffen Trumtrar, Pengutronix
  3. *
  4. * based on imx27.dtsi
  5. *
  6. * This program is free software; you can redistribute it and/or modify it under
  7. * the terms of the GNU General Public License version 2 as published by the
  8. * Free Software Foundation.
  9. */
  10. #include "skeleton.dtsi"
  11. #include "imx35-pinfunc.h"
  12. / {
  13. aliases {
  14. ethernet0 = &fec;
  15. gpio0 = &gpio1;
  16. gpio1 = &gpio2;
  17. gpio2 = &gpio3;
  18. serial0 = &uart1;
  19. serial1 = &uart2;
  20. serial2 = &uart3;
  21. spi0 = &spi1;
  22. spi1 = &spi2;
  23. };
  24. cpus {
  25. #address-cells = <0>;
  26. #size-cells = <0>;
  27. cpu {
  28. compatible = "arm,arm1136";
  29. device_type = "cpu";
  30. };
  31. };
  32. avic: avic-interrupt-controller@68000000 {
  33. compatible = "fsl,imx35-avic", "fsl,avic";
  34. interrupt-controller;
  35. #interrupt-cells = <1>;
  36. reg = <0x68000000 0x10000000>;
  37. };
  38. soc {
  39. #address-cells = <1>;
  40. #size-cells = <1>;
  41. compatible = "simple-bus";
  42. interrupt-parent = <&avic>;
  43. ranges;
  44. L2: l2-cache@30000000 {
  45. compatible = "arm,l210-cache";
  46. reg = <0x30000000 0x1000>;
  47. cache-unified;
  48. cache-level = <2>;
  49. };
  50. aips1: aips@43f00000 {
  51. compatible = "fsl,aips", "simple-bus";
  52. #address-cells = <1>;
  53. #size-cells = <1>;
  54. reg = <0x43f00000 0x100000>;
  55. ranges;
  56. i2c1: i2c@43f80000 {
  57. #address-cells = <1>;
  58. #size-cells = <0>;
  59. compatible = "fsl,imx35-i2c", "fsl,imx1-i2c";
  60. reg = <0x43f80000 0x4000>;
  61. clocks = <&clks 51>;
  62. clock-names = "ipg_per";
  63. interrupts = <10>;
  64. status = "disabled";
  65. };
  66. i2c3: i2c@43f84000 {
  67. #address-cells = <1>;
  68. #size-cells = <0>;
  69. compatible = "fsl,imx35-i2c", "fsl,imx1-i2c";
  70. reg = <0x43f84000 0x4000>;
  71. clocks = <&clks 53>;
  72. clock-names = "ipg_per";
  73. interrupts = <3>;
  74. status = "disabled";
  75. };
  76. uart1: serial@43f90000 {
  77. compatible = "fsl,imx35-uart", "fsl,imx21-uart";
  78. reg = <0x43f90000 0x4000>;
  79. clocks = <&clks 9>, <&clks 70>;
  80. clock-names = "ipg", "per";
  81. interrupts = <45>;
  82. status = "disabled";
  83. };
  84. uart2: serial@43f94000 {
  85. compatible = "fsl,imx35-uart", "fsl,imx21-uart";
  86. reg = <0x43f94000 0x4000>;
  87. clocks = <&clks 9>, <&clks 71>;
  88. clock-names = "ipg", "per";
  89. interrupts = <32>;
  90. status = "disabled";
  91. };
  92. i2c2: i2c@43f98000 {
  93. #address-cells = <1>;
  94. #size-cells = <0>;
  95. compatible = "fsl,imx35-i2c", "fsl,imx1-i2c";
  96. reg = <0x43f98000 0x4000>;
  97. clocks = <&clks 52>;
  98. clock-names = "ipg_per";
  99. interrupts = <4>;
  100. status = "disabled";
  101. };
  102. ssi1: ssi@43fa0000 {
  103. #sound-dai-cells = <0>;
  104. compatible = "fsl,imx35-ssi", "fsl,imx21-ssi";
  105. reg = <0x43fa0000 0x4000>;
  106. interrupts = <11>;
  107. clocks = <&clks 68>;
  108. dmas = <&sdma 28 0 0>,
  109. <&sdma 29 0 0>;
  110. dma-names = "rx", "tx";
  111. fsl,fifo-depth = <15>;
  112. status = "disabled";
  113. };
  114. spi1: cspi@43fa4000 {
  115. #address-cells = <1>;
  116. #size-cells = <0>;
  117. compatible = "fsl,imx35-cspi";
  118. reg = <0x43fa4000 0x4000>;
  119. clocks = <&clks 35 &clks 35>;
  120. clock-names = "ipg", "per";
  121. interrupts = <14>;
  122. status = "disabled";
  123. };
  124. iomuxc: iomuxc@43fac000 {
  125. compatible = "fsl,imx35-iomuxc";
  126. reg = <0x43fac000 0x4000>;
  127. };
  128. };
  129. spba: spba-bus@50000000 {
  130. compatible = "fsl,spba-bus", "simple-bus";
  131. #address-cells = <1>;
  132. #size-cells = <1>;
  133. reg = <0x50000000 0x100000>;
  134. ranges;
  135. uart3: serial@5000c000 {
  136. compatible = "fsl,imx35-uart", "fsl,imx21-uart";
  137. reg = <0x5000c000 0x4000>;
  138. clocks = <&clks 9>, <&clks 72>;
  139. clock-names = "ipg", "per";
  140. interrupts = <18>;
  141. status = "disabled";
  142. };
  143. spi2: cspi@50010000 {
  144. #address-cells = <1>;
  145. #size-cells = <0>;
  146. compatible = "fsl,imx35-cspi";
  147. reg = <0x50010000 0x4000>;
  148. interrupts = <13>;
  149. clocks = <&clks 36 &clks 36>;
  150. clock-names = "ipg", "per";
  151. status = "disabled";
  152. };
  153. fec: fec@50038000 {
  154. compatible = "fsl,imx35-fec", "fsl,imx27-fec";
  155. reg = <0x50038000 0x4000>;
  156. clocks = <&clks 46>, <&clks 8>;
  157. clock-names = "ipg", "ahb";
  158. interrupts = <57>;
  159. status = "disabled";
  160. };
  161. };
  162. aips2: aips@53f00000 {
  163. compatible = "fsl,aips", "simple-bus";
  164. #address-cells = <1>;
  165. #size-cells = <1>;
  166. reg = <0x53f00000 0x100000>;
  167. ranges;
  168. clks: ccm@53f80000 {
  169. compatible = "fsl,imx35-ccm";
  170. reg = <0x53f80000 0x4000>;
  171. interrupts = <31>;
  172. #clock-cells = <1>;
  173. };
  174. gpt: timer@53f90000 {
  175. compatible = "fsl,imx35-gpt", "fsl,imx31-gpt";
  176. reg = <0x53f90000 0x4000>;
  177. interrupts = <29>;
  178. clocks = <&clks 9>, <&clks 50>;
  179. clock-names = "ipg", "per";
  180. };
  181. gpio3: gpio@53fa4000 {
  182. compatible = "fsl,imx35-gpio", "fsl,imx31-gpio";
  183. reg = <0x53fa4000 0x4000>;
  184. interrupts = <56>;
  185. gpio-controller;
  186. #gpio-cells = <2>;
  187. interrupt-controller;
  188. #interrupt-cells = <2>;
  189. };
  190. esdhc1: esdhc@53fb4000 {
  191. compatible = "fsl,imx35-esdhc";
  192. reg = <0x53fb4000 0x4000>;
  193. interrupts = <7>;
  194. clocks = <&clks 9>, <&clks 8>, <&clks 43>;
  195. clock-names = "ipg", "ahb", "per";
  196. status = "disabled";
  197. };
  198. esdhc2: esdhc@53fb8000 {
  199. compatible = "fsl,imx35-esdhc";
  200. reg = <0x53fb8000 0x4000>;
  201. interrupts = <8>;
  202. clocks = <&clks 9>, <&clks 8>, <&clks 44>;
  203. clock-names = "ipg", "ahb", "per";
  204. status = "disabled";
  205. };
  206. esdhc3: esdhc@53fbc000 {
  207. compatible = "fsl,imx35-esdhc";
  208. reg = <0x53fbc000 0x4000>;
  209. interrupts = <9>;
  210. clocks = <&clks 9>, <&clks 8>, <&clks 45>;
  211. clock-names = "ipg", "ahb", "per";
  212. status = "disabled";
  213. };
  214. audmux: audmux@53fc4000 {
  215. compatible = "fsl,imx35-audmux", "fsl,imx31-audmux";
  216. reg = <0x53fc4000 0x4000>;
  217. status = "disabled";
  218. };
  219. gpio1: gpio@53fcc000 {
  220. compatible = "fsl,imx35-gpio", "fsl,imx31-gpio";
  221. reg = <0x53fcc000 0x4000>;
  222. interrupts = <52>;
  223. gpio-controller;
  224. #gpio-cells = <2>;
  225. interrupt-controller;
  226. #interrupt-cells = <2>;
  227. };
  228. gpio2: gpio@53fd0000 {
  229. compatible = "fsl,imx35-gpio", "fsl,imx31-gpio";
  230. reg = <0x53fd0000 0x4000>;
  231. interrupts = <51>;
  232. gpio-controller;
  233. #gpio-cells = <2>;
  234. interrupt-controller;
  235. #interrupt-cells = <2>;
  236. };
  237. sdma: sdma@53fd4000 {
  238. compatible = "fsl,imx35-sdma";
  239. reg = <0x53fd4000 0x4000>;
  240. clocks = <&clks 9>, <&clks 65>;
  241. clock-names = "ipg", "ahb";
  242. #dma-cells = <3>;
  243. interrupts = <34>;
  244. fsl,sdma-ram-script-name = "imx/sdma/sdma-imx35.bin";
  245. };
  246. wdog: wdog@53fdc000 {
  247. compatible = "fsl,imx35-wdt", "fsl,imx21-wdt";
  248. reg = <0x53fdc000 0x4000>;
  249. clocks = <&clks 74>;
  250. clock-names = "";
  251. interrupts = <55>;
  252. };
  253. can1: can@53fe4000 {
  254. compatible = "fsl,imx35-flexcan", "fsl,p1010-flexcan";
  255. reg = <0x53fe4000 0x1000>;
  256. clocks = <&clks 33>;
  257. clock-names = "ipg";
  258. interrupts = <43>;
  259. status = "disabled";
  260. };
  261. can2: can@53fe8000 {
  262. compatible = "fsl,imx35-flexcan", "fsl,p1010-flexcan";
  263. reg = <0x53fe8000 0x1000>;
  264. clocks = <&clks 34>;
  265. clock-names = "ipg";
  266. interrupts = <44>;
  267. status = "disabled";
  268. };
  269. usbotg: usb@53ff4000 {
  270. compatible = "fsl,imx35-usb", "fsl,imx27-usb";
  271. reg = <0x53ff4000 0x0200>;
  272. interrupts = <37>;
  273. clocks = <&clks 73>;
  274. fsl,usbmisc = <&usbmisc 0>;
  275. fsl,usbphy = <&usbphy0>;
  276. status = "disabled";
  277. };
  278. usbhost1: usb@53ff4400 {
  279. compatible = "fsl,imx35-usb", "fsl,imx27-usb";
  280. reg = <0x53ff4400 0x0200>;
  281. interrupts = <35>;
  282. clocks = <&clks 73>;
  283. fsl,usbmisc = <&usbmisc 1>;
  284. fsl,usbphy = <&usbphy1>;
  285. status = "disabled";
  286. };
  287. usbmisc: usbmisc@53ff4600 {
  288. #index-cells = <1>;
  289. compatible = "fsl,imx35-usbmisc";
  290. clocks = <&clks 9>, <&clks 73>, <&clks 28>;
  291. clock-names = "ipg", "ahb", "per";
  292. reg = <0x53ff4600 0x00f>;
  293. };
  294. };
  295. emi@80000000 { /* External Memory Interface */
  296. compatible = "fsl,emi", "simple-bus";
  297. #address-cells = <1>;
  298. #size-cells = <1>;
  299. reg = <0x80000000 0x40000000>;
  300. ranges;
  301. nfc: nand@bb000000 {
  302. #address-cells = <1>;
  303. #size-cells = <1>;
  304. compatible = "fsl,imx35-nand", "fsl,imx25-nand";
  305. reg = <0xbb000000 0x2000>;
  306. clocks = <&clks 29>;
  307. clock-names = "";
  308. interrupts = <33>;
  309. status = "disabled";
  310. };
  311. weim: weim@b8002000 {
  312. #address-cells = <2>;
  313. #size-cells = <1>;
  314. clocks = <&clks 0>;
  315. compatible = "fsl,imx35-weim", "fsl,imx27-weim";
  316. reg = <0xb8002000 0x1000>;
  317. ranges = <
  318. 0 0 0xa0000000 0x8000000
  319. 1 0 0xa8000000 0x8000000
  320. 2 0 0xb0000000 0x2000000
  321. 3 0 0xb2000000 0x2000000
  322. 4 0 0xb4000000 0x2000000
  323. 5 0 0xb6000000 0x2000000
  324. >;
  325. status = "disabled";
  326. };
  327. };
  328. };
  329. usbphy {
  330. compatible = "simple-bus";
  331. #address-cells = <1>;
  332. #size-cells = <0>;
  333. usbphy0: usb-phy@0 {
  334. reg = <0>;
  335. compatible = "usb-nop-xceiv";
  336. };
  337. usbphy1: usb-phy@1 {
  338. reg = <1>;
  339. compatible = "usb-nop-xceiv";
  340. };
  341. };
  342. };