kuroboxHD.dts 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. /*
  2. * Device Tree Souce for Buffalo KuroboxHD
  3. *
  4. * Choose CONFIG_LINKSTATION to build a kernel for KuroboxHD, 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. build with: "dtc -f -I dts -O dtb -o kuroboxHD.dtb -V 16 kuroboxHD.dts"
  17. */
  18. / {
  19. linux,phandle = <1000>;
  20. model = "KuroboxHD";
  21. compatible = "linkstation";
  22. #address-cells = <1>;
  23. #size-cells = <1>;
  24. cpus {
  25. linux,phandle = <2000>;
  26. #address-cells = <1>;
  27. #size-cells = <0>;
  28. PowerPC,603e { /* Really 8241 */
  29. linux,phandle = <2100>;
  30. device_type = "cpu";
  31. reg = <0>;
  32. clock-frequency = <bebc200>; /* Fixed by bootwrapper */
  33. timebase-frequency = <1743000>; /* Fixed by bootwrapper */
  34. bus-frequency = <0>; /* From bootloader */
  35. /* Following required by dtc but not used */
  36. i-cache-line-size = <0>;
  37. d-cache-line-size = <0>;
  38. i-cache-size = <4000>;
  39. d-cache-size = <4000>;
  40. };
  41. };
  42. memory {
  43. linux,phandle = <3000>;
  44. device_type = "memory";
  45. reg = <00000000 04000000>;
  46. };
  47. soc10x { /* AFAICT need to make soc for 8245's uarts to be defined */
  48. linux,phandle = <4000>;
  49. #address-cells = <1>;
  50. #size-cells = <1>;
  51. #interrupt-cells = <2>;
  52. device_type = "soc";
  53. compatible = "mpc10x";
  54. store-gathering = <0>; /* 0 == off, !0 == on */
  55. reg = <80000000 00100000>;
  56. ranges = <80000000 80000000 70000000 /* pci mem space */
  57. fc000000 fc000000 00100000 /* EUMB */
  58. fe000000 fe000000 00c00000 /* pci i/o space */
  59. fec00000 fec00000 00300000 /* pci cfg regs */
  60. fef00000 fef00000 00100000>; /* pci iack */
  61. i2c@80003000 {
  62. linux,phandle = <4300>;
  63. device_type = "i2c";
  64. compatible = "fsl-i2c";
  65. reg = <80003000 1000>;
  66. interrupts = <5 2>;
  67. interrupt-parent = <4400>;
  68. };
  69. serial@80004500 {
  70. linux,phandle = <4511>;
  71. device_type = "serial";
  72. compatible = "ns16550";
  73. reg = <80004500 8>;
  74. clock-frequency = <5d08d88>;
  75. current-speed = <2580>;
  76. interrupts = <9 2>;
  77. interrupt-parent = <4400>;
  78. };
  79. serial@80004600 {
  80. linux,phandle = <4512>;
  81. device_type = "serial";
  82. compatible = "ns16550";
  83. reg = <80004600 8>;
  84. clock-frequency = <5d08d88>;
  85. current-speed = <e100>;
  86. interrupts = <a 0>;
  87. interrupt-parent = <4400>;
  88. };
  89. pic@80040000 {
  90. linux,phandle = <4400>;
  91. #interrupt-cells = <2>;
  92. #address-cells = <0>;
  93. device_type = "open-pic";
  94. compatible = "chrp,open-pic";
  95. interrupt-controller;
  96. reg = <80040000 40000>;
  97. built-in;
  98. };
  99. pci@fec00000 {
  100. linux,phandle = <4500>;
  101. #address-cells = <3>;
  102. #size-cells = <2>;
  103. #interrupt-cells = <1>;
  104. device_type = "pci";
  105. compatible = "mpc10x-pci";
  106. reg = <fec00000 400000>;
  107. ranges = <01000000 0 0 fe000000 0 00c00000
  108. 02000000 0 80000000 80000000 0 70000000>;
  109. bus-range = <0 ff>;
  110. clock-frequency = <7f28155>;
  111. interrupt-parent = <4400>;
  112. interrupt-map-mask = <f800 0 0 7>;
  113. interrupt-map = <
  114. /* IDSEL 11 - IRQ0 ETH */
  115. 5800 0 0 1 4400 0 1
  116. 5800 0 0 2 4400 1 1
  117. 5800 0 0 3 4400 2 1
  118. 5800 0 0 4 4400 3 1
  119. /* IDSEL 12 - IRQ1 IDE0 */
  120. 6000 0 0 1 4400 1 1
  121. 6000 0 0 2 4400 2 1
  122. 6000 0 0 3 4400 3 1
  123. 6000 0 0 4 4400 0 1
  124. /* IDSEL 14 - IRQ3 USB2.0 */
  125. 7000 0 0 1 4400 3 1
  126. 7000 0 0 2 4400 3 1
  127. 7000 0 0 3 4400 3 1
  128. 7000 0 0 4 4400 3 1
  129. >;
  130. };
  131. };
  132. };