mpc8308rdb.dts 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306
  1. // SPDX-License-Identifier: GPL-2.0-or-later
  2. /*
  3. * MPC8308RDB Device Tree Source
  4. *
  5. * Copyright 2009 Freescale Semiconductor Inc.
  6. * Copyright 2010 Ilya Yanok, Emcraft Systems, [email protected]
  7. */
  8. /dts-v1/;
  9. / {
  10. compatible = "fsl,mpc8308rdb";
  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. };
  20. cpus {
  21. #address-cells = <1>;
  22. #size-cells = <0>;
  23. PowerPC,8308@0 {
  24. device_type = "cpu";
  25. reg = <0x0>;
  26. d-cache-line-size = <32>;
  27. i-cache-line-size = <32>;
  28. d-cache-size = <16384>;
  29. i-cache-size = <16384>;
  30. timebase-frequency = <0>; // from bootloader
  31. bus-frequency = <0>; // from bootloader
  32. clock-frequency = <0>; // from bootloader
  33. };
  34. };
  35. memory {
  36. device_type = "memory";
  37. reg = <0x00000000 0x08000000>; // 128MB at 0
  38. };
  39. localbus@e0005000 {
  40. #address-cells = <2>;
  41. #size-cells = <1>;
  42. compatible = "fsl,mpc8315-elbc", "fsl,elbc", "simple-bus";
  43. reg = <0xe0005000 0x1000>;
  44. interrupts = <77 0x8>;
  45. interrupt-parent = <&ipic>;
  46. // CS0 and CS1 are swapped when
  47. // booting from nand, but the
  48. // addresses are the same.
  49. ranges = <0x0 0x0 0xfe000000 0x00800000
  50. 0x1 0x0 0xe0600000 0x00002000
  51. 0x2 0x0 0xf0000000 0x00020000
  52. 0x3 0x0 0xfa000000 0x00008000>;
  53. flash@0,0 {
  54. #address-cells = <1>;
  55. #size-cells = <1>;
  56. compatible = "cfi-flash";
  57. reg = <0x0 0x0 0x800000>;
  58. bank-width = <2>;
  59. device-width = <1>;
  60. u-boot@0 {
  61. reg = <0x0 0x60000>;
  62. read-only;
  63. };
  64. env@60000 {
  65. reg = <0x60000 0x10000>;
  66. };
  67. env1@70000 {
  68. reg = <0x70000 0x10000>;
  69. };
  70. kernel@80000 {
  71. reg = <0x80000 0x200000>;
  72. };
  73. dtb@280000 {
  74. reg = <0x280000 0x10000>;
  75. };
  76. ramdisk@290000 {
  77. reg = <0x290000 0x570000>;
  78. };
  79. };
  80. nand@1,0 {
  81. #address-cells = <1>;
  82. #size-cells = <1>;
  83. compatible = "fsl,mpc8315-fcm-nand",
  84. "fsl,elbc-fcm-nand";
  85. reg = <0x1 0x0 0x2000>;
  86. jffs2@0 {
  87. reg = <0x0 0x2000000>;
  88. };
  89. };
  90. };
  91. immr@e0000000 {
  92. #address-cells = <1>;
  93. #size-cells = <1>;
  94. device_type = "soc";
  95. compatible = "fsl,mpc8308-immr", "simple-bus";
  96. ranges = <0 0xe0000000 0x00100000>;
  97. reg = <0xe0000000 0x00000200>;
  98. bus-frequency = <0>;
  99. i2c@3000 {
  100. #address-cells = <1>;
  101. #size-cells = <0>;
  102. cell-index = <0>;
  103. compatible = "fsl-i2c";
  104. reg = <0x3000 0x100>;
  105. interrupts = <14 0x8>;
  106. interrupt-parent = <&ipic>;
  107. dfsrr;
  108. rtc@68 {
  109. compatible = "dallas,ds1339";
  110. reg = <0x68>;
  111. };
  112. };
  113. usb@23000 {
  114. compatible = "fsl-usb2-dr";
  115. reg = <0x23000 0x1000>;
  116. #address-cells = <1>;
  117. #size-cells = <0>;
  118. interrupt-parent = <&ipic>;
  119. interrupts = <38 0x8>;
  120. dr_mode = "peripheral";
  121. phy_type = "ulpi";
  122. };
  123. enet0: ethernet@24000 {
  124. #address-cells = <1>;
  125. #size-cells = <1>;
  126. ranges = <0x0 0x24000 0x1000>;
  127. cell-index = <0>;
  128. device_type = "network";
  129. model = "eTSEC";
  130. compatible = "gianfar";
  131. reg = <0x24000 0x1000>;
  132. local-mac-address = [ 00 00 00 00 00 00 ];
  133. interrupts = <32 0x8 33 0x8 34 0x8>;
  134. interrupt-parent = <&ipic>;
  135. tbi-handle = < &tbi0 >;
  136. phy-handle = < &phy2 >;
  137. fsl,magic-packet;
  138. mdio@520 {
  139. #address-cells = <1>;
  140. #size-cells = <0>;
  141. compatible = "fsl,gianfar-mdio";
  142. reg = <0x520 0x20>;
  143. phy2: ethernet-phy@2 {
  144. interrupt-parent = <&ipic>;
  145. interrupts = <17 0x8>;
  146. reg = <0x2>;
  147. };
  148. tbi0: tbi-phy@11 {
  149. reg = <0x11>;
  150. device_type = "tbi-phy";
  151. };
  152. };
  153. };
  154. enet1: ethernet@25000 {
  155. #address-cells = <1>;
  156. #size-cells = <1>;
  157. cell-index = <1>;
  158. device_type = "network";
  159. model = "eTSEC";
  160. compatible = "gianfar";
  161. reg = <0x25000 0x1000>;
  162. ranges = <0x0 0x25000 0x1000>;
  163. local-mac-address = [ 00 00 00 00 00 00 ];
  164. interrupts = <35 0x8 36 0x8 37 0x8>;
  165. interrupt-parent = <&ipic>;
  166. tbi-handle = < &tbi1 >;
  167. /* Vitesse 7385 isn't on the MDIO bus */
  168. fixed-link = <1 1 1000 0 0>;
  169. fsl,magic-packet;
  170. mdio@520 {
  171. #address-cells = <1>;
  172. #size-cells = <0>;
  173. compatible = "fsl,gianfar-tbi";
  174. reg = <0x520 0x20>;
  175. tbi1: tbi-phy@11 {
  176. reg = <0x11>;
  177. device_type = "tbi-phy";
  178. };
  179. };
  180. };
  181. serial0: serial@4500 {
  182. cell-index = <0>;
  183. device_type = "serial";
  184. compatible = "fsl,ns16550", "ns16550";
  185. reg = <0x4500 0x100>;
  186. clock-frequency = <133333333>;
  187. interrupts = <9 0x8>;
  188. interrupt-parent = <&ipic>;
  189. };
  190. serial1: serial@4600 {
  191. cell-index = <1>;
  192. device_type = "serial";
  193. compatible = "fsl,ns16550", "ns16550";
  194. reg = <0x4600 0x100>;
  195. clock-frequency = <133333333>;
  196. interrupts = <10 0x8>;
  197. interrupt-parent = <&ipic>;
  198. };
  199. gpio@c00 {
  200. #gpio-cells = <2>;
  201. device_type = "gpio";
  202. compatible = "fsl,mpc8308-gpio", "fsl,mpc8349-gpio";
  203. reg = <0xc00 0x18>;
  204. interrupts = <74 0x8>;
  205. interrupt-parent = <&ipic>;
  206. gpio-controller;
  207. };
  208. /* IPIC
  209. * interrupts cell = <intr #, sense>
  210. * sense values match linux IORESOURCE_IRQ_* defines:
  211. * sense == 8: Level, low assertion
  212. * sense == 2: Edge, high-to-low change
  213. */
  214. ipic: interrupt-controller@700 {
  215. compatible = "fsl,ipic";
  216. interrupt-controller;
  217. #address-cells = <0>;
  218. #interrupt-cells = <2>;
  219. reg = <0x700 0x100>;
  220. device_type = "ipic";
  221. };
  222. ipic-msi@7c0 {
  223. compatible = "fsl,ipic-msi";
  224. reg = <0x7c0 0x40>;
  225. msi-available-ranges = <0x0 0x100>;
  226. interrupts = < 0x43 0x8
  227. 0x4 0x8
  228. 0x51 0x8
  229. 0x52 0x8
  230. 0x56 0x8
  231. 0x57 0x8
  232. 0x58 0x8
  233. 0x59 0x8 >;
  234. interrupt-parent = < &ipic >;
  235. };
  236. dma@2c000 {
  237. compatible = "fsl,mpc8308-dma";
  238. reg = <0x2c000 0x1800>;
  239. interrupts = <3 0x8
  240. 94 0x8>;
  241. interrupt-parent = < &ipic >;
  242. };
  243. };
  244. pci0: pcie@e0009000 {
  245. #address-cells = <3>;
  246. #size-cells = <2>;
  247. #interrupt-cells = <1>;
  248. device_type = "pci";
  249. compatible = "fsl,mpc8308-pcie", "fsl,mpc8314-pcie";
  250. reg = <0xe0009000 0x00001000
  251. 0xb0000000 0x01000000>;
  252. ranges = <0x02000000 0 0xa0000000 0xa0000000 0 0x10000000
  253. 0x01000000 0 0x00000000 0xb1000000 0 0x00800000>;
  254. bus-range = <0 0>;
  255. interrupt-map-mask = <0xf800 0 0 7>;
  256. interrupt-map = <0 0 0 1 &ipic 1 8
  257. 0 0 0 2 &ipic 1 8
  258. 0 0 0 3 &ipic 1 8
  259. 0 0 0 4 &ipic 1 8>;
  260. interrupts = <0x1 0x8>;
  261. interrupt-parent = <&ipic>;
  262. clock-frequency = <0>;
  263. pcie@0 {
  264. #address-cells = <3>;
  265. #size-cells = <2>;
  266. device_type = "pci";
  267. reg = <0 0 0 0 0>;
  268. ranges = <0x02000000 0 0xa0000000
  269. 0x02000000 0 0xa0000000
  270. 0 0x10000000
  271. 0x01000000 0 0x00000000
  272. 0x01000000 0 0x00000000
  273. 0 0x00800000>;
  274. };
  275. };
  276. };