adder875-redboot.dts 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  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. device_type = "ethernet-phy";
  78. };
  79. PHY1: ethernet-phy@1 {
  80. reg = <1>;
  81. device_type = "ethernet-phy";
  82. };
  83. };
  84. eth0: ethernet@e00 {
  85. device_type = "network";
  86. compatible = "fsl,mpc875-fec-enet",
  87. "fsl,pq1-fec-enet";
  88. reg = <0xe00 0x188>;
  89. local-mac-address = [ 00 00 00 00 00 00 ];
  90. interrupts = <3 1>;
  91. interrupt-parent = <&PIC>;
  92. phy-handle = <&PHY0>;
  93. linux,network-index = <0>;
  94. };
  95. eth1: ethernet@1e00 {
  96. device_type = "network";
  97. compatible = "fsl,mpc875-fec-enet",
  98. "fsl,pq1-fec-enet";
  99. reg = <0x1e00 0x188>;
  100. local-mac-address = [ 00 00 00 00 00 00 ];
  101. interrupts = <7 1>;
  102. interrupt-parent = <&PIC>;
  103. phy-handle = <&PHY1>;
  104. linux,network-index = <1>;
  105. };
  106. PIC: interrupt-controller@0 {
  107. interrupt-controller;
  108. #interrupt-cells = <2>;
  109. reg = <0 0x24>;
  110. compatible = "fsl,mpc875-pic", "fsl,pq1-pic";
  111. };
  112. cpm@9c0 {
  113. #address-cells = <1>;
  114. #size-cells = <1>;
  115. compatible = "fsl,mpc875-cpm", "fsl,cpm1", "simple-bus";
  116. interrupts = <0>; // cpm error interrupt
  117. interrupt-parent = <&CPM_PIC>;
  118. reg = <0x9c0 0x40>;
  119. ranges;
  120. muram {
  121. #address-cells = <1>;
  122. #size-cells = <1>;
  123. ranges = <0 0x2000 0x2000>;
  124. data@0 {
  125. compatible = "fsl,cpm-muram-data";
  126. reg = <0 0x1c00>;
  127. };
  128. };
  129. brg@9f0 {
  130. compatible = "fsl,mpc875-brg",
  131. "fsl,cpm1-brg",
  132. "fsl,cpm-brg";
  133. clock-frequency = <50000000>;
  134. reg = <0x9f0 0x10>;
  135. };
  136. CPM_PIC: interrupt-controller@930 {
  137. interrupt-controller;
  138. #interrupt-cells = <1>;
  139. interrupts = <5 2 0 2>;
  140. interrupt-parent = <&PIC>;
  141. reg = <0x930 0x20>;
  142. compatible = "fsl,mpc875-cpm-pic",
  143. "fsl,cpm1-pic";
  144. };
  145. console: serial@a80 {
  146. device_type = "serial";
  147. compatible = "fsl,mpc875-smc-uart",
  148. "fsl,cpm1-smc-uart";
  149. reg = <0xa80 0x10 0x3e80 0x40>;
  150. interrupts = <4>;
  151. interrupt-parent = <&CPM_PIC>;
  152. fsl,cpm-brg = <1>;
  153. fsl,cpm-command = <0x0090>;
  154. current-speed = <115200>;
  155. };
  156. };
  157. };
  158. chosen {
  159. linux,stdout-path = &console;
  160. };
  161. };