adder875-redboot.dts 3.7 KB

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