ep8248e.dts 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  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. device_type = "mdio";
  62. compatible = "fsl,ep8248e-mdio-bitbang";
  63. #address-cells = <1>;
  64. #size-cells = <0>;
  65. reg = <1 8 1>;
  66. PHY0: ethernet-phy@0 {
  67. interrupt-parent = <&PIC>;
  68. reg = <0>;
  69. device_type = "ethernet-phy";
  70. };
  71. PHY1: ethernet-phy@1 {
  72. interrupt-parent = <&PIC>;
  73. reg = <1>;
  74. device_type = "ethernet-phy";
  75. };
  76. };
  77. };
  78. };
  79. memory {
  80. device_type = "memory";
  81. reg = <0 0>;
  82. };
  83. soc@f0000000 {
  84. #address-cells = <1>;
  85. #size-cells = <1>;
  86. compatible = "fsl,mpc8248-immr", "fsl,pq2-soc", "simple-bus";
  87. ranges = <0x00000000 0xf0000000 0x00053000>;
  88. // Temporary until code stops depending on it.
  89. device_type = "soc";
  90. // Temporary -- will go away once kernel uses ranges for get_immrbase().
  91. reg = <0xf0000000 0x00053000>;
  92. cpm@119c0 {
  93. #address-cells = <1>;
  94. #size-cells = <1>;
  95. #interrupt-cells = <2>;
  96. compatible = "fsl,mpc8248-cpm", "fsl,cpm2",
  97. "simple-bus";
  98. reg = <0x119c0 0x30>;
  99. ranges;
  100. muram {
  101. #address-cells = <1>;
  102. #size-cells = <1>;
  103. ranges = <0 0 0x10000>;
  104. data@0 {
  105. compatible = "fsl,cpm-muram-data";
  106. reg = <0 0x2000 0x9800 0x800>;
  107. };
  108. };
  109. brg@119f0 {
  110. compatible = "fsl,mpc8248-brg",
  111. "fsl,cpm2-brg",
  112. "fsl,cpm-brg";
  113. reg = <0x119f0 0x10 0x115f0 0x10>;
  114. };
  115. /* Monitor port/SMC1 */
  116. smc1: serial@11a80 {
  117. device_type = "serial";
  118. compatible = "fsl,mpc8248-smc-uart",
  119. "fsl,cpm2-smc-uart";
  120. reg = <0x11a80 0x20 0x87fc 2>;
  121. interrupts = <4 8>;
  122. interrupt-parent = <&PIC>;
  123. fsl,cpm-brg = <7>;
  124. fsl,cpm-command = <0x1d000000>;
  125. linux,planetcore-label = "SMC1";
  126. };
  127. /* "Serial" port/SCC1 */
  128. scc1: serial@11a00 {
  129. device_type = "serial";
  130. compatible = "fsl,mpc8248-scc-uart",
  131. "fsl,cpm2-scc-uart";
  132. reg = <0x11a00 0x20 0x8000 0x100>;
  133. interrupts = <40 8>;
  134. interrupt-parent = <&PIC>;
  135. fsl,cpm-brg = <1>;
  136. fsl,cpm-command = <0x00800000>;
  137. linux,planetcore-label = "SCC1";
  138. };
  139. eth0: ethernet@11300 {
  140. device_type = "network";
  141. compatible = "fsl,mpc8248-fcc-enet",
  142. "fsl,cpm2-fcc-enet";
  143. reg = <0x11300 0x20 0x8400 0x100 0x11390 1>;
  144. local-mac-address = [ 00 00 00 00 00 00 ];
  145. interrupts = <32 8>;
  146. interrupt-parent = <&PIC>;
  147. phy-handle = <&PHY0>;
  148. linux,network-index = <0>;
  149. fsl,cpm-command = <0x12000300>;
  150. };
  151. eth1: ethernet@11320 {
  152. device_type = "network";
  153. compatible = "fsl,mpc8248-fcc-enet",
  154. "fsl,cpm2-fcc-enet";
  155. reg = <0x11320 0x20 0x8500 0x100 0x113b0 1>;
  156. local-mac-address = [ 00 00 00 00 00 00 ];
  157. interrupts = <33 8>;
  158. interrupt-parent = <&PIC>;
  159. phy-handle = <&PHY1>;
  160. linux,network-index = <1>;
  161. fsl,cpm-command = <0x16200300>;
  162. };
  163. usb@11b60 {
  164. #address-cells = <1>;
  165. #size-cells = <0>;
  166. compatible = "fsl,mpc8248-usb",
  167. "fsl,cpm2-usb";
  168. reg = <0x11b60 0x18 0x8b00 0x100>;
  169. interrupt-parent = <&PIC>;
  170. interrupts = <11 8>;
  171. fsl,cpm-command = <0x2e600000>;
  172. };
  173. };
  174. PIC: interrupt-controller@10c00 {
  175. #interrupt-cells = <2>;
  176. interrupt-controller;
  177. reg = <0x10c00 0x80>;
  178. compatible = "fsl,mpc8248-pic", "fsl,pq2-pic";
  179. };
  180. };
  181. };