media5200.dts 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. /*
  2. * Freescale Media5200 board Device Tree Source
  3. *
  4. * Copyright 2009 Secret Lab Technologies Ltd.
  5. * Grant Likely <grant.likely@secretlab.ca>
  6. * Steven Cavanagh <scavanagh@secretlab.ca>
  7. *
  8. * This program is free software; you can redistribute it and/or modify it
  9. * under the terms of the GNU General Public License as published by the
  10. * Free Software Foundation; either version 2 of the License, or (at your
  11. * option) any later version.
  12. */
  13. /include/ "mpc5200b.dtsi"
  14. / {
  15. model = "fsl,media5200";
  16. compatible = "fsl,media5200";
  17. aliases {
  18. console = &console;
  19. ethernet0 = &eth0;
  20. };
  21. chosen {
  22. linux,stdout-path = &console;
  23. };
  24. cpus {
  25. PowerPC,5200@0 {
  26. timebase-frequency = <33000000>; // 33 MHz, these were configured by U-Boot
  27. bus-frequency = <132000000>; // 132 MHz
  28. clock-frequency = <396000000>; // 396 MHz
  29. };
  30. };
  31. memory {
  32. reg = <0x00000000 0x08000000>; // 128MB RAM
  33. };
  34. soc5200@f0000000 {
  35. bus-frequency = <132000000>;// 132 MHz
  36. timer@600 { // General Purpose Timer
  37. fsl,has-wdt;
  38. };
  39. psc@2000 { // PSC1
  40. status = "disabled";
  41. };
  42. psc@2200 { // PSC2
  43. status = "disabled";
  44. };
  45. psc@2400 { // PSC3
  46. status = "disabled";
  47. };
  48. psc@2600 { // PSC4
  49. status = "disabled";
  50. };
  51. psc@2800 { // PSC5
  52. status = "disabled";
  53. };
  54. // PSC6 in uart mode
  55. console: psc@2c00 { // PSC6
  56. compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
  57. };
  58. ethernet@3000 {
  59. phy-handle = <&phy0>;
  60. };
  61. mdio@3000 {
  62. phy0: ethernet-phy@0 {
  63. reg = <0>;
  64. };
  65. };
  66. usb@1000 {
  67. reg = <0x1000 0x100>;
  68. };
  69. };
  70. pci@f0000d00 {
  71. interrupt-map-mask = <0xf800 0 0 7>;
  72. interrupt-map = <0xc000 0 0 1 &media5200_fpga 0 2 // 1st slot
  73. 0xc000 0 0 2 &media5200_fpga 0 3
  74. 0xc000 0 0 3 &media5200_fpga 0 4
  75. 0xc000 0 0 4 &media5200_fpga 0 5
  76. 0xc800 0 0 1 &media5200_fpga 0 3 // 2nd slot
  77. 0xc800 0 0 2 &media5200_fpga 0 4
  78. 0xc800 0 0 3 &media5200_fpga 0 5
  79. 0xc800 0 0 4 &media5200_fpga 0 2
  80. 0xd000 0 0 1 &media5200_fpga 0 4 // miniPCI
  81. 0xd000 0 0 2 &media5200_fpga 0 5
  82. 0xe000 0 0 1 &media5200_fpga 0 5 // CoralIP
  83. >;
  84. ranges = <0x42000000 0 0x80000000 0x80000000 0 0x20000000
  85. 0x02000000 0 0xa0000000 0xa0000000 0 0x10000000
  86. 0x01000000 0 0x00000000 0xb0000000 0 0x01000000>;
  87. interrupt-parent = <&mpc5200_pic>;
  88. };
  89. localbus {
  90. ranges = < 0 0 0xfc000000 0x02000000
  91. 1 0 0xfe000000 0x02000000
  92. 2 0 0xf0010000 0x00010000
  93. 3 0 0xf0020000 0x00010000 >;
  94. flash@0,0 {
  95. compatible = "amd,am29lv28ml", "cfi-flash";
  96. reg = <0 0x0 0x2000000>; // 32 MB
  97. bank-width = <4>; // Width in bytes of the flash bank
  98. device-width = <2>; // Two devices on each bank
  99. };
  100. flash@1,0 {
  101. compatible = "amd,am29lv28ml", "cfi-flash";
  102. reg = <1 0 0x2000000>; // 32 MB
  103. bank-width = <4>; // Width in bytes of the flash bank
  104. device-width = <2>; // Two devices on each bank
  105. };
  106. media5200_fpga: fpga@2,0 {
  107. compatible = "fsl,media5200-fpga";
  108. interrupt-controller;
  109. #interrupt-cells = <2>; // 0:bank 1:id; no type field
  110. reg = <2 0 0x10000>;
  111. interrupt-parent = <&mpc5200_pic>;
  112. interrupts = <0 0 3 // IRQ bank 0
  113. 1 1 3>; // IRQ bank 1
  114. };
  115. uart@3,0 {
  116. compatible = "ti,tl16c752bpt";
  117. reg = <3 0 0x10000>;
  118. interrupt-parent = <&media5200_fpga>;
  119. interrupts = <0 0 0 1>; // 2 irqs
  120. };
  121. };
  122. };