lite5200b.dts 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  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. &gpt0 { fsl,has-wdt; };
  14. &gpt2 { gpio-controller; };
  15. &gpt3 { gpio-controller; };
  16. / {
  17. model = "fsl,lite5200b";
  18. compatible = "fsl,lite5200b";
  19. leds {
  20. compatible = "gpio-leds";
  21. tmr2 {
  22. gpios = <&gpt2 0 1>;
  23. };
  24. tmr3 {
  25. gpios = <&gpt3 0 1>;
  26. linux,default-trigger = "heartbeat";
  27. };
  28. led1 { gpios = <&gpio_wkup 2 1>; };
  29. led2 { gpios = <&gpio_simple 3 1>; };
  30. led3 { gpios = <&gpio_wkup 3 1>; };
  31. led4 { gpios = <&gpio_simple 2 1>; };
  32. };
  33. memory {
  34. reg = <0x00000000 0x10000000>; // 256MB
  35. };
  36. soc5200@f0000000 {
  37. psc@2000 { // PSC1
  38. compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
  39. cell-index = <0>;
  40. };
  41. psc@2200 { // PSC2
  42. status = "disabled";
  43. };
  44. psc@2400 { // PSC3
  45. status = "disabled";
  46. };
  47. psc@2600 { // PSC4
  48. status = "disabled";
  49. };
  50. psc@2800 { // PSC5
  51. status = "disabled";
  52. };
  53. psc@2c00 { // PSC6
  54. status = "disabled";
  55. };
  56. // PSC2 in ac97 mode example
  57. //ac97@2200 { // PSC2
  58. // compatible = "fsl,mpc5200b-psc-ac97","fsl,mpc5200-psc-ac97";
  59. // cell-index = <1>;
  60. //};
  61. // PSC3 in CODEC mode example
  62. //i2s@2400 { // PSC3
  63. // compatible = "fsl,mpc5200b-psc-i2s"; //not 5200 compatible
  64. // cell-index = <2>;
  65. //};
  66. // PSC6 in spi mode example
  67. //spi@2c00 { // PSC6
  68. // compatible = "fsl,mpc5200b-psc-spi","fsl,mpc5200-psc-spi";
  69. // cell-index = <5>;
  70. //};
  71. ethernet@3000 {
  72. phy-handle = <&phy0>;
  73. };
  74. mdio@3000 {
  75. phy0: ethernet-phy@0 {
  76. reg = <0>;
  77. };
  78. };
  79. i2c@3d40 {
  80. eeprom@50 {
  81. compatible = "atmel,24c02";
  82. reg = <0x50>;
  83. };
  84. };
  85. sram@8000 {
  86. compatible = "fsl,mpc5200b-sram","fsl,mpc5200-sram";
  87. reg = <0x8000 0x4000>;
  88. };
  89. };
  90. pci@f0000d00 {
  91. interrupt-map-mask = <0xf800 0 0 7>;
  92. interrupt-map = <0xc000 0 0 1 &mpc5200_pic 0 0 3 // 1st slot
  93. 0xc000 0 0 2 &mpc5200_pic 1 1 3
  94. 0xc000 0 0 3 &mpc5200_pic 1 2 3
  95. 0xc000 0 0 4 &mpc5200_pic 1 3 3
  96. 0xc800 0 0 1 &mpc5200_pic 1 1 3 // 2nd slot
  97. 0xc800 0 0 2 &mpc5200_pic 1 2 3
  98. 0xc800 0 0 3 &mpc5200_pic 1 3 3
  99. 0xc800 0 0 4 &mpc5200_pic 0 0 3>;
  100. clock-frequency = <0>; // From boot loader
  101. interrupts = <2 8 0 2 9 0 2 10 0>;
  102. bus-range = <0 0>;
  103. ranges = <0x42000000 0 0x80000000 0x80000000 0 0x20000000
  104. 0x02000000 0 0xa0000000 0xa0000000 0 0x10000000
  105. 0x01000000 0 0x00000000 0xb0000000 0 0x01000000>;
  106. };
  107. localbus {
  108. ranges = <0 0 0xfe000000 0x02000000>;
  109. flash@0,0 {
  110. compatible = "cfi-flash";
  111. reg = <0 0 0x02000000>;
  112. bank-width = <1>;
  113. #size-cells = <1>;
  114. #address-cells = <1>;
  115. partition@0 {
  116. label = "kernel";
  117. reg = <0x00000000 0x00200000>;
  118. };
  119. partition@200000 {
  120. label = "rootfs";
  121. reg = <0x00200000 0x01d00000>;
  122. };
  123. partition@1f00000 {
  124. label = "u-boot";
  125. reg = <0x01f00000 0x00060000>;
  126. };
  127. partition@1f60000 {
  128. label = "u-boot-env";
  129. reg = <0x01f60000 0x00020000>;
  130. };
  131. partition@1f80000 {
  132. label = "dtb";
  133. reg = <0x01f80000 0x00080000>;
  134. };
  135. };
  136. };
  137. };