media5200.dts 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  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. &gpt0 { fsl,has-wdt; };
  15. / {
  16. model = "fsl,media5200";
  17. compatible = "fsl,media5200";
  18. aliases {
  19. console = &console;
  20. ethernet0 = &eth0;
  21. };
  22. chosen {
  23. linux,stdout-path = &console;
  24. };
  25. cpus {
  26. PowerPC,5200@0 {
  27. timebase-frequency = <33000000>; // 33 MHz, these were configured by U-Boot
  28. bus-frequency = <132000000>; // 132 MHz
  29. clock-frequency = <396000000>; // 396 MHz
  30. };
  31. };
  32. memory {
  33. reg = <0x00000000 0x08000000>; // 128MB RAM
  34. };
  35. soc5200@f0000000 {
  36. bus-frequency = <132000000>;// 132 MHz
  37. psc@2000 { // PSC1
  38. status = "disabled";
  39. };
  40. psc@2200 { // PSC2
  41. status = "disabled";
  42. };
  43. psc@2400 { // PSC3
  44. status = "disabled";
  45. };
  46. psc@2600 { // PSC4
  47. status = "disabled";
  48. };
  49. psc@2800 { // PSC5
  50. status = "disabled";
  51. };
  52. // PSC6 in uart mode
  53. console: psc@2c00 { // PSC6
  54. compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
  55. };
  56. ethernet@3000 {
  57. phy-handle = <&phy0>;
  58. };
  59. mdio@3000 {
  60. phy0: ethernet-phy@0 {
  61. reg = <0>;
  62. };
  63. };
  64. usb@1000 {
  65. reg = <0x1000 0x100>;
  66. };
  67. };
  68. pci@f0000d00 {
  69. interrupt-map-mask = <0xf800 0 0 7>;
  70. interrupt-map = <0xc000 0 0 1 &media5200_fpga 0 2 // 1st slot
  71. 0xc000 0 0 2 &media5200_fpga 0 3
  72. 0xc000 0 0 3 &media5200_fpga 0 4
  73. 0xc000 0 0 4 &media5200_fpga 0 5
  74. 0xc800 0 0 1 &media5200_fpga 0 3 // 2nd slot
  75. 0xc800 0 0 2 &media5200_fpga 0 4
  76. 0xc800 0 0 3 &media5200_fpga 0 5
  77. 0xc800 0 0 4 &media5200_fpga 0 2
  78. 0xd000 0 0 1 &media5200_fpga 0 4 // miniPCI
  79. 0xd000 0 0 2 &media5200_fpga 0 5
  80. 0xe000 0 0 1 &media5200_fpga 0 5 // CoralIP
  81. >;
  82. ranges = <0x42000000 0 0x80000000 0x80000000 0 0x20000000
  83. 0x02000000 0 0xa0000000 0xa0000000 0 0x10000000
  84. 0x01000000 0 0x00000000 0xb0000000 0 0x01000000>;
  85. interrupt-parent = <&mpc5200_pic>;
  86. };
  87. localbus {
  88. ranges = < 0 0 0xfc000000 0x02000000
  89. 1 0 0xfe000000 0x02000000
  90. 2 0 0xf0010000 0x00010000
  91. 3 0 0xf0020000 0x00010000 >;
  92. flash@0,0 {
  93. compatible = "amd,am29lv28ml", "cfi-flash";
  94. reg = <0 0x0 0x2000000>; // 32 MB
  95. bank-width = <4>; // Width in bytes of the flash bank
  96. device-width = <2>; // Two devices on each bank
  97. };
  98. flash@1,0 {
  99. compatible = "amd,am29lv28ml", "cfi-flash";
  100. reg = <1 0 0x2000000>; // 32 MB
  101. bank-width = <4>; // Width in bytes of the flash bank
  102. device-width = <2>; // Two devices on each bank
  103. };
  104. media5200_fpga: fpga@2,0 {
  105. compatible = "fsl,media5200-fpga";
  106. interrupt-controller;
  107. #interrupt-cells = <2>; // 0:bank 1:id; no type field
  108. reg = <2 0 0x10000>;
  109. interrupt-parent = <&mpc5200_pic>;
  110. interrupts = <0 0 3 // IRQ bank 0
  111. 1 1 3>; // IRQ bank 1
  112. };
  113. uart@3,0 {
  114. compatible = "ti,tl16c752bpt";
  115. reg = <3 0 0x10000>;
  116. interrupt-parent = <&media5200_fpga>;
  117. interrupts = <0 0 0 1>; // 2 irqs
  118. };
  119. };
  120. };