mpc8377_wlan.dts 10 KB

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