mpc8377_wlan.dts 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464
  1. /*
  2. * MPC8377E WLAN Device Tree Source
  3. *
  4. * Copyright 2007-2009 Freescale Semiconductor Inc.
  5. * Copyright 2009 MontaVista Software, Inc.
  6. *
  7. * This program is free software; you can redistribute it and/or modify it
  8. * under the terms of the GNU General Public License as published by the
  9. * Free Software Foundation; either version 2 of the License, or (at your
  10. * option) any later version.
  11. */
  12. /dts-v1/;
  13. / {
  14. compatible = "fsl,mpc8377wlan";
  15. #address-cells = <1>;
  16. #size-cells = <1>;
  17. aliases {
  18. ethernet0 = &enet0;
  19. ethernet1 = &enet1;
  20. serial0 = &serial0;
  21. serial1 = &serial1;
  22. pci0 = &pci0;
  23. pci1 = &pci1;
  24. pci2 = &pci2;
  25. };
  26. cpus {
  27. #address-cells = <1>;
  28. #size-cells = <0>;
  29. PowerPC,8377@0 {
  30. device_type = "cpu";
  31. reg = <0x0>;
  32. d-cache-line-size = <32>;
  33. i-cache-line-size = <32>;
  34. d-cache-size = <32768>;
  35. i-cache-size = <32768>;
  36. timebase-frequency = <0>;
  37. bus-frequency = <0>;
  38. clock-frequency = <0>;
  39. };
  40. };
  41. memory {
  42. device_type = "memory";
  43. reg = <0x00000000 0x20000000>; // 512MB at 0
  44. };
  45. localbus@e0005000 {
  46. #address-cells = <2>;
  47. #size-cells = <1>;
  48. compatible = "fsl,mpc8377-elbc", "fsl,elbc", "simple-bus";
  49. reg = <0xe0005000 0x1000>;
  50. interrupts = <77 0x8>;
  51. interrupt-parent = <&ipic>;
  52. ranges = <0x0 0x0 0xfc000000 0x04000000>;
  53. flash@0,0 {
  54. #address-cells = <1>;
  55. #size-cells = <1>;
  56. compatible = "cfi-flash";
  57. reg = <0x0 0x0 0x4000000>;
  58. bank-width = <2>;
  59. device-width = <1>;
  60. partition@0 {
  61. reg = <0 0x80000>;
  62. label = "u-boot";
  63. read-only;
  64. };
  65. partition@a0000 {
  66. reg = <0xa0000 0x300000>;
  67. label = "kernel";
  68. };
  69. partition@3a0000 {
  70. reg = <0x3a0000 0x3c60000>;
  71. label = "rootfs";
  72. };
  73. };
  74. };
  75. immr@e0000000 {
  76. #address-cells = <1>;
  77. #size-cells = <1>;
  78. device_type = "soc";
  79. compatible = "simple-bus";
  80. ranges = <0x0 0xe0000000 0x00100000>;
  81. reg = <0xe0000000 0x00000200>;
  82. bus-frequency = <0>;
  83. wdt@200 {
  84. device_type = "watchdog";
  85. compatible = "mpc83xx_wdt";
  86. reg = <0x200 0x100>;
  87. };
  88. gpio1: gpio-controller@c00 {
  89. #gpio-cells = <2>;
  90. compatible = "fsl,mpc8377-gpio", "fsl,mpc8349-gpio";
  91. reg = <0xc00 0x100>;
  92. interrupts = <74 0x8>;
  93. interrupt-parent = <&ipic>;
  94. gpio-controller;
  95. };
  96. gpio2: gpio-controller@d00 {
  97. #gpio-cells = <2>;
  98. compatible = "fsl,mpc8377-gpio", "fsl,mpc8349-gpio";
  99. reg = <0xd00 0x100>;
  100. interrupts = <75 0x8>;
  101. interrupt-parent = <&ipic>;
  102. gpio-controller;
  103. };
  104. sleep-nexus {
  105. #address-cells = <1>;
  106. #size-cells = <1>;
  107. compatible = "simple-bus";
  108. sleep = <&pmc 0x0c000000>;
  109. ranges;
  110. i2c@3000 {
  111. #address-cells = <1>;
  112. #size-cells = <0>;
  113. cell-index = <0>;
  114. compatible = "fsl-i2c";
  115. reg = <0x3000 0x100>;
  116. interrupts = <14 0x8>;
  117. interrupt-parent = <&ipic>;
  118. dfsrr;
  119. at24@50 {
  120. compatible = "at24,24c256";
  121. reg = <0x50>;
  122. };
  123. rtc@68 {
  124. compatible = "dallas,ds1339";
  125. reg = <0x68>;
  126. };
  127. };
  128. sdhci@2e000 {
  129. compatible = "fsl,mpc8377-esdhc", "fsl,esdhc";
  130. reg = <0x2e000 0x1000>;
  131. interrupts = <42 0x8>;
  132. interrupt-parent = <&ipic>;
  133. sdhci,wp-inverted;
  134. clock-frequency = <133333333>;
  135. };
  136. };
  137. i2c@3100 {
  138. #address-cells = <1>;
  139. #size-cells = <0>;
  140. cell-index = <1>;
  141. compatible = "fsl-i2c";
  142. reg = <0x3100 0x100>;
  143. interrupts = <15 0x8>;
  144. interrupt-parent = <&ipic>;
  145. dfsrr;
  146. };
  147. spi@7000 {
  148. cell-index = <0>;
  149. compatible = "fsl,spi";
  150. reg = <0x7000 0x1000>;
  151. interrupts = <16 0x8>;
  152. interrupt-parent = <&ipic>;
  153. mode = "cpu";
  154. };
  155. dma@82a8 {
  156. #address-cells = <1>;
  157. #size-cells = <1>;
  158. compatible = "fsl,mpc8377-dma", "fsl,elo-dma";
  159. reg = <0x82a8 4>;
  160. ranges = <0 0x8100 0x1a8>;
  161. interrupt-parent = <&ipic>;
  162. interrupts = <71 8>;
  163. cell-index = <0>;
  164. dma-channel@0 {
  165. compatible = "fsl,mpc8377-dma-channel", "fsl,elo-dma-channel";
  166. reg = <0 0x80>;
  167. cell-index = <0>;
  168. interrupt-parent = <&ipic>;
  169. interrupts = <71 8>;
  170. };
  171. dma-channel@80 {
  172. compatible = "fsl,mpc8377-dma-channel", "fsl,elo-dma-channel";
  173. reg = <0x80 0x80>;
  174. cell-index = <1>;
  175. interrupt-parent = <&ipic>;
  176. interrupts = <71 8>;
  177. };
  178. dma-channel@100 {
  179. compatible = "fsl,mpc8377-dma-channel", "fsl,elo-dma-channel";
  180. reg = <0x100 0x80>;
  181. cell-index = <2>;
  182. interrupt-parent = <&ipic>;
  183. interrupts = <71 8>;
  184. };
  185. dma-channel@180 {
  186. compatible = "fsl,mpc8377-dma-channel", "fsl,elo-dma-channel";
  187. reg = <0x180 0x28>;
  188. cell-index = <3>;
  189. interrupt-parent = <&ipic>;
  190. interrupts = <71 8>;
  191. };
  192. };
  193. usb@23000 {
  194. compatible = "fsl-usb2-dr";
  195. reg = <0x23000 0x1000>;
  196. #address-cells = <1>;
  197. #size-cells = <0>;
  198. interrupt-parent = <&ipic>;
  199. interrupts = <38 0x8>;
  200. phy_type = "ulpi";
  201. sleep = <&pmc 0x00c00000>;
  202. };
  203. enet0: ethernet@24000 {
  204. #address-cells = <1>;
  205. #size-cells = <1>;
  206. cell-index = <0>;
  207. device_type = "network";
  208. model = "eTSEC";
  209. compatible = "gianfar";
  210. reg = <0x24000 0x1000>;
  211. ranges = <0x0 0x24000 0x1000>;
  212. local-mac-address = [ 00 00 00 00 00 00 ];
  213. interrupts = <32 0x8 33 0x8 34 0x8>;
  214. phy-connection-type = "mii";
  215. interrupt-parent = <&ipic>;
  216. tbi-handle = <&tbi0>;
  217. phy-handle = <&phy2>;
  218. sleep = <&pmc 0xc0000000>;
  219. fsl,magic-packet;
  220. mdio@520 {
  221. #address-cells = <1>;
  222. #size-cells = <0>;
  223. compatible = "fsl,gianfar-mdio";
  224. reg = <0x520 0x20>;
  225. phy2: ethernet-phy@2 {
  226. interrupt-parent = <&ipic>;
  227. interrupts = <17 0x8>;
  228. reg = <0x2>;
  229. };
  230. phy3: ethernet-phy@3 {
  231. interrupt-parent = <&ipic>;
  232. interrupts = <18 0x8>;
  233. reg = <0x3>;
  234. };
  235. tbi0: tbi-phy@11 {
  236. reg = <0x11>;
  237. device_type = "tbi-phy";
  238. };
  239. };
  240. };
  241. enet1: ethernet@25000 {
  242. #address-cells = <1>;
  243. #size-cells = <1>;
  244. cell-index = <1>;
  245. device_type = "network";
  246. model = "eTSEC";
  247. compatible = "gianfar";
  248. reg = <0x25000 0x1000>;
  249. ranges = <0x0 0x25000 0x1000>;
  250. local-mac-address = [ 00 00 00 00 00 00 ];
  251. interrupts = <35 0x8 36 0x8 37 0x8>;
  252. phy-connection-type = "mii";
  253. interrupt-parent = <&ipic>;
  254. phy-handle = <&phy3>;
  255. tbi-handle = <&tbi1>;
  256. sleep = <&pmc 0x30000000>;
  257. fsl,magic-packet;
  258. mdio@520 {
  259. #address-cells = <1>;
  260. #size-cells = <0>;
  261. compatible = "fsl,gianfar-tbi";
  262. reg = <0x520 0x20>;
  263. tbi1: tbi-phy@11 {
  264. reg = <0x11>;
  265. device_type = "tbi-phy";
  266. };
  267. };
  268. };
  269. serial0: serial@4500 {
  270. cell-index = <0>;
  271. device_type = "serial";
  272. compatible = "fsl,ns16550", "ns16550";
  273. reg = <0x4500 0x100>;
  274. clock-frequency = <0>;
  275. interrupts = <9 0x8>;
  276. interrupt-parent = <&ipic>;
  277. };
  278. serial1: serial@4600 {
  279. cell-index = <1>;
  280. device_type = "serial";
  281. compatible = "fsl,ns16550", "ns16550";
  282. reg = <0x4600 0x100>;
  283. clock-frequency = <0>;
  284. interrupts = <10 0x8>;
  285. interrupt-parent = <&ipic>;
  286. };
  287. crypto@30000 {
  288. compatible = "fsl,sec3.0", "fsl,sec2.4", "fsl,sec2.2",
  289. "fsl,sec2.1", "fsl,sec2.0";
  290. reg = <0x30000 0x10000>;
  291. interrupts = <11 0x8>;
  292. interrupt-parent = <&ipic>;
  293. fsl,num-channels = <4>;
  294. fsl,channel-fifo-len = <24>;
  295. fsl,exec-units-mask = <0x9fe>;
  296. fsl,descriptor-types-mask = <0x3ab0ebf>;
  297. sleep = <&pmc 0x03000000>;
  298. };
  299. sata@18000 {
  300. compatible = "fsl,mpc8377-sata", "fsl,pq-sata";
  301. reg = <0x18000 0x1000>;
  302. interrupts = <44 0x8>;
  303. interrupt-parent = <&ipic>;
  304. sleep = <&pmc 0x000000c0>;
  305. };
  306. sata@19000 {
  307. compatible = "fsl,mpc8377-sata", "fsl,pq-sata";
  308. reg = <0x19000 0x1000>;
  309. interrupts = <45 0x8>;
  310. interrupt-parent = <&ipic>;
  311. sleep = <&pmc 0x00000030>;
  312. };
  313. /* IPIC
  314. * interrupts cell = <intr #, sense>
  315. * sense values match linux IORESOURCE_IRQ_* defines:
  316. * sense == 8: Level, low assertion
  317. * sense == 2: Edge, high-to-low change
  318. */
  319. ipic: interrupt-controller@700 {
  320. compatible = "fsl,ipic";
  321. interrupt-controller;
  322. #address-cells = <0>;
  323. #interrupt-cells = <2>;
  324. reg = <0x700 0x100>;
  325. };
  326. pmc: power@b00 {
  327. compatible = "fsl,mpc8377-pmc", "fsl,mpc8349-pmc";
  328. reg = <0xb00 0x100 0xa00 0x100>;
  329. interrupts = <80 0x8>;
  330. interrupt-parent = <&ipic>;
  331. };
  332. };
  333. pci0: pci@e0008500 {
  334. interrupt-map-mask = <0xf800 0 0 7>;
  335. interrupt-map = <
  336. /* IRQ5 = 21 = 0x15, IRQ6 = 0x16, IRQ7 = 23 = 0x17 */
  337. /* IDSEL AD14 IRQ6 inta */
  338. 0x7000 0x0 0x0 0x1 &ipic 22 0x8
  339. /* IDSEL AD15 IRQ5 inta */
  340. 0x7800 0x0 0x0 0x1 &ipic 21 0x8>;
  341. interrupt-parent = <&ipic>;
  342. interrupts = <66 0x8>;
  343. bus-range = <0 0>;
  344. ranges = <0x02000000 0x0 0x90000000 0x90000000 0x0 0x10000000
  345. 0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000
  346. 0x01000000 0x0 0x00000000 0xe0300000 0x0 0x00100000>;
  347. sleep = <&pmc 0x00010000>;
  348. clock-frequency = <66666666>;
  349. #interrupt-cells = <1>;
  350. #size-cells = <2>;
  351. #address-cells = <3>;
  352. reg = <0xe0008500 0x100 /* internal registers */
  353. 0xe0008300 0x8>; /* config space access registers */
  354. compatible = "fsl,mpc8349-pci";
  355. device_type = "pci";
  356. };
  357. pci1: pcie@e0009000 {
  358. #address-cells = <3>;
  359. #size-cells = <2>;
  360. #interrupt-cells = <1>;
  361. device_type = "pci";
  362. compatible = "fsl,mpc8377-pcie", "fsl,mpc8314-pcie";
  363. reg = <0xe0009000 0x00001000>;
  364. ranges = <0x02000000 0 0xa8000000 0xa8000000 0 0x10000000
  365. 0x01000000 0 0x00000000 0xb8000000 0 0x00800000>;
  366. bus-range = <0 255>;
  367. interrupt-map-mask = <0xf800 0 0 7>;
  368. interrupt-map = <0 0 0 1 &ipic 1 8
  369. 0 0 0 2 &ipic 1 8
  370. 0 0 0 3 &ipic 1 8
  371. 0 0 0 4 &ipic 1 8>;
  372. sleep = <&pmc 0x00300000>;
  373. clock-frequency = <0>;
  374. pcie@0 {
  375. #address-cells = <3>;
  376. #size-cells = <2>;
  377. device_type = "pci";
  378. reg = <0 0 0 0 0>;
  379. ranges = <0x02000000 0 0xa8000000
  380. 0x02000000 0 0xa8000000
  381. 0 0x10000000
  382. 0x01000000 0 0x00000000
  383. 0x01000000 0 0x00000000
  384. 0 0x00800000>;
  385. };
  386. };
  387. pci2: pcie@e000a000 {
  388. #address-cells = <3>;
  389. #size-cells = <2>;
  390. #interrupt-cells = <1>;
  391. device_type = "pci";
  392. compatible = "fsl,mpc8377-pcie", "fsl,mpc8314-pcie";
  393. reg = <0xe000a000 0x00001000>;
  394. ranges = <0x02000000 0 0xc8000000 0xc8000000 0 0x10000000
  395. 0x01000000 0 0x00000000 0xd8000000 0 0x00800000>;
  396. bus-range = <0 255>;
  397. interrupt-map-mask = <0xf800 0 0 7>;
  398. interrupt-map = <0 0 0 1 &ipic 2 8
  399. 0 0 0 2 &ipic 2 8
  400. 0 0 0 3 &ipic 2 8
  401. 0 0 0 4 &ipic 2 8>;
  402. sleep = <&pmc 0x000c0000>;
  403. clock-frequency = <0>;
  404. pcie@0 {
  405. #address-cells = <3>;
  406. #size-cells = <2>;
  407. device_type = "pci";
  408. reg = <0 0 0 0 0>;
  409. ranges = <0x02000000 0 0xc8000000
  410. 0x02000000 0 0xc8000000
  411. 0 0x10000000
  412. 0x01000000 0 0x00000000
  413. 0x01000000 0 0x00000000
  414. 0 0x00800000>;
  415. };
  416. };
  417. };