lite5200b.dts 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. /*
  2. * Lite5200B board Device Tree Source
  3. *
  4. * Copyright 2006-2007 Secret Lab Technologies Ltd.
  5. * Grant Likely <grant.likely@secretlab.ca>
  6. *
  7. * This program is free software; you can redistribute it and/or modify it
  8. * under the terms of the GNU General Public License as published by the
  9. * Free Software Foundation; either version 2 of the License, or (at your
  10. * option) any later version.
  11. */
  12. /include/ "mpc5200b.dtsi"
  13. / {
  14. model = "fsl,lite5200b";
  15. compatible = "fsl,lite5200b";
  16. memory {
  17. reg = <0x00000000 0x10000000>; // 256MB
  18. };
  19. soc5200@f0000000 {
  20. timer@600 { // General Purpose Timer
  21. fsl,has-wdt;
  22. };
  23. psc@2000 { // PSC1
  24. compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
  25. cell-index = <0>;
  26. };
  27. psc@2200 { // PSC2
  28. status = "disabled";
  29. };
  30. psc@2400 { // PSC3
  31. status = "disabled";
  32. };
  33. psc@2600 { // PSC4
  34. status = "disabled";
  35. };
  36. psc@2800 { // PSC5
  37. status = "disabled";
  38. };
  39. psc@2c00 { // PSC6
  40. status = "disabled";
  41. };
  42. // PSC2 in ac97 mode example
  43. //ac97@2200 { // PSC2
  44. // compatible = "fsl,mpc5200b-psc-ac97","fsl,mpc5200-psc-ac97";
  45. // cell-index = <1>;
  46. //};
  47. // PSC3 in CODEC mode example
  48. //i2s@2400 { // PSC3
  49. // compatible = "fsl,mpc5200b-psc-i2s"; //not 5200 compatible
  50. // cell-index = <2>;
  51. //};
  52. // PSC6 in spi mode example
  53. //spi@2c00 { // PSC6
  54. // compatible = "fsl,mpc5200b-psc-spi","fsl,mpc5200-psc-spi";
  55. // cell-index = <5>;
  56. //};
  57. ethernet@3000 {
  58. phy-handle = <&phy0>;
  59. };
  60. mdio@3000 {
  61. phy0: ethernet-phy@0 {
  62. reg = <0>;
  63. };
  64. };
  65. i2c@3d40 {
  66. eeprom@50 {
  67. compatible = "atmel,24c02";
  68. reg = <0x50>;
  69. };
  70. };
  71. sram@8000 {
  72. compatible = "fsl,mpc5200b-sram","fsl,mpc5200-sram";
  73. reg = <0x8000 0x4000>;
  74. };
  75. };
  76. pci@f0000d00 {
  77. interrupt-map-mask = <0xf800 0 0 7>;
  78. interrupt-map = <0xc000 0 0 1 &mpc5200_pic 0 0 3 // 1st slot
  79. 0xc000 0 0 2 &mpc5200_pic 1 1 3
  80. 0xc000 0 0 3 &mpc5200_pic 1 2 3
  81. 0xc000 0 0 4 &mpc5200_pic 1 3 3
  82. 0xc800 0 0 1 &mpc5200_pic 1 1 3 // 2nd slot
  83. 0xc800 0 0 2 &mpc5200_pic 1 2 3
  84. 0xc800 0 0 3 &mpc5200_pic 1 3 3
  85. 0xc800 0 0 4 &mpc5200_pic 0 0 3>;
  86. clock-frequency = <0>; // From boot loader
  87. interrupts = <2 8 0 2 9 0 2 10 0>;
  88. bus-range = <0 0>;
  89. ranges = <0x42000000 0 0x80000000 0x80000000 0 0x20000000
  90. 0x02000000 0 0xa0000000 0xa0000000 0 0x10000000
  91. 0x01000000 0 0x00000000 0xb0000000 0 0x01000000>;
  92. };
  93. localbus {
  94. ranges = <0 0 0xfe000000 0x02000000>;
  95. flash@0,0 {
  96. compatible = "cfi-flash";
  97. reg = <0 0 0x02000000>;
  98. bank-width = <1>;
  99. #size-cells = <1>;
  100. #address-cells = <1>;
  101. partition@0 {
  102. label = "kernel";
  103. reg = <0x00000000 0x00200000>;
  104. };
  105. partition@200000 {
  106. label = "rootfs";
  107. reg = <0x00200000 0x01d00000>;
  108. };
  109. partition@1f00000 {
  110. label = "u-boot";
  111. reg = <0x01f00000 0x00060000>;
  112. };
  113. partition@1f60000 {
  114. label = "u-boot-env";
  115. reg = <0x01f60000 0x00020000>;
  116. };
  117. partition@1f80000 {
  118. label = "dtb";
  119. reg = <0x01f80000 0x00080000>;
  120. };
  121. };
  122. };
  123. };