sbc8641d.dts 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. /*
  2. * SBC8641D Device Tree Source
  3. *
  4. * Copyright 2008 Wind River Systems Inc.
  5. *
  6. * Paul Gortmaker (see MAINTAINERS for contact information)
  7. *
  8. * Based largely on the mpc8641_hpcn.dts by Freescale Semiconductor Inc.
  9. *
  10. * This program is free software; you can redistribute it and/or modify it
  11. * under the terms of the GNU General Public License as published by the
  12. * Free Software Foundation; either version 2 of the License, or (at your
  13. * option) any later version.
  14. */
  15. /include/ "mpc8641si-pre.dtsi"
  16. / {
  17. model = "SBC8641D";
  18. compatible = "wind,sbc8641";
  19. memory {
  20. device_type = "memory";
  21. reg = <0x00000000 0x20000000>; // 512M at 0x0
  22. };
  23. lbc: localbus@f8005000 {
  24. reg = <0xf8005000 0x1000>;
  25. ranges = <0 0 0xff000000 0x01000000 // 16MB Boot flash
  26. 1 0 0xf0000000 0x00010000 // 64KB EEPROM
  27. 2 0 0xf1000000 0x00100000 // EPLD (1MB)
  28. 3 0 0xe0000000 0x04000000 // 64MB LB SDRAM (CS3)
  29. 4 0 0xe4000000 0x04000000 // 64MB LB SDRAM (CS4)
  30. 6 0 0xf4000000 0x00100000 // LCD display (1MB)
  31. 7 0 0xe8000000 0x04000000>; // 64MB OneNAND
  32. flash@0,0 {
  33. compatible = "cfi-flash";
  34. reg = <0 0 0x01000000>;
  35. bank-width = <2>;
  36. device-width = <2>;
  37. #address-cells = <1>;
  38. #size-cells = <1>;
  39. partition@0 {
  40. label = "dtb";
  41. reg = <0x00000000 0x00100000>;
  42. read-only;
  43. };
  44. partition@300000 {
  45. label = "kernel";
  46. reg = <0x00100000 0x00400000>;
  47. read-only;
  48. };
  49. partition@400000 {
  50. label = "fs";
  51. reg = <0x00500000 0x00a00000>;
  52. };
  53. partition@700000 {
  54. label = "firmware";
  55. reg = <0x00f00000 0x00100000>;
  56. read-only;
  57. };
  58. };
  59. epld@2,0 {
  60. compatible = "wrs,epld-localbus";
  61. #address-cells = <2>;
  62. #size-cells = <1>;
  63. reg = <2 0 0x100000>;
  64. ranges = <0 0 5 0 1 // User switches
  65. 1 0 5 1 1 // Board ID/Rev
  66. 3 0 5 3 1>; // LEDs
  67. };
  68. };
  69. soc: soc@f8000000 {
  70. ranges = <0x00000000 0xf8000000 0x00100000>;
  71. enet0: ethernet@24000 {
  72. tbi-handle = <&tbi0>;
  73. phy-handle = <&phy0>;
  74. phy-connection-type = "rgmii-id";
  75. };
  76. mdio@24520 {
  77. phy0: ethernet-phy@1f {
  78. reg = <0x1f>;
  79. };
  80. phy1: ethernet-phy@0 {
  81. reg = <0>;
  82. };
  83. phy2: ethernet-phy@1 {
  84. reg = <1>;
  85. };
  86. phy3: ethernet-phy@2 {
  87. reg = <2>;
  88. };
  89. tbi0: tbi-phy@11 {
  90. reg = <0x11>;
  91. device_type = "tbi-phy";
  92. };
  93. };
  94. enet1: ethernet@25000 {
  95. tbi-handle = <&tbi1>;
  96. phy-handle = <&phy1>;
  97. phy-connection-type = "rgmii-id";
  98. };
  99. mdio@25520 {
  100. tbi1: tbi-phy@11 {
  101. reg = <0x11>;
  102. device_type = "tbi-phy";
  103. };
  104. };
  105. enet2: ethernet@26000 {
  106. tbi-handle = <&tbi2>;
  107. phy-handle = <&phy2>;
  108. phy-connection-type = "rgmii-id";
  109. };
  110. mdio@26520 {
  111. tbi2: tbi-phy@11 {
  112. reg = <0x11>;
  113. device_type = "tbi-phy";
  114. };
  115. };
  116. enet3: ethernet@27000 {
  117. tbi-handle = <&tbi3>;
  118. phy-handle = <&phy3>;
  119. phy-connection-type = "rgmii-id";
  120. };
  121. mdio@27520 {
  122. tbi3: tbi-phy@11 {
  123. reg = <0x11>;
  124. device_type = "tbi-phy";
  125. };
  126. };
  127. };
  128. pci0: pcie@f8008000 {
  129. reg = <0xf8008000 0x1000>;
  130. ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x20000000
  131. 0x01000000 0x0 0x00000000 0xe2000000 0x0 0x00100000>;
  132. interrupt-map-mask = <0xff00 0 0 7>;
  133. pcie@0 {
  134. ranges = <0x02000000 0x0 0x80000000
  135. 0x02000000 0x0 0x80000000
  136. 0x0 0x20000000
  137. 0x01000000 0x0 0x00000000
  138. 0x01000000 0x0 0x00000000
  139. 0x0 0x00100000>;
  140. };
  141. };
  142. pci1: pcie@f8009000 {
  143. reg = <0xf8009000 0x1000>;
  144. ranges = <0x02000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000
  145. 0x01000000 0x0 0x00000000 0xe3000000 0x0 0x00100000>;
  146. pcie@0 {
  147. ranges = <0x02000000 0x0 0xa0000000
  148. 0x02000000 0x0 0xa0000000
  149. 0x0 0x20000000
  150. 0x01000000 0x0 0x00000000
  151. 0x01000000 0x0 0x00000000
  152. 0x0 0x00100000>;
  153. };
  154. };
  155. };
  156. /include/ "mpc8641si-post.dtsi"