adder875-uboot.dts 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. // SPDX-License-Identifier: GPL-2.0-or-later
  2. /*
  3. * Device Tree Source for MPC885 ADS running U-Boot
  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@ff000100 {
  41. compatible = "fsl,mpc885-localbus", "fsl,pq1-localbus",
  42. "simple-bus";
  43. #address-cells = <2>;
  44. #size-cells = <1>;
  45. reg = <0xff000100 0x40>;
  46. ranges = <
  47. 0 0 0xfe000000 0x01000000
  48. >;
  49. flash@0,0 {
  50. compatible = "cfi-flash";
  51. reg = <0 0 0x800000>;
  52. bank-width = <2>;
  53. device-width = <2>;
  54. };
  55. };
  56. soc@ff000000 {
  57. compatible = "fsl,mpc875-immr", "fsl,pq1-soc", "simple-bus";
  58. #address-cells = <1>;
  59. #size-cells = <1>;
  60. ranges = <0 0xff000000 0x00004000>;
  61. // Temporary until code stops depending on it.
  62. device_type = "soc";
  63. // Temporary until get_immrbase() is fixed.
  64. reg = <0xff000000 0x4000>;
  65. mdio@e00 {
  66. compatible = "fsl,mpc875-fec-mdio", "fsl,pq1-fec-mdio";
  67. reg = <0xe00 0x188>;
  68. #address-cells = <1>;
  69. #size-cells = <0>;
  70. PHY0: ethernet-phy@0 {
  71. reg = <0>;
  72. };
  73. PHY1: ethernet-phy@1 {
  74. reg = <1>;
  75. };
  76. };
  77. eth0: ethernet@e00 {
  78. device_type = "network";
  79. compatible = "fsl,mpc875-fec-enet",
  80. "fsl,pq1-fec-enet";
  81. reg = <0xe00 0x188>;
  82. local-mac-address = [ 00 00 00 00 00 00 ];
  83. interrupts = <3 1>;
  84. interrupt-parent = <&PIC>;
  85. phy-handle = <&PHY0>;
  86. linux,network-index = <0>;
  87. };
  88. eth1: ethernet@1e00 {
  89. device_type = "network";
  90. compatible = "fsl,mpc875-fec-enet",
  91. "fsl,pq1-fec-enet";
  92. reg = <0x1e00 0x188>;
  93. local-mac-address = [ 00 00 00 00 00 00 ];
  94. interrupts = <7 1>;
  95. interrupt-parent = <&PIC>;
  96. phy-handle = <&PHY1>;
  97. linux,network-index = <1>;
  98. };
  99. PIC: interrupt-controller@0 {
  100. interrupt-controller;
  101. #interrupt-cells = <2>;
  102. reg = <0 0x24>;
  103. compatible = "fsl,mpc875-pic", "fsl,pq1-pic";
  104. };
  105. cpm@9c0 {
  106. #address-cells = <1>;
  107. #size-cells = <1>;
  108. compatible = "fsl,mpc875-cpm", "fsl,cpm1", "simple-bus";
  109. interrupts = <0>; // cpm error interrupt
  110. interrupt-parent = <&CPM_PIC>;
  111. reg = <0x9c0 0x40>;
  112. ranges;
  113. muram {
  114. #address-cells = <1>;
  115. #size-cells = <1>;
  116. ranges = <0 0x2000 0x2000>;
  117. data@0 {
  118. compatible = "fsl,cpm-muram-data";
  119. reg = <0 0x1c00>;
  120. };
  121. };
  122. brg@9f0 {
  123. compatible = "fsl,mpc875-brg",
  124. "fsl,cpm1-brg",
  125. "fsl,cpm-brg";
  126. clock-frequency = <50000000>;
  127. reg = <0x9f0 0x10>;
  128. };
  129. CPM_PIC: interrupt-controller@930 {
  130. interrupt-controller;
  131. #interrupt-cells = <1>;
  132. interrupts = <5 2 0 2>;
  133. interrupt-parent = <&PIC>;
  134. reg = <0x930 0x20>;
  135. compatible = "fsl,mpc875-cpm-pic",
  136. "fsl,cpm1-pic";
  137. };
  138. console: serial@a80 {
  139. device_type = "serial";
  140. compatible = "fsl,mpc875-smc-uart",
  141. "fsl,cpm1-smc-uart";
  142. reg = <0xa80 0x10 0x3e80 0x40>;
  143. interrupts = <4>;
  144. interrupt-parent = <&CPM_PIC>;
  145. fsl,cpm-brg = <1>;
  146. fsl,cpm-command = <0x0090>;
  147. current-speed = <115200>;
  148. };
  149. };
  150. };
  151. chosen {
  152. stdout-path = &console;
  153. };
  154. };