amigaone.dts 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. /*
  2. * AmigaOne Device Tree Source
  3. *
  4. * Copyright 2008 Gerhard Pircher (gerhard_pircher@gmx.net)
  5. *
  6. * This program is free software; you can redistribute it and/or modify it
  7. * under the terms of the GNU General Public License as published by the
  8. * Free Software Foundation; either version 2 of the License, or (at your
  9. * option) any later version.
  10. */
  11. /dts-v1/;
  12. / {
  13. model = "AmigaOne";
  14. compatible = "eyetech,amigaone";
  15. coherency-off;
  16. #address-cells = <1>;
  17. #size-cells = <1>;
  18. cpus {
  19. #cpus = <1>;
  20. #address-cells = <1>;
  21. #size-cells = <0>;
  22. cpu@0 {
  23. device_type = "cpu";
  24. reg = <0>;
  25. d-cache-line-size = <32>; // 32 bytes
  26. i-cache-line-size = <32>; // 32 bytes
  27. d-cache-size = <32768>; // L1, 32K
  28. i-cache-size = <32768>; // L1, 32K
  29. timebase-frequency = <0>; // 33.3 MHz, from U-boot
  30. clock-frequency = <0>; // From U-boot
  31. bus-frequency = <0>; // From U-boot
  32. };
  33. };
  34. memory {
  35. device_type = "memory";
  36. reg = <0 0>; // From U-boot
  37. };
  38. pci@80000000 {
  39. device_type = "pci";
  40. compatible = "mai-logic,articia-s";
  41. bus-frequency = <33333333>;
  42. bus-range = <0 0xff>;
  43. ranges = <0x01000000 0 0x00000000 0xfe000000 0 0x00c00000 // PCI I/O
  44. 0x02000000 0 0x80000000 0x80000000 0 0x7d000000 // PCI memory
  45. 0x02000000 0 0x00000000 0xfd000000 0 0x01000000>; // PCI alias memory (ISA)
  46. // Configuration address and data register.
  47. reg = <0xfec00cf8 4
  48. 0xfee00cfc 4>;
  49. 8259-interrupt-acknowledge = <0xfef00000>;
  50. // Do not define a interrupt-parent here, if there is no
  51. // interrupt-map property.
  52. #address-cells = <3>;
  53. #size-cells = <2>;
  54. isa@7 {
  55. device_type = "isa";
  56. compatible = "pciclass,0601";
  57. vendor-id = <0x00001106>;
  58. device-id = <0x00000686>;
  59. revision-id = <0x00000010>;
  60. class-code = <0x00060100>;
  61. subsystem-id = <0>;
  62. subsystem-vendor-id = <0>;
  63. devsel-speed = <0x00000001>;
  64. min-grant = <0>;
  65. max-latency = <0>;
  66. /* First 4k for I/O at 0x0 on PCI mapped to 0x0 on ISA. */
  67. ranges = <0x00000001 0 0x01000000 0 0x00000000 0x00001000>;
  68. interrupt-parent = <&i8259>;
  69. #interrupt-cells = <2>;
  70. #address-cells = <2>;
  71. #size-cells = <1>;
  72. dma-controller@0 {
  73. compatible = "pnpPNP,200";
  74. reg = <1 0x00000000 0x00000020
  75. 1 0x00000080 0x00000010
  76. 1 0x000000c0 0x00000020>;
  77. };
  78. i8259: interrupt-controller@20 {
  79. device_type = "interrupt-controller";
  80. compatible = "pnpPNP,000";
  81. interrupt-controller;
  82. reg = <1 0x00000020 0x00000002
  83. 1 0x000000a0 0x00000002
  84. 1 0x000004d0 0x00000002>;
  85. reserved-interrupts = <2>;
  86. #interrupt-cells = <2>;
  87. };
  88. timer@40 {
  89. // Also adds pcspkr to platform devices.
  90. compatible = "pnpPNP,100";
  91. reg = <1 0x00000040 0x00000020>;
  92. };
  93. 8042@60 {
  94. device_type = "8042";
  95. reg = <1 0x00000060 0x00000001
  96. 1 0x00000064 0x00000001>;
  97. interrupts = <1 3 12 3>;
  98. #address-cells = <1>;
  99. #size-cells = <0>;
  100. keyboard@0 {
  101. compatible = "pnpPNP,303";
  102. reg = <0>;
  103. };
  104. mouse@1 {
  105. compatible = "pnpPNP,f03";
  106. reg = <1>;
  107. };
  108. };
  109. rtc@70 {
  110. compatible = "pnpPNP,b00";
  111. reg = <1 0x00000070 0x00000002>;
  112. interrupts = <8 3>;
  113. };
  114. serial@3f8 {
  115. device_type = "serial";
  116. compatible = "pnpPNP,501","pnpPNP,500";
  117. reg = <1 0x000003f8 0x00000008>;
  118. interrupts = <4 3>;
  119. clock-frequency = <1843200>;
  120. current-speed = <115200>;
  121. };
  122. serial@2f8 {
  123. device_type = "serial";
  124. compatible = "pnpPNP,501","pnpPNP,500";
  125. reg = <1 0x000002f8 0x00000008>;
  126. interrupts = <3 3>;
  127. clock-frequency = <1843200>;
  128. current-speed = <115200>;
  129. };
  130. parallel@378 {
  131. device_type = "parallel";
  132. // No ECP support for now, otherwise add "pnpPNP,401".
  133. compatible = "pnpPNP,400";
  134. reg = <1 0x00000378 0x00000003
  135. 1 0x00000778 0x00000003>;
  136. };
  137. fdc@3f0 {
  138. device_type = "fdc";
  139. compatible = "pnpPNP,700";
  140. reg = <1 0x000003f0 0x00000008>;
  141. interrupts = <6 3>;
  142. #address-cells = <1>;
  143. #size-cells = <0>;
  144. disk@0 {
  145. reg = <0>;
  146. };
  147. };
  148. };
  149. };
  150. chosen {
  151. linux,stdout-path = "/pci@80000000/isa@7/serial@3f8";
  152. };
  153. };