kuroboxHG.dts 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. /*
  2. * Device Tree Souce for Buffalo KuroboxHG
  3. *
  4. * Choose CONFIG_LINKSTATION to build a kernel for KuroboxHG, or use
  5. * the default configuration linkstation_defconfig.
  6. *
  7. * Based on sandpoint.dts
  8. *
  9. * 2006 (c) G. Liakhovetski <g.liakhovetski@gmx.de>
  10. *
  11. * This file is licensed under
  12. * the terms of the GNU General Public License version 2. This program
  13. * is licensed "as is" without any warranty of any kind, whether express
  14. * or implied.
  15. XXXX add flash parts, rtc, ??
  16. */
  17. / {
  18. model = "KuroboxHG";
  19. compatible = "linkstation";
  20. #address-cells = <1>;
  21. #size-cells = <1>;
  22. aliases {
  23. serial0 = &serial0;
  24. serial1 = &serial1;
  25. pci0 = &pci0;
  26. };
  27. cpus {
  28. #address-cells = <1>;
  29. #size-cells = <0>;
  30. PowerPC,603e { /* Really 8241 */
  31. device_type = "cpu";
  32. reg = <0>;
  33. clock-frequency = <fdad680>; /* Fixed by bootloader */
  34. timebase-frequency = <1F04000>; /* Fixed by bootloader */
  35. bus-frequency = <0>; /* Fixed by bootloader */
  36. /* Following required by dtc but not used */
  37. i-cache-size = <4000>;
  38. d-cache-size = <4000>;
  39. };
  40. };
  41. memory {
  42. device_type = "memory";
  43. reg = <00000000 08000000>;
  44. };
  45. soc10x { /* AFAICT need to make soc for 8245's uarts to be defined */
  46. #address-cells = <1>;
  47. #size-cells = <1>;
  48. device_type = "soc";
  49. compatible = "mpc10x";
  50. store-gathering = <0>; /* 0 == off, !0 == on */
  51. reg = <80000000 00100000>;
  52. ranges = <80000000 80000000 70000000 /* pci mem space */
  53. fc000000 fc000000 00100000 /* EUMB */
  54. fe000000 fe000000 00c00000 /* pci i/o space */
  55. fec00000 fec00000 00300000 /* pci cfg regs */
  56. fef00000 fef00000 00100000>; /* pci iack */
  57. i2c@80003000 {
  58. #address-cells = <1>;
  59. #size-cells = <0>;
  60. cell-index = <0>;
  61. compatible = "fsl-i2c";
  62. reg = <80003000 1000>;
  63. interrupts = <5 2>;
  64. interrupt-parent = <&mpic>;
  65. rtc@32 {
  66. device_type = "rtc";
  67. compatible = "ricoh,rs5c372a";
  68. reg = <32>;
  69. };
  70. };
  71. serial0: serial@80004500 {
  72. cell-index = <0>;
  73. device_type = "serial";
  74. compatible = "ns16550";
  75. reg = <80004500 8>;
  76. clock-frequency = <7c044a8>;
  77. current-speed = <2580>;
  78. interrupts = <9 0>;
  79. interrupt-parent = <&mpic>;
  80. };
  81. serial1: serial@80004600 {
  82. cell-index = <1>;
  83. device_type = "serial";
  84. compatible = "ns16550";
  85. reg = <80004600 8>;
  86. clock-frequency = <7c044a8>;
  87. current-speed = <e100>;
  88. interrupts = <a 0>;
  89. interrupt-parent = <&mpic>;
  90. };
  91. mpic: interrupt-controller@80040000 {
  92. #interrupt-cells = <2>;
  93. #address-cells = <0>;
  94. device_type = "open-pic";
  95. compatible = "chrp,open-pic";
  96. interrupt-controller;
  97. reg = <80040000 40000>;
  98. };
  99. pci0: pci@fec00000 {
  100. #address-cells = <3>;
  101. #size-cells = <2>;
  102. #interrupt-cells = <1>;
  103. device_type = "pci";
  104. compatible = "mpc10x-pci";
  105. reg = <fec00000 400000>;
  106. ranges = <01000000 0 0 fe000000 0 00c00000
  107. 02000000 0 80000000 80000000 0 70000000>;
  108. bus-range = <0 ff>;
  109. clock-frequency = <7f28155>;
  110. interrupt-parent = <&mpic>;
  111. interrupt-map-mask = <f800 0 0 7>;
  112. interrupt-map = <
  113. /* IDSEL 11 - IRQ0 ETH */
  114. 5800 0 0 1 &mpic 0 1
  115. 5800 0 0 2 &mpic 1 1
  116. 5800 0 0 3 &mpic 2 1
  117. 5800 0 0 4 &mpic 3 1
  118. /* IDSEL 12 - IRQ1 IDE0 */
  119. 6000 0 0 1 &mpic 1 1
  120. 6000 0 0 2 &mpic 2 1
  121. 6000 0 0 3 &mpic 3 1
  122. 6000 0 0 4 &mpic 0 1
  123. /* IDSEL 14 - IRQ3 USB2.0 */
  124. 7000 0 0 1 &mpic 3 1
  125. 7000 0 0 2 &mpic 3 1
  126. 7000 0 0 3 &mpic 3 1
  127. 7000 0 0 4 &mpic 3 1
  128. >;
  129. };
  130. };
  131. };