kuroboxHG.dts 3.5 KB

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