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 0x8000>;
  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. clock-frequency = <133333333>;
  134. };
  135. };
  136. i2c@3100 {
  137. #address-cells = <1>;
  138. #size-cells = <0>;
  139. cell-index = <1>;
  140. compatible = "fsl-i2c";
  141. reg = <0x3100 0x100>;
  142. interrupts = <15 0x8>;
  143. interrupt-parent = <&ipic>;
  144. dfsrr;
  145. };
  146. spi@7000 {
  147. cell-index = <0>;
  148. compatible = "fsl,spi";
  149. reg = <0x7000 0x1000>;
  150. interrupts = <16 0x8>;
  151. interrupt-parent = <&ipic>;
  152. mode = "cpu";
  153. };
  154. dma@82a8 {
  155. #address-cells = <1>;
  156. #size-cells = <1>;
  157. compatible = "fsl,mpc8377-dma", "fsl,elo-dma";
  158. reg = <0x82a8 4>;
  159. ranges = <0 0x8100 0x1a8>;
  160. interrupt-parent = <&ipic>;
  161. interrupts = <71 8>;
  162. cell-index = <0>;
  163. dma-channel@0 {
  164. compatible = "fsl,mpc8377-dma-channel", "fsl,elo-dma-channel";
  165. reg = <0 0x80>;
  166. cell-index = <0>;
  167. interrupt-parent = <&ipic>;
  168. interrupts = <71 8>;
  169. };
  170. dma-channel@80 {
  171. compatible = "fsl,mpc8377-dma-channel", "fsl,elo-dma-channel";
  172. reg = <0x80 0x80>;
  173. cell-index = <1>;
  174. interrupt-parent = <&ipic>;
  175. interrupts = <71 8>;
  176. };
  177. dma-channel@100 {
  178. compatible = "fsl,mpc8377-dma-channel", "fsl,elo-dma-channel";
  179. reg = <0x100 0x80>;
  180. cell-index = <2>;
  181. interrupt-parent = <&ipic>;
  182. interrupts = <71 8>;
  183. };
  184. dma-channel@180 {
  185. compatible = "fsl,mpc8377-dma-channel", "fsl,elo-dma-channel";
  186. reg = <0x180 0x28>;
  187. cell-index = <3>;
  188. interrupt-parent = <&ipic>;
  189. interrupts = <71 8>;
  190. };
  191. };
  192. usb@23000 {
  193. compatible = "fsl-usb2-dr";
  194. reg = <0x23000 0x1000>;
  195. #address-cells = <1>;
  196. #size-cells = <0>;
  197. interrupt-parent = <&ipic>;
  198. interrupts = <38 0x8>;
  199. phy_type = "ulpi";
  200. sleep = <&pmc 0x00c00000>;
  201. };
  202. enet0: ethernet@24000 {
  203. #address-cells = <1>;
  204. #size-cells = <1>;
  205. cell-index = <0>;
  206. device_type = "network";
  207. model = "eTSEC";
  208. compatible = "gianfar";
  209. reg = <0x24000 0x1000>;
  210. ranges = <0x0 0x24000 0x1000>;
  211. local-mac-address = [ 00 00 00 00 00 00 ];
  212. interrupts = <32 0x8 33 0x8 34 0x8>;
  213. phy-connection-type = "mii";
  214. interrupt-parent = <&ipic>;
  215. tbi-handle = <&tbi0>;
  216. phy-handle = <&phy2>;
  217. sleep = <&pmc 0xc0000000>;
  218. fsl,magic-packet;
  219. mdio@520 {
  220. #address-cells = <1>;
  221. #size-cells = <0>;
  222. compatible = "fsl,gianfar-mdio";
  223. reg = <0x520 0x20>;
  224. phy2: ethernet-phy@2 {
  225. interrupt-parent = <&ipic>;
  226. interrupts = <17 0x8>;
  227. reg = <0x2>;
  228. device_type = "ethernet-phy";
  229. };
  230. phy3: ethernet-phy@3 {
  231. interrupt-parent = <&ipic>;
  232. interrupts = <18 0x8>;
  233. reg = <0x3>;
  234. device_type = "ethernet-phy";
  235. };
  236. tbi0: tbi-phy@11 {
  237. reg = <0x11>;
  238. device_type = "tbi-phy";
  239. };
  240. };
  241. };
  242. enet1: ethernet@25000 {
  243. #address-cells = <1>;
  244. #size-cells = <1>;
  245. cell-index = <1>;
  246. device_type = "network";
  247. model = "eTSEC";
  248. compatible = "gianfar";
  249. reg = <0x25000 0x1000>;
  250. ranges = <0x0 0x25000 0x1000>;
  251. local-mac-address = [ 00 00 00 00 00 00 ];
  252. interrupts = <35 0x8 36 0x8 37 0x8>;
  253. phy-connection-type = "mii";
  254. interrupt-parent = <&ipic>;
  255. phy-handle = <&phy3>;
  256. tbi-handle = <&tbi1>;
  257. sleep = <&pmc 0x30000000>;
  258. fsl,magic-packet;
  259. mdio@520 {
  260. #address-cells = <1>;
  261. #size-cells = <0>;
  262. compatible = "fsl,gianfar-tbi";
  263. reg = <0x520 0x20>;
  264. tbi1: tbi-phy@11 {
  265. reg = <0x11>;
  266. device_type = "tbi-phy";
  267. };
  268. };
  269. };
  270. serial0: serial@4500 {
  271. cell-index = <0>;
  272. device_type = "serial";
  273. compatible = "ns16550";
  274. reg = <0x4500 0x100>;
  275. clock-frequency = <0>;
  276. interrupts = <9 0x8>;
  277. interrupt-parent = <&ipic>;
  278. };
  279. serial1: serial@4600 {
  280. cell-index = <1>;
  281. device_type = "serial";
  282. compatible = "ns16550";
  283. reg = <0x4600 0x100>;
  284. clock-frequency = <0>;
  285. interrupts = <10 0x8>;
  286. interrupt-parent = <&ipic>;
  287. };
  288. crypto@30000 {
  289. compatible = "fsl,sec3.0", "fsl,sec2.4", "fsl,sec2.2",
  290. "fsl,sec2.1", "fsl,sec2.0";
  291. reg = <0x30000 0x10000>;
  292. interrupts = <11 0x8>;
  293. interrupt-parent = <&ipic>;
  294. fsl,num-channels = <4>;
  295. fsl,channel-fifo-len = <24>;
  296. fsl,exec-units-mask = <0x9fe>;
  297. fsl,descriptor-types-mask = <0x3ab0ebf>;
  298. sleep = <&pmc 0x03000000>;
  299. };
  300. sata@18000 {
  301. compatible = "fsl,mpc8377-sata", "fsl,pq-sata";
  302. reg = <0x18000 0x1000>;
  303. interrupts = <44 0x8>;
  304. interrupt-parent = <&ipic>;
  305. sleep = <&pmc 0x000000c0>;
  306. };
  307. sata@19000 {
  308. compatible = "fsl,mpc8377-sata", "fsl,pq-sata";
  309. reg = <0x19000 0x1000>;
  310. interrupts = <45 0x8>;
  311. interrupt-parent = <&ipic>;
  312. sleep = <&pmc 0x00000030>;
  313. };
  314. /* IPIC
  315. * interrupts cell = <intr #, sense>
  316. * sense values match linux IORESOURCE_IRQ_* defines:
  317. * sense == 8: Level, low assertion
  318. * sense == 2: Edge, high-to-low change
  319. */
  320. ipic: interrupt-controller@700 {
  321. compatible = "fsl,ipic";
  322. interrupt-controller;
  323. #address-cells = <0>;
  324. #interrupt-cells = <2>;
  325. reg = <0x700 0x100>;
  326. };
  327. pmc: power@b00 {
  328. compatible = "fsl,mpc8377-pmc", "fsl,mpc8349-pmc";
  329. reg = <0xb00 0x100 0xa00 0x100>;
  330. interrupts = <80 0x8>;
  331. interrupt-parent = <&ipic>;
  332. };
  333. };
  334. pci0: pci@e0008500 {
  335. interrupt-map-mask = <0xf800 0 0 7>;
  336. interrupt-map = <
  337. /* IRQ5 = 21 = 0x15, IRQ6 = 0x16, IRQ7 = 23 = 0x17 */
  338. /* IDSEL AD14 IRQ6 inta */
  339. 0x7000 0x0 0x0 0x1 &ipic 22 0x8
  340. /* IDSEL AD15 IRQ5 inta */
  341. 0x7800 0x0 0x0 0x1 &ipic 21 0x8>;
  342. interrupt-parent = <&ipic>;
  343. interrupts = <66 0x8>;
  344. bus-range = <0 0>;
  345. ranges = <0x02000000 0x0 0x90000000 0x90000000 0x0 0x10000000
  346. 0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000
  347. 0x01000000 0x0 0x00000000 0xe0300000 0x0 0x00100000>;
  348. sleep = <&pmc 0x00010000>;
  349. clock-frequency = <66666666>;
  350. #interrupt-cells = <1>;
  351. #size-cells = <2>;
  352. #address-cells = <3>;
  353. reg = <0xe0008500 0x100 /* internal registers */
  354. 0xe0008300 0x8>; /* config space access registers */
  355. compatible = "fsl,mpc8349-pci";
  356. device_type = "pci";
  357. };
  358. pci1: pcie@e0009000 {
  359. #address-cells = <3>;
  360. #size-cells = <2>;
  361. #interrupt-cells = <1>;
  362. device_type = "pci";
  363. compatible = "fsl,mpc8377-pcie", "fsl,mpc8314-pcie";
  364. reg = <0xe0009000 0x00001000>;
  365. ranges = <0x02000000 0 0xa8000000 0xa8000000 0 0x10000000
  366. 0x01000000 0 0x00000000 0xb8000000 0 0x00800000>;
  367. bus-range = <0 255>;
  368. interrupt-map-mask = <0xf800 0 0 7>;
  369. interrupt-map = <0 0 0 1 &ipic 1 8
  370. 0 0 0 2 &ipic 1 8
  371. 0 0 0 3 &ipic 1 8
  372. 0 0 0 4 &ipic 1 8>;
  373. sleep = <&pmc 0x00300000>;
  374. clock-frequency = <0>;
  375. pcie@0 {
  376. #address-cells = <3>;
  377. #size-cells = <2>;
  378. device_type = "pci";
  379. reg = <0 0 0 0 0>;
  380. ranges = <0x02000000 0 0xa8000000
  381. 0x02000000 0 0xa8000000
  382. 0 0x10000000
  383. 0x01000000 0 0x00000000
  384. 0x01000000 0 0x00000000
  385. 0 0x00800000>;
  386. };
  387. };
  388. pci2: pcie@e000a000 {
  389. #address-cells = <3>;
  390. #size-cells = <2>;
  391. #interrupt-cells = <1>;
  392. device_type = "pci";
  393. compatible = "fsl,mpc8377-pcie", "fsl,mpc8314-pcie";
  394. reg = <0xe000a000 0x00001000>;
  395. ranges = <0x02000000 0 0xc8000000 0xc8000000 0 0x10000000
  396. 0x01000000 0 0x00000000 0xd8000000 0 0x00800000>;
  397. bus-range = <0 255>;
  398. interrupt-map-mask = <0xf800 0 0 7>;
  399. interrupt-map = <0 0 0 1 &ipic 2 8
  400. 0 0 0 2 &ipic 2 8
  401. 0 0 0 3 &ipic 2 8
  402. 0 0 0 4 &ipic 2 8>;
  403. sleep = <&pmc 0x000c0000>;
  404. clock-frequency = <0>;
  405. pcie@0 {
  406. #address-cells = <3>;
  407. #size-cells = <2>;
  408. device_type = "pci";
  409. reg = <0 0 0 0 0>;
  410. ranges = <0x02000000 0 0xc8000000
  411. 0x02000000 0 0xc8000000
  412. 0 0x10000000
  413. 0x01000000 0 0x00000000
  414. 0x01000000 0 0x00000000
  415. 0 0x00800000>;
  416. };
  417. };
  418. };