mpc8308_p1m.dts 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339
  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. };
  174. phy2: ethernet-phy@2 {
  175. interrupt-parent = <&ipic>;
  176. interrupts = <19 0x8>;
  177. reg = <0x2>;
  178. };
  179. tbi0: tbi-phy@11 {
  180. reg = <0x11>;
  181. device_type = "tbi-phy";
  182. };
  183. };
  184. };
  185. enet1: ethernet@25000 {
  186. #address-cells = <1>;
  187. #size-cells = <1>;
  188. cell-index = <1>;
  189. device_type = "network";
  190. model = "eTSEC";
  191. compatible = "gianfar";
  192. reg = <0x25000 0x1000>;
  193. ranges = <0x0 0x25000 0x1000>;
  194. local-mac-address = [ 00 00 00 00 00 00 ];
  195. interrupts = <35 0x8 36 0x8 37 0x8>;
  196. interrupt-parent = <&ipic>;
  197. phy-handle = < &phy2 >;
  198. mdio@520 {
  199. #address-cells = <1>;
  200. #size-cells = <0>;
  201. compatible = "fsl,gianfar-tbi";
  202. reg = <0x520 0x20>;
  203. tbi1: tbi-phy@11 {
  204. reg = <0x11>;
  205. device_type = "tbi-phy";
  206. };
  207. };
  208. };
  209. serial0: serial@4500 {
  210. cell-index = <0>;
  211. device_type = "serial";
  212. compatible = "fsl,ns16550", "ns16550";
  213. reg = <0x4500 0x100>;
  214. clock-frequency = <133333333>;
  215. interrupts = <9 0x8>;
  216. interrupt-parent = <&ipic>;
  217. };
  218. serial1: serial@4600 {
  219. cell-index = <1>;
  220. device_type = "serial";
  221. compatible = "fsl,ns16550", "ns16550";
  222. reg = <0x4600 0x100>;
  223. clock-frequency = <133333333>;
  224. interrupts = <10 0x8>;
  225. interrupt-parent = <&ipic>;
  226. };
  227. gpio@c00 {
  228. #gpio-cells = <2>;
  229. compatible = "fsl,mpc8308-gpio", "fsl,mpc8349-gpio";
  230. reg = <0xc00 0x18>;
  231. interrupts = <74 0x8>;
  232. interrupt-parent = <&ipic>;
  233. gpio-controller;
  234. };
  235. timer@500 {
  236. compatible = "fsl,mpc8308-gtm", "fsl,gtm";
  237. reg = <0x500 0x100>;
  238. interrupts = <90 8 78 8 84 8 72 8>;
  239. interrupt-parent = <&ipic>;
  240. clock-frequency = <133333333>;
  241. };
  242. /* IPIC
  243. * interrupts cell = <intr #, sense>
  244. * sense values match linux IORESOURCE_IRQ_* defines:
  245. * sense == 8: Level, low assertion
  246. * sense == 2: Edge, high-to-low change
  247. */
  248. ipic: interrupt-controller@700 {
  249. compatible = "fsl,ipic";
  250. interrupt-controller;
  251. #address-cells = <0>;
  252. #interrupt-cells = <2>;
  253. reg = <0x700 0x100>;
  254. device_type = "ipic";
  255. };
  256. ipic-msi@7c0 {
  257. compatible = "fsl,ipic-msi";
  258. reg = <0x7c0 0x40>;
  259. msi-available-ranges = <0x0 0x100>;
  260. interrupts = < 0x43 0x8
  261. 0x4 0x8
  262. 0x51 0x8
  263. 0x52 0x8
  264. 0x56 0x8
  265. 0x57 0x8
  266. 0x58 0x8
  267. 0x59 0x8 >;
  268. interrupt-parent = < &ipic >;
  269. };
  270. dma@2c000 {
  271. compatible = "fsl,mpc8308-dma";
  272. reg = <0x2c000 0x1800>;
  273. interrupts = <3 0x8
  274. 94 0x8>;
  275. interrupt-parent = < &ipic >;
  276. };
  277. };
  278. pci0: pcie@e0009000 {
  279. #address-cells = <3>;
  280. #size-cells = <2>;
  281. #interrupt-cells = <1>;
  282. device_type = "pci";
  283. compatible = "fsl,mpc8308-pcie", "fsl,mpc8314-pcie";
  284. reg = <0xe0009000 0x00001000
  285. 0xb0000000 0x01000000>;
  286. ranges = <0x02000000 0 0xa0000000 0xa0000000 0 0x10000000
  287. 0x01000000 0 0x00000000 0xb1000000 0 0x00800000>;
  288. bus-range = <0 0>;
  289. interrupt-map-mask = <0 0 0 0>;
  290. interrupt-map = <0 0 0 0 &ipic 1 8>;
  291. interrupts = <0x1 0x8>;
  292. interrupt-parent = <&ipic>;
  293. clock-frequency = <0>;
  294. pcie@0 {
  295. #address-cells = <3>;
  296. #size-cells = <2>;
  297. device_type = "pci";
  298. reg = <0 0 0 0 0>;
  299. ranges = <0x02000000 0 0xa0000000
  300. 0x02000000 0 0xa0000000
  301. 0 0x10000000
  302. 0x01000000 0 0x00000000
  303. 0x01000000 0 0x00000000
  304. 0 0x00800000>;
  305. };
  306. };
  307. };