hcu4.dts 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. /*
  2. * Device Tree Source for Netstal Maschinen HCU4
  3. * based on the IBM Walnut
  4. *
  5. * Copyright 2008
  6. * Niklaus Giger <niklaus.giger@member.fsf.org>
  7. *
  8. * Copyright 2007 IBM Corp.
  9. * Josh Boyer <jwboyer@linux.vnet.ibm.com>
  10. *
  11. * This file is licensed under the terms of the GNU General Public
  12. * License version 2. This program is licensed "as is" without
  13. * any warranty of any kind, whether express or implied.
  14. */
  15. /dts-v1/;
  16. / {
  17. #address-cells = <0x1>;
  18. #size-cells = <0x1>;
  19. model = "netstal,hcu4";
  20. compatible = "netstal,hcu4";
  21. dcr-parent = <0x1>;
  22. aliases {
  23. ethernet0 = "/plb/opb/ethernet@ef600800";
  24. serial0 = "/plb/opb/serial@ef600300";
  25. };
  26. cpus {
  27. #address-cells = <0x1>;
  28. #size-cells = <0x0>;
  29. cpu@0 {
  30. device_type = "cpu";
  31. model = "PowerPC,405GPr";
  32. reg = <0x0>;
  33. clock-frequency = <0>; /* Filled in by U-Boot */
  34. timebase-frequency = <0x0>; /* Filled in by U-Boot */
  35. i-cache-line-size = <0x20>;
  36. d-cache-line-size = <0x20>;
  37. i-cache-size = <0x4000>;
  38. d-cache-size = <0x4000>;
  39. dcr-controller;
  40. dcr-access-method = "native";
  41. linux,phandle = <0x1>;
  42. };
  43. };
  44. memory {
  45. device_type = "memory";
  46. reg = <0x0 0x0>; /* Filled in by U-Boot */
  47. };
  48. UIC0: interrupt-controller {
  49. compatible = "ibm,uic";
  50. interrupt-controller;
  51. cell-index = <0x0>;
  52. dcr-reg = <0xc0 0x9>;
  53. #address-cells = <0x0>;
  54. #size-cells = <0x0>;
  55. #interrupt-cells = <0x2>;
  56. linux,phandle = <0x2>;
  57. };
  58. plb {
  59. compatible = "ibm,plb3";
  60. #address-cells = <0x1>;
  61. #size-cells = <0x1>;
  62. ranges;
  63. clock-frequency = <0x0>; /* Filled in by U-Boot */
  64. SDRAM0: memory-controller {
  65. compatible = "ibm,sdram-405gp";
  66. dcr-reg = <0x10 0x2>;
  67. };
  68. MAL: mcmal {
  69. compatible = "ibm,mcmal-405gp", "ibm,mcmal";
  70. dcr-reg = <0x180 0x62>;
  71. num-tx-chans = <0x1>;
  72. num-rx-chans = <0x1>;
  73. interrupt-parent = <0x2>;
  74. interrupts = <0xb 0x4 0xc 0x4 0xa 0x4 0xd 0x4 0xe 0x4>;
  75. linux,phandle = <0x3>;
  76. };
  77. POB0: opb {
  78. compatible = "ibm,opb-405gp", "ibm,opb";
  79. #address-cells = <0x1>;
  80. #size-cells = <0x1>;
  81. ranges = <0xef600000 0xef600000 0xa00000>;
  82. dcr-reg = <0xa0 0x5>;
  83. clock-frequency = <0x0>; /* Filled in by U-Boot */
  84. UART0: serial@ef600300 {
  85. device_type = "serial";
  86. compatible = "ns16550";
  87. reg = <0xef600300 0x8>;
  88. virtual-reg = <0xef600300>;
  89. clock-frequency = <0x0>;/* Filled in by U-Boot */
  90. current-speed = <0>; /* Filled in by U-Boot */
  91. interrupt-parent = <0x2>;
  92. interrupts = <0x0 0x4>;
  93. };
  94. IIC: i2c@ef600500 {
  95. compatible = "ibm,iic-405gp", "ibm,iic";
  96. reg = <0xef600500 0x11>;
  97. interrupt-parent = <0x2>;
  98. interrupts = <0x2 0x4>;
  99. };
  100. GPIO: gpio@ef600700 {
  101. compatible = "ibm,gpio-405gp";
  102. reg = <0xef600700 0x20>;
  103. };
  104. EMAC: ethernet@ef600800 {
  105. device_type = "network";
  106. compatible = "ibm,emac-405gp", "ibm,emac";
  107. interrupt-parent = <0x2>;
  108. interrupts = <0xf 0x4 0x9 0x4>;
  109. local-mac-address = [00 00 00 00 00 00];
  110. reg = <0xef600800 0x70>;
  111. mal-device = <0x3>;
  112. mal-tx-channel = <0x0>;
  113. mal-rx-channel = <0x0>;
  114. cell-index = <0x0>;
  115. max-frame-size = <0x5dc>;
  116. rx-fifo-size = <0x1000>;
  117. tx-fifo-size = <0x800>;
  118. phy-mode = "rmii";
  119. phy-map = <0x1>;
  120. };
  121. };
  122. EBC0: ebc {
  123. compatible = "ibm,ebc-405gp", "ibm,ebc";
  124. dcr-reg = <0x12 0x2>;
  125. #address-cells = <0x2>;
  126. #size-cells = <0x1>;
  127. clock-frequency = <0x0>; /* Filled in by U-Boot */
  128. sram@0,0 {
  129. reg = <0x0 0x0 0x80000>;
  130. };
  131. flash@0,80000 {
  132. compatible = "jedec-flash";
  133. bank-width = <0x1>;
  134. reg = <0x0 0x80000 0x80000>;
  135. #address-cells = <0x1>;
  136. #size-cells = <0x1>;
  137. partition@0 {
  138. label = "OpenBIOS";
  139. reg = <0x0 0x80000>;
  140. read-only;
  141. };
  142. };
  143. };
  144. };
  145. chosen {
  146. linux,stdout-path = "/plb/opb/serial@ef600300";
  147. };
  148. };