adder875-redboot.dts 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. /*
  2. * Device Tree Source for MPC885 ADS running RedBoot
  3. *
  4. * Copyright 2006 MontaVista Software, Inc.
  5. * Copyright 2007 Freescale Semiconductor, Inc.
  6. *
  7. * This program is free software; you can redistribute it and/or modify it
  8. * under the terms of the GNU General Public License as published by the
  9. * Free Software Foundation; either version 2 of the License, or (at your
  10. * option) any later version.
  11. */
  12. /dts-v1/;
  13. / {
  14. model = "Analogue & Micro Adder MPC875";
  15. compatible = "analogue-and-micro,adder875";
  16. #address-cells = <1>;
  17. #size-cells = <1>;
  18. aliases {
  19. console = &console;
  20. ethernet0 = &eth0;
  21. ethernet1 = &eth1;
  22. };
  23. cpus {
  24. #address-cells = <1>;
  25. #size-cells = <0>;
  26. PowerPC,875@0 {
  27. device_type = "cpu";
  28. reg = <0>;
  29. d-cache-line-size = <16>;
  30. i-cache-line-size = <16>;
  31. d-cache-size = <8192>;
  32. i-cache-size = <8192>;
  33. timebase-frequency = <0>;
  34. bus-frequency = <0>;
  35. clock-frequency = <0>;
  36. interrupts = <15 2>; // decrementer interrupt
  37. interrupt-parent = <&PIC>;
  38. };
  39. };
  40. memory {
  41. device_type = "memory";
  42. reg = <0 0x01000000>;
  43. };
  44. localbus@fa200100 {
  45. compatible = "fsl,mpc885-localbus", "fsl,pq1-localbus",
  46. "simple-bus";
  47. #address-cells = <2>;
  48. #size-cells = <1>;
  49. reg = <0xfa200100 0x40>;
  50. ranges = <
  51. 0 0 0xfe000000 0x00800000
  52. 2 0 0xfa100000 0x00008000
  53. >;
  54. flash@0,0 {
  55. compatible = "cfi-flash";
  56. reg = <0 0 0x800000>;
  57. bank-width = <2>;
  58. device-width = <2>;
  59. };
  60. };
  61. soc@fa200000 {
  62. compatible = "fsl,mpc875-immr", "fsl,pq1-soc", "simple-bus";
  63. #address-cells = <1>;
  64. #size-cells = <1>;
  65. ranges = <0 0xfa200000 0x00004000>;
  66. // Temporary until code stops depending on it.
  67. device_type = "soc";
  68. // Temporary until get_immrbase() is fixed.
  69. reg = <0xfa200000 0x4000>;
  70. mdio@e00 {
  71. compatible = "fsl,mpc875-fec-mdio", "fsl,pq1-fec-mdio";
  72. reg = <0xe00 0x188>;
  73. #address-cells = <1>;
  74. #size-cells = <0>;
  75. PHY0: ethernet-phy@0 {
  76. reg = <0>;
  77. };
  78. PHY1: ethernet-phy@1 {
  79. reg = <1>;
  80. };
  81. };
  82. eth0: ethernet@e00 {
  83. device_type = "network";
  84. compatible = "fsl,mpc875-fec-enet",
  85. "fsl,pq1-fec-enet";
  86. reg = <0xe00 0x188>;
  87. local-mac-address = [ 00 00 00 00 00 00 ];
  88. interrupts = <3 1>;
  89. interrupt-parent = <&PIC>;
  90. phy-handle = <&PHY0>;
  91. linux,network-index = <0>;
  92. };
  93. eth1: ethernet@1e00 {
  94. device_type = "network";
  95. compatible = "fsl,mpc875-fec-enet",
  96. "fsl,pq1-fec-enet";
  97. reg = <0x1e00 0x188>;
  98. local-mac-address = [ 00 00 00 00 00 00 ];
  99. interrupts = <7 1>;
  100. interrupt-parent = <&PIC>;
  101. phy-handle = <&PHY1>;
  102. linux,network-index = <1>;
  103. };
  104. PIC: interrupt-controller@0 {
  105. interrupt-controller;
  106. #interrupt-cells = <2>;
  107. reg = <0 0x24>;
  108. compatible = "fsl,mpc875-pic", "fsl,pq1-pic";
  109. };
  110. cpm@9c0 {
  111. #address-cells = <1>;
  112. #size-cells = <1>;
  113. compatible = "fsl,mpc875-cpm", "fsl,cpm1", "simple-bus";
  114. interrupts = <0>; // cpm error interrupt
  115. interrupt-parent = <&CPM_PIC>;
  116. reg = <0x9c0 0x40>;
  117. ranges;
  118. muram {
  119. #address-cells = <1>;
  120. #size-cells = <1>;
  121. ranges = <0 0x2000 0x2000>;
  122. data@0 {
  123. compatible = "fsl,cpm-muram-data";
  124. reg = <0 0x1c00>;
  125. };
  126. };
  127. brg@9f0 {
  128. compatible = "fsl,mpc875-brg",
  129. "fsl,cpm1-brg",
  130. "fsl,cpm-brg";
  131. clock-frequency = <50000000>;
  132. reg = <0x9f0 0x10>;
  133. };
  134. CPM_PIC: interrupt-controller@930 {
  135. interrupt-controller;
  136. #interrupt-cells = <1>;
  137. interrupts = <5 2 0 2>;
  138. interrupt-parent = <&PIC>;
  139. reg = <0x930 0x20>;
  140. compatible = "fsl,mpc875-cpm-pic",
  141. "fsl,cpm1-pic";
  142. };
  143. console: serial@a80 {
  144. device_type = "serial";
  145. compatible = "fsl,mpc875-smc-uart",
  146. "fsl,cpm1-smc-uart";
  147. reg = <0xa80 0x10 0x3e80 0x40>;
  148. interrupts = <4>;
  149. interrupt-parent = <&CPM_PIC>;
  150. fsl,cpm-brg = <1>;
  151. fsl,cpm-command = <0x0090>;
  152. current-speed = <115200>;
  153. };
  154. };
  155. };
  156. chosen {
  157. linux,stdout-path = &console;
  158. };
  159. };