wii.dts 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. /*
  2. * arch/powerpc/boot/dts/wii.dts
  3. *
  4. * Nintendo Wii platform device tree source
  5. * Copyright (C) 2008-2009 The GameCube Linux Team
  6. * Copyright (C) 2008,2009 Albert Herranz
  7. *
  8. * This program is free software; you can redistribute it and/or
  9. * modify it under the terms of the GNU General Public License
  10. * as published by the Free Software Foundation; either version 2
  11. * of the License, or (at your option) any later version.
  12. *
  13. */
  14. /dts-v1/;
  15. /*
  16. * This is commented-out for now.
  17. * Until a later patch is merged, the kernel can use only the first
  18. * contiguous RAM range and will BUG() if the memreserve is outside
  19. * that range.
  20. */
  21. /*/memreserve/ 0x10000000 0x0004000;*/ /* DSP RAM */
  22. / {
  23. model = "nintendo,wii";
  24. compatible = "nintendo,wii";
  25. #address-cells = <1>;
  26. #size-cells = <1>;
  27. chosen {
  28. bootargs = "root=/dev/mmcblk0p2 rootwait udbg-immortal";
  29. };
  30. memory {
  31. device_type = "memory";
  32. reg = <0x00000000 0x01800000 /* MEM1 24MB 1T-SRAM */
  33. 0x10000000 0x04000000>; /* MEM2 64MB GDDR3 */
  34. };
  35. cpus {
  36. #address-cells = <1>;
  37. #size-cells = <0>;
  38. PowerPC,broadway@0 {
  39. device_type = "cpu";
  40. reg = <0>;
  41. clock-frequency = <729000000>; /* 729MHz */
  42. bus-frequency = <243000000>; /* 243MHz core-to-bus 3x */
  43. timebase-frequency = <60750000>; /* 243MHz / 4 */
  44. i-cache-line-size = <32>;
  45. d-cache-line-size = <32>;
  46. i-cache-size = <32768>;
  47. d-cache-size = <32768>;
  48. };
  49. };
  50. /* devices contained in the hollywood chipset */
  51. hollywood {
  52. #address-cells = <1>;
  53. #size-cells = <1>;
  54. compatible = "nintendo,hollywood";
  55. ranges = <0x0c000000 0x0c000000 0x01000000
  56. 0x0d000000 0x0d000000 0x00800000
  57. 0x0d800000 0x0d800000 0x00800000>;
  58. interrupt-parent = <&PIC0>;
  59. video@0c002000 {
  60. compatible = "nintendo,hollywood-vi",
  61. "nintendo,flipper-vi";
  62. reg = <0x0c002000 0x100>;
  63. interrupts = <8>;
  64. };
  65. processor-interface@0c003000 {
  66. compatible = "nintendo,hollywood-pi",
  67. "nintendo,flipper-pi";
  68. reg = <0x0c003000 0x100>;
  69. PIC0: pic0 {
  70. #interrupt-cells = <1>;
  71. compatible = "nintendo,flipper-pic";
  72. interrupt-controller;
  73. };
  74. };
  75. dsp@0c005000 {
  76. #address-cells = <1>;
  77. #size-cells = <1>;
  78. compatible = "nintendo,hollywood-dsp",
  79. "nintendo,flipper-dsp";
  80. reg = <0x0c005000 0x200>;
  81. interrupts = <6>;
  82. };
  83. gamepad-controller@0d006400 {
  84. compatible = "nintendo,hollywood-si",
  85. "nintendo,flipper-si";
  86. reg = <0x0d006400 0x100>;
  87. interrupts = <3>;
  88. };
  89. audio@0c006c00 {
  90. compatible = "nintendo,hollywood-ai",
  91. "nintendo,flipper-ai";
  92. reg = <0x0d006c00 0x20>;
  93. interrupts = <6>;
  94. };
  95. /* External Interface bus */
  96. exi@0d006800 {
  97. compatible = "nintendo,hollywood-exi",
  98. "nintendo,flipper-exi";
  99. reg = <0x0d006800 0x40>;
  100. virtual-reg = <0x0d006800>;
  101. interrupts = <4>;
  102. };
  103. usb@0d040000 {
  104. compatible = "nintendo,hollywood-usb-ehci",
  105. "usb-ehci";
  106. reg = <0x0d040000 0x100>;
  107. interrupts = <4>;
  108. interrupt-parent = <&PIC1>;
  109. };
  110. usb@0d050000 {
  111. compatible = "nintendo,hollywood-usb-ohci",
  112. "usb-ohci";
  113. reg = <0x0d050000 0x100>;
  114. interrupts = <5>;
  115. interrupt-parent = <&PIC1>;
  116. };
  117. usb@0d060000 {
  118. compatible = "nintendo,hollywood-usb-ohci",
  119. "usb-ohci";
  120. reg = <0x0d060000 0x100>;
  121. interrupts = <6>;
  122. interrupt-parent = <&PIC1>;
  123. };
  124. sd@0d070000 {
  125. compatible = "nintendo,hollywood-sdhci",
  126. "sdhci";
  127. reg = <0x0d070000 0x200>;
  128. interrupts = <7>;
  129. interrupt-parent = <&PIC1>;
  130. };
  131. sdio@0d080000 {
  132. compatible = "nintendo,hollywood-sdhci",
  133. "sdhci";
  134. reg = <0x0d080000 0x200>;
  135. interrupts = <8>;
  136. interrupt-parent = <&PIC1>;
  137. };
  138. ipc@0d000000 {
  139. compatible = "nintendo,hollywood-ipc";
  140. reg = <0x0d000000 0x10>;
  141. interrupts = <30>;
  142. interrupt-parent = <&PIC1>;
  143. };
  144. PIC1: pic1@0d800030 {
  145. #interrupt-cells = <1>;
  146. compatible = "nintendo,hollywood-pic";
  147. reg = <0x0d800030 0x10>;
  148. interrupt-controller;
  149. interrupts = <14>;
  150. };
  151. GPIO: gpio@0d8000c0 {
  152. #gpio-cells = <2>;
  153. compatible = "nintendo,hollywood-gpio";
  154. reg = <0x0d8000c0 0x40>;
  155. gpio-controller;
  156. /*
  157. * This is commented out while a standard binding
  158. * for i2c over gpio is defined.
  159. */
  160. /*
  161. i2c-video {
  162. #address-cells = <1>;
  163. #size-cells = <0>;
  164. compatible = "i2c-gpio";
  165. gpios = <&GPIO 15 0
  166. &GPIO 14 0>;
  167. clock-frequency = <250000>;
  168. no-clock-stretching;
  169. scl-is-open-drain;
  170. sda-is-open-drain;
  171. sda-enforce-dir;
  172. AVE: audio-video-encoder@70 {
  173. compatible = "nintendo,wii-audio-video-encoder";
  174. reg = <0x70>;
  175. };
  176. };
  177. */
  178. };
  179. control@0d800100 {
  180. compatible = "nintendo,hollywood-control";
  181. reg = <0x0d800100 0x300>;
  182. };
  183. disk@0d806000 {
  184. compatible = "nintendo,hollywood-di";
  185. reg = <0x0d806000 0x40>;
  186. interrupts = <2>;
  187. };
  188. };
  189. };