gamecube.dts 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. /*
  2. * arch/powerpc/boot/dts/gamecube.dts
  3. *
  4. * Nintendo GameCube platform device tree source
  5. * Copyright (C) 2007-2009 The GameCube Linux Team
  6. * Copyright (C) 2007,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. model = "nintendo,gamecube";
  17. compatible = "nintendo,gamecube";
  18. #address-cells = <1>;
  19. #size-cells = <1>;
  20. chosen {
  21. bootargs = "root=/dev/gcnsda2 rootwait udbg-immortal";
  22. };
  23. memory {
  24. device_type = "memory";
  25. reg = <0x00000000 0x01800000>;
  26. };
  27. cpus {
  28. #address-cells = <1>;
  29. #size-cells = <0>;
  30. PowerPC,gekko@0 {
  31. device_type = "cpu";
  32. reg = <0>;
  33. clock-frequency = <486000000>; /* 486MHz */
  34. bus-frequency = <162000000>; /* 162MHz core-to-bus 3x */
  35. timebase-frequency = <40500000>; /* 162MHz / 4 */
  36. i-cache-line-size = <32>;
  37. d-cache-line-size = <32>;
  38. i-cache-size = <32768>;
  39. d-cache-size = <32768>;
  40. };
  41. };
  42. /* devices contained int the flipper chipset */
  43. flipper {
  44. #address-cells = <1>;
  45. #size-cells = <1>;
  46. compatible = "nintendo,flipper";
  47. ranges = <0x0c000000 0x0c000000 0x00010000>;
  48. interrupt-parent = <&PIC>;
  49. video@0c002000 {
  50. compatible = "nintendo,flipper-vi";
  51. reg = <0x0c002000 0x100>;
  52. interrupts = <8>;
  53. };
  54. processor-interface@0c003000 {
  55. compatible = "nintendo,flipper-pi";
  56. reg = <0x0c003000 0x100>;
  57. PIC: pic {
  58. #interrupt-cells = <1>;
  59. compatible = "nintendo,flipper-pic";
  60. interrupt-controller;
  61. };
  62. };
  63. dsp@0c005000 {
  64. #address-cells = <1>;
  65. #size-cells = <1>;
  66. compatible = "nintendo,flipper-dsp";
  67. reg = <0x0c005000 0x200>;
  68. interrupts = <6>;
  69. memory@0 {
  70. compatible = "nintendo,flipper-aram";
  71. reg = <0 0x1000000>; /* 16MB */
  72. };
  73. };
  74. disk@0c006000 {
  75. compatible = "nintendo,flipper-di";
  76. reg = <0x0c006000 0x40>;
  77. interrupts = <2>;
  78. };
  79. audio@0c006c00 {
  80. compatible = "nintendo,flipper-ai";
  81. reg = <0x0c006c00 0x20>;
  82. interrupts = <6>;
  83. };
  84. gamepad-controller@0c006400 {
  85. compatible = "nintendo,flipper-si";
  86. reg = <0x0c006400 0x100>;
  87. interrupts = <3>;
  88. };
  89. /* External Interface bus */
  90. exi@0c006800 {
  91. compatible = "nintendo,flipper-exi";
  92. reg = <0x0c006800 0x40>;
  93. virtual-reg = <0x0c006800>;
  94. interrupts = <4>;
  95. };
  96. };
  97. };