a4m072.dts 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. /*
  2. * a4m072 board Device Tree Source
  3. *
  4. * Copyright (C) 2011 DENX Software Engineering GmbH
  5. * Heiko Schocher <hs@denx.de>
  6. *
  7. * Copyright (C) 2007 Semihalf
  8. * Marian Balakowicz <m8@semihalf.com>
  9. *
  10. * This program is free software; you can redistribute it and/or modify it
  11. * under the terms of the GNU General Public License as published by the
  12. * Free Software Foundation; either version 2 of the License, or (at your
  13. * option) any later version.
  14. */
  15. /include/ "mpc5200b.dtsi"
  16. / {
  17. model = "anonymous,a4m072";
  18. compatible = "anonymous,a4m072";
  19. soc5200@f0000000 {
  20. #address-cells = <1>;
  21. #size-cells = <1>;
  22. compatible = "fsl,mpc5200b-immr";
  23. ranges = <0 0xf0000000 0x0000c000>;
  24. reg = <0xf0000000 0x00000100>;
  25. bus-frequency = <0>; /* From boot loader */
  26. system-frequency = <0>; /* From boot loader */
  27. cdm@200 {
  28. fsl,init-ext-48mhz-en = <0x0>;
  29. fsl,init-fd-enable = <0x01>;
  30. fsl,init-fd-counters = <0x3333>;
  31. };
  32. timer@600 {
  33. fsl,has-wdt;
  34. };
  35. gpt3: timer@630 { /* General Purpose Timer in GPIO mode */
  36. compatible = "fsl,mpc5200b-gpt-gpio","fsl,mpc5200-gpt-gpio";
  37. gpio-controller;
  38. #gpio-cells = <2>;
  39. };
  40. gpt4: timer@640 { /* General Purpose Timer in GPIO mode */
  41. compatible = "fsl,mpc5200b-gpt-gpio","fsl,mpc5200-gpt-gpio";
  42. gpio-controller;
  43. #gpio-cells = <2>;
  44. };
  45. gpt5: timer@650 { /* General Purpose Timer in GPIO mode */
  46. compatible = "fsl,mpc5200b-gpt-gpio","fsl,mpc5200-gpt-gpio";
  47. gpio-controller;
  48. #gpio-cells = <2>;
  49. };
  50. spi@f00 {
  51. status = "disabled";
  52. };
  53. psc@2000 {
  54. compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
  55. reg = <0x2000 0x100>;
  56. interrupts = <2 1 0>;
  57. };
  58. psc@2200 {
  59. compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
  60. reg = <0x2200 0x100>;
  61. interrupts = <2 2 0>;
  62. };
  63. psc@2400 {
  64. compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
  65. reg = <0x2400 0x100>;
  66. interrupts = <2 3 0>;
  67. };
  68. psc@2600 {
  69. status = "disabled";
  70. };
  71. psc@2800 {
  72. status = "disabled";
  73. };
  74. psc@2c00 {
  75. compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
  76. reg = <0x2c00 0x100>;
  77. interrupts = <2 4 0>;
  78. };
  79. ethernet@3000 {
  80. phy-handle = <&phy0>;
  81. };
  82. mdio@3000 {
  83. phy0: ethernet-phy@1f {
  84. reg = <0x1f>;
  85. interrupts = <1 2 0>; /* IRQ 2 active low */
  86. };
  87. };
  88. i2c@3d00 {
  89. status = "disabled";
  90. };
  91. i2c@3d40 {
  92. hwmon@2e {
  93. compatible = "nsc,lm87";
  94. reg = <0x2e>;
  95. };
  96. rtc@51 {
  97. compatible = "nxp,rtc8564";
  98. reg = <0x51>;
  99. };
  100. };
  101. };
  102. localbus {
  103. compatible = "fsl,mpc5200b-lpb","simple-bus";
  104. #address-cells = <2>;
  105. #size-cells = <1>;
  106. ranges = <0 0 0xfe000000 0x02000000
  107. 1 0 0x62000000 0x00400000
  108. 2 0 0x64000000 0x00200000
  109. 3 0 0x66000000 0x01000000
  110. 6 0 0x68000000 0x01000000
  111. 7 0 0x6a000000 0x00000004>;
  112. flash@0,0 {
  113. compatible = "cfi-flash";
  114. reg = <0 0 0x02000000>;
  115. bank-width = <2>;
  116. #size-cells = <1>;
  117. #address-cells = <1>;
  118. };
  119. sram0@1,0 {
  120. compatible = "mtd-ram";
  121. reg = <1 0x00000 0x00400000>;
  122. bank-width = <2>;
  123. };
  124. };
  125. pci@f0000d00 {
  126. #interrupt-cells = <1>;
  127. #size-cells = <2>;
  128. #address-cells = <3>;
  129. device_type = "pci";
  130. compatible = "fsl,mpc5200-pci";
  131. reg = <0xf0000d00 0x100>;
  132. interrupt-map-mask = <0xf800 0 0 7>;
  133. interrupt-map = <
  134. /* IDSEL 0x16 */
  135. 0xc000 0 0 1 &mpc5200_pic 1 3 3
  136. 0xc000 0 0 2 &mpc5200_pic 1 3 3
  137. 0xc000 0 0 3 &mpc5200_pic 1 3 3
  138. 0xc000 0 0 4 &mpc5200_pic 1 3 3>;
  139. clock-frequency = <0>; /* From boot loader */
  140. interrupts = <2 8 0 2 9 0 2 10 0>;
  141. bus-range = <0 0>;
  142. ranges = <0x42000000 0 0x80000000 0x80000000 0 0x10000000
  143. 0x02000000 0 0x90000000 0x90000000 0 0x10000000
  144. 0x01000000 0 0x00000000 0xa0000000 0 0x01000000>;
  145. };
  146. };