ep8248e.dts 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. /*
  2. * Device Tree for the Embedded Planet EP8248E board running PlanetCore.
  3. *
  4. * Copyright 2007 Freescale Semiconductor Inc.
  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. model = "EP8248E";
  14. compatible = "fsl,ep8248e";
  15. #address-cells = <1>;
  16. #size-cells = <1>;
  17. aliases {
  18. planetcore-SMC1 = &smc1;
  19. planetcore-SCC1 = &scc1;
  20. ethernet0 = &eth0;
  21. ethernet1 = &eth1;
  22. serial0 = &smc1;
  23. serial1 = &scc1;
  24. };
  25. cpus {
  26. #address-cells = <1>;
  27. #size-cells = <0>;
  28. PowerPC,8248@0 {
  29. device_type = "cpu";
  30. reg = <0>;
  31. d-cache-line-size = <32>;
  32. i-cache-line-size = <32>;
  33. d-cache-size = <16384>;
  34. i-cache-size = <16384>;
  35. timebase-frequency = <0>;
  36. clock-frequency = <0>;
  37. };
  38. };
  39. localbus@f0010100 {
  40. compatible = "fsl,mpc8248-localbus",
  41. "fsl,pq2-localbus",
  42. "simple-bus";
  43. #address-cells = <2>;
  44. #size-cells = <1>;
  45. reg = <0xf0010100 0x40>;
  46. ranges = <0 0 0xfc000000 0x04000000
  47. 1 0 0xfa000000 0x00008000>;
  48. flash@0,3800000 {
  49. compatible = "cfi-flash";
  50. reg = <0 0x3800000 0x800000>;
  51. bank-width = <4>;
  52. device-width = <2>;
  53. };
  54. bcsr@1,0 {
  55. #address-cells = <2>;
  56. #size-cells = <1>;
  57. reg = <1 0 0x10>;
  58. compatible = "fsl,ep8248e-bcsr";
  59. ranges;
  60. mdio {
  61. compatible = "fsl,ep8248e-mdio-bitbang";
  62. #address-cells = <1>;
  63. #size-cells = <0>;
  64. reg = <1 8 1>;
  65. PHY0: ethernet-phy@0 {
  66. interrupt-parent = <&PIC>;
  67. reg = <0>;
  68. };
  69. PHY1: ethernet-phy@1 {
  70. interrupt-parent = <&PIC>;
  71. reg = <1>;
  72. };
  73. };
  74. };
  75. };
  76. memory {
  77. device_type = "memory";
  78. reg = <0 0>;
  79. };
  80. soc@f0000000 {
  81. #address-cells = <1>;
  82. #size-cells = <1>;
  83. compatible = "fsl,mpc8248-immr", "fsl,pq2-soc", "simple-bus";
  84. ranges = <0x00000000 0xf0000000 0x00053000>;
  85. // Temporary until code stops depending on it.
  86. device_type = "soc";
  87. // Temporary -- will go away once kernel uses ranges for get_immrbase().
  88. reg = <0xf0000000 0x00053000>;
  89. cpm@119c0 {
  90. #address-cells = <1>;
  91. #size-cells = <1>;
  92. #interrupt-cells = <2>;
  93. compatible = "fsl,mpc8248-cpm", "fsl,cpm2",
  94. "simple-bus";
  95. reg = <0x119c0 0x30>;
  96. ranges;
  97. muram {
  98. #address-cells = <1>;
  99. #size-cells = <1>;
  100. ranges = <0 0 0x10000>;
  101. data@0 {
  102. compatible = "fsl,cpm-muram-data";
  103. reg = <0 0x2000 0x9800 0x800>;
  104. };
  105. };
  106. brg@119f0 {
  107. compatible = "fsl,mpc8248-brg",
  108. "fsl,cpm2-brg",
  109. "fsl,cpm-brg";
  110. reg = <0x119f0 0x10 0x115f0 0x10>;
  111. };
  112. /* Monitor port/SMC1 */
  113. smc1: serial@11a80 {
  114. device_type = "serial";
  115. compatible = "fsl,mpc8248-smc-uart",
  116. "fsl,cpm2-smc-uart";
  117. reg = <0x11a80 0x20 0x87fc 2>;
  118. interrupts = <4 8>;
  119. interrupt-parent = <&PIC>;
  120. fsl,cpm-brg = <7>;
  121. fsl,cpm-command = <0x1d000000>;
  122. linux,planetcore-label = "SMC1";
  123. };
  124. /* "Serial" port/SCC1 */
  125. scc1: serial@11a00 {
  126. device_type = "serial";
  127. compatible = "fsl,mpc8248-scc-uart",
  128. "fsl,cpm2-scc-uart";
  129. reg = <0x11a00 0x20 0x8000 0x100>;
  130. interrupts = <40 8>;
  131. interrupt-parent = <&PIC>;
  132. fsl,cpm-brg = <1>;
  133. fsl,cpm-command = <0x00800000>;
  134. linux,planetcore-label = "SCC1";
  135. };
  136. eth0: ethernet@11300 {
  137. device_type = "network";
  138. compatible = "fsl,mpc8248-fcc-enet",
  139. "fsl,cpm2-fcc-enet";
  140. reg = <0x11300 0x20 0x8400 0x100 0x11390 1>;
  141. local-mac-address = [ 00 00 00 00 00 00 ];
  142. interrupts = <32 8>;
  143. interrupt-parent = <&PIC>;
  144. phy-handle = <&PHY0>;
  145. linux,network-index = <0>;
  146. fsl,cpm-command = <0x12000300>;
  147. };
  148. eth1: ethernet@11320 {
  149. device_type = "network";
  150. compatible = "fsl,mpc8248-fcc-enet",
  151. "fsl,cpm2-fcc-enet";
  152. reg = <0x11320 0x20 0x8500 0x100 0x113b0 1>;
  153. local-mac-address = [ 00 00 00 00 00 00 ];
  154. interrupts = <33 8>;
  155. interrupt-parent = <&PIC>;
  156. phy-handle = <&PHY1>;
  157. linux,network-index = <1>;
  158. fsl,cpm-command = <0x16200300>;
  159. };
  160. usb@11b60 {
  161. #address-cells = <1>;
  162. #size-cells = <0>;
  163. compatible = "fsl,mpc8248-usb",
  164. "fsl,cpm2-usb";
  165. reg = <0x11b60 0x18 0x8b00 0x100>;
  166. interrupt-parent = <&PIC>;
  167. interrupts = <11 8>;
  168. fsl,cpm-command = <0x2e600000>;
  169. };
  170. };
  171. PIC: interrupt-controller@10c00 {
  172. #interrupt-cells = <2>;
  173. interrupt-controller;
  174. reg = <0x10c00 0x80>;
  175. compatible = "fsl,mpc8248-pic", "fsl,pq2-pic";
  176. };
  177. };
  178. };