mpc8308_p1m.dts 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341
  1. /*
  2. * mpc8308_p1m Device Tree Source
  3. *
  4. * Copyright 2010 Ilya Yanok, Emcraft Systems, yanok@emcraft.com
  5. *
  6. * This program is free software; you can redistribute it and/or modify it
  7. * under the terms of the GNU General Public License as published by the
  8. * Free Software Foundation; either version 2 of the License, or (at your
  9. * option) any later version.
  10. */
  11. /dts-v1/;
  12. / {
  13. compatible = "denx,mpc8308_p1m";
  14. #address-cells = <1>;
  15. #size-cells = <1>;
  16. aliases {
  17. ethernet0 = &enet0;
  18. ethernet1 = &enet1;
  19. serial0 = &serial0;
  20. serial1 = &serial1;
  21. pci0 = &pci0;
  22. };
  23. cpus {
  24. #address-cells = <1>;
  25. #size-cells = <0>;
  26. PowerPC,8308@0 {
  27. device_type = "cpu";
  28. reg = <0x0>;
  29. d-cache-line-size = <32>;
  30. i-cache-line-size = <32>;
  31. d-cache-size = <16384>;
  32. i-cache-size = <16384>;
  33. timebase-frequency = <0>; // from bootloader
  34. bus-frequency = <0>; // from bootloader
  35. clock-frequency = <0>; // from bootloader
  36. };
  37. };
  38. memory {
  39. device_type = "memory";
  40. reg = <0x00000000 0x08000000>; // 128MB at 0
  41. };
  42. localbus@e0005000 {
  43. #address-cells = <2>;
  44. #size-cells = <1>;
  45. compatible = "fsl,mpc8315-elbc", "fsl,elbc", "simple-bus";
  46. reg = <0xe0005000 0x1000>;
  47. interrupts = <77 0x8>;
  48. interrupt-parent = <&ipic>;
  49. ranges = <0x0 0x0 0xfc000000 0x04000000
  50. 0x1 0x0 0xfbff0000 0x00008000
  51. 0x2 0x0 0xfbff8000 0x00008000>;
  52. flash@0,0 {
  53. #address-cells = <1>;
  54. #size-cells = <1>;
  55. compatible = "cfi-flash";
  56. reg = <0x0 0x0 0x4000000>;
  57. bank-width = <2>;
  58. device-width = <1>;
  59. u-boot@0 {
  60. reg = <0x0 0x60000>;
  61. read-only;
  62. };
  63. env@60000 {
  64. reg = <0x60000 0x20000>;
  65. };
  66. env1@80000 {
  67. reg = <0x80000 0x20000>;
  68. };
  69. kernel@a0000 {
  70. reg = <0xa0000 0x200000>;
  71. };
  72. dtb@2a0000 {
  73. reg = <0x2a0000 0x20000>;
  74. };
  75. ramdisk@2c0000 {
  76. reg = <0x2c0000 0x640000>;
  77. };
  78. user@700000 {
  79. reg = <0x700000 0x3900000>;
  80. };
  81. };
  82. can@1,0 {
  83. compatible = "nxp,sja1000";
  84. reg = <0x1 0x0 0x80>;
  85. interrupts = <18 0x8>;
  86. interrups-parent = <&ipic>;
  87. };
  88. cpld@2,0 {
  89. compatible = "denx,mpc8308_p1m-cpld";
  90. reg = <0x2 0x0 0x8>;
  91. interrupts = <48 0x8>;
  92. interrups-parent = <&ipic>;
  93. };
  94. };
  95. immr@e0000000 {
  96. #address-cells = <1>;
  97. #size-cells = <1>;
  98. device_type = "soc";
  99. compatible = "fsl,mpc8308-immr", "simple-bus";
  100. ranges = <0 0xe0000000 0x00100000>;
  101. reg = <0xe0000000 0x00000200>;
  102. bus-frequency = <0>;
  103. i2c@3000 {
  104. #address-cells = <1>;
  105. #size-cells = <0>;
  106. compatible = "fsl-i2c";
  107. reg = <0x3000 0x100>;
  108. interrupts = <14 0x8>;
  109. interrupt-parent = <&ipic>;
  110. dfsrr;
  111. fram@50 {
  112. compatible = "ramtron,24c64";
  113. reg = <0x50>;
  114. };
  115. };
  116. i2c@3100 {
  117. #address-cells = <1>;
  118. #size-cells = <0>;
  119. compatible = "fsl-i2c";
  120. reg = <0x3100 0x100>;
  121. interrupts = <15 0x8>;
  122. interrupt-parent = <&ipic>;
  123. dfsrr;
  124. pwm@28 {
  125. compatible = "maxim,ds1050";
  126. reg = <0x28>;
  127. };
  128. sensor@48 {
  129. compatible = "maxim,max6625";
  130. reg = <0x48>;
  131. };
  132. sensor@49 {
  133. compatible = "maxim,max6625";
  134. reg = <0x49>;
  135. };
  136. sensor@4b {
  137. compatible = "maxim,max6625";
  138. reg = <0x4b>;
  139. };
  140. };
  141. usb@23000 {
  142. compatible = "fsl-usb2-dr";
  143. reg = <0x23000 0x1000>;
  144. #address-cells = <1>;
  145. #size-cells = <0>;
  146. interrupt-parent = <&ipic>;
  147. interrupts = <38 0x8>;
  148. dr_mode = "peripheral";
  149. phy_type = "ulpi";
  150. };
  151. enet0: ethernet@24000 {
  152. #address-cells = <1>;
  153. #size-cells = <1>;
  154. ranges = <0x0 0x24000 0x1000>;
  155. cell-index = <0>;
  156. device_type = "network";
  157. model = "eTSEC";
  158. compatible = "gianfar";
  159. reg = <0x24000 0x1000>;
  160. local-mac-address = [ 00 00 00 00 00 00 ];
  161. interrupts = <32 0x8 33 0x8 34 0x8>;
  162. interrupt-parent = <&ipic>;
  163. phy-handle = < &phy1 >;
  164. mdio@520 {
  165. #address-cells = <1>;
  166. #size-cells = <0>;
  167. compatible = "fsl,gianfar-mdio";
  168. reg = <0x520 0x20>;
  169. phy1: ethernet-phy@1 {
  170. interrupt-parent = <&ipic>;
  171. interrupts = <17 0x8>;
  172. reg = <0x1>;
  173. device_type = "ethernet-phy";
  174. };
  175. phy2: ethernet-phy@2 {
  176. interrupt-parent = <&ipic>;
  177. interrupts = <19 0x8>;
  178. reg = <0x2>;
  179. device_type = "ethernet-phy";
  180. };
  181. tbi0: tbi-phy@11 {
  182. reg = <0x11>;
  183. device_type = "tbi-phy";
  184. };
  185. };
  186. };
  187. enet1: ethernet@25000 {
  188. #address-cells = <1>;
  189. #size-cells = <1>;
  190. cell-index = <1>;
  191. device_type = "network";
  192. model = "eTSEC";
  193. compatible = "gianfar";
  194. reg = <0x25000 0x1000>;
  195. ranges = <0x0 0x25000 0x1000>;
  196. local-mac-address = [ 00 00 00 00 00 00 ];
  197. interrupts = <35 0x8 36 0x8 37 0x8>;
  198. interrupt-parent = <&ipic>;
  199. phy-handle = < &phy2 >;
  200. mdio@520 {
  201. #address-cells = <1>;
  202. #size-cells = <0>;
  203. compatible = "fsl,gianfar-tbi";
  204. reg = <0x520 0x20>;
  205. tbi1: tbi-phy@11 {
  206. reg = <0x11>;
  207. device_type = "tbi-phy";
  208. };
  209. };
  210. };
  211. serial0: serial@4500 {
  212. cell-index = <0>;
  213. device_type = "serial";
  214. compatible = "ns16550";
  215. reg = <0x4500 0x100>;
  216. clock-frequency = <133333333>;
  217. interrupts = <9 0x8>;
  218. interrupt-parent = <&ipic>;
  219. };
  220. serial1: serial@4600 {
  221. cell-index = <1>;
  222. device_type = "serial";
  223. compatible = "ns16550";
  224. reg = <0x4600 0x100>;
  225. clock-frequency = <133333333>;
  226. interrupts = <10 0x8>;
  227. interrupt-parent = <&ipic>;
  228. };
  229. gpio@c00 {
  230. #gpio-cells = <2>;
  231. compatible = "fsl,mpc8308-gpio", "fsl,mpc8349-gpio";
  232. reg = <0xc00 0x18>;
  233. interrupts = <74 0x8>;
  234. interrupt-parent = <&ipic>;
  235. gpio-controller;
  236. };
  237. timer@500 {
  238. compatible = "fsl,mpc8308-gtm", "fsl,gtm";
  239. reg = <0x500 0x100>;
  240. interrupts = <90 8 78 8 84 8 72 8>;
  241. interrupt-parent = <&ipic>;
  242. clock-frequency = <133333333>;
  243. };
  244. /* IPIC
  245. * interrupts cell = <intr #, sense>
  246. * sense values match linux IORESOURCE_IRQ_* defines:
  247. * sense == 8: Level, low assertion
  248. * sense == 2: Edge, high-to-low change
  249. */
  250. ipic: interrupt-controller@700 {
  251. compatible = "fsl,ipic";
  252. interrupt-controller;
  253. #address-cells = <0>;
  254. #interrupt-cells = <2>;
  255. reg = <0x700 0x100>;
  256. device_type = "ipic";
  257. };
  258. ipic-msi@7c0 {
  259. compatible = "fsl,ipic-msi";
  260. reg = <0x7c0 0x40>;
  261. msi-available-ranges = <0x0 0x100>;
  262. interrupts = < 0x43 0x8
  263. 0x4 0x8
  264. 0x51 0x8
  265. 0x52 0x8
  266. 0x56 0x8
  267. 0x57 0x8
  268. 0x58 0x8
  269. 0x59 0x8 >;
  270. interrupt-parent = < &ipic >;
  271. };
  272. dma@2c000 {
  273. compatible = "fsl,mpc8308-dma", "fsl,mpc5121-dma";
  274. reg = <0x2c000 0x1800>;
  275. interrupts = <3 0x8
  276. 94 0x8>;
  277. interrupt-parent = < &ipic >;
  278. };
  279. };
  280. pci0: pcie@e0009000 {
  281. #address-cells = <3>;
  282. #size-cells = <2>;
  283. #interrupt-cells = <1>;
  284. device_type = "pci";
  285. compatible = "fsl,mpc8308-pcie", "fsl,mpc8314-pcie";
  286. reg = <0xe0009000 0x00001000
  287. 0xb0000000 0x01000000>;
  288. ranges = <0x02000000 0 0xa0000000 0xa0000000 0 0x10000000
  289. 0x01000000 0 0x00000000 0xb1000000 0 0x00800000>;
  290. bus-range = <0 0>;
  291. interrupt-map-mask = <0 0 0 0>;
  292. interrupt-map = <0 0 0 0 &ipic 1 8>;
  293. interrupts = <0x1 0x8>;
  294. interrupt-parent = <&ipic>;
  295. clock-frequency = <0>;
  296. pcie@0 {
  297. #address-cells = <3>;
  298. #size-cells = <2>;
  299. device_type = "pci";
  300. reg = <0 0 0 0 0>;
  301. ranges = <0x02000000 0 0xa0000000
  302. 0x02000000 0 0xa0000000
  303. 0 0x10000000
  304. 0x01000000 0 0x00000000
  305. 0x01000000 0 0x00000000
  306. 0 0x00800000>;
  307. };
  308. };
  309. };