a4m072.dts 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  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. &gpt0 { fsl,has-wdt; };
  17. &gpt3 { gpio-controller; };
  18. &gpt4 { gpio-controller; };
  19. &gpt5 { gpio-controller; };
  20. / {
  21. model = "anonymous,a4m072";
  22. compatible = "anonymous,a4m072";
  23. soc5200@f0000000 {
  24. #address-cells = <1>;
  25. #size-cells = <1>;
  26. compatible = "fsl,mpc5200b-immr";
  27. ranges = <0 0xf0000000 0x0000c000>;
  28. reg = <0xf0000000 0x00000100>;
  29. bus-frequency = <0>; /* From boot loader */
  30. system-frequency = <0>; /* From boot loader */
  31. cdm@200 {
  32. fsl,init-ext-48mhz-en = <0x0>;
  33. fsl,init-fd-enable = <0x01>;
  34. fsl,init-fd-counters = <0x3333>;
  35. };
  36. spi@f00 {
  37. status = "disabled";
  38. };
  39. psc@2000 {
  40. compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
  41. reg = <0x2000 0x100>;
  42. interrupts = <2 1 0>;
  43. };
  44. psc@2200 {
  45. compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
  46. reg = <0x2200 0x100>;
  47. interrupts = <2 2 0>;
  48. };
  49. psc@2400 {
  50. compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
  51. reg = <0x2400 0x100>;
  52. interrupts = <2 3 0>;
  53. };
  54. psc@2600 {
  55. status = "disabled";
  56. };
  57. psc@2800 {
  58. status = "disabled";
  59. };
  60. psc@2c00 {
  61. compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
  62. reg = <0x2c00 0x100>;
  63. interrupts = <2 4 0>;
  64. };
  65. ethernet@3000 {
  66. phy-handle = <&phy0>;
  67. };
  68. mdio@3000 {
  69. phy0: ethernet-phy@1f {
  70. reg = <0x1f>;
  71. interrupts = <1 2 0>; /* IRQ 2 active low */
  72. };
  73. };
  74. i2c@3d00 {
  75. status = "disabled";
  76. };
  77. i2c@3d40 {
  78. hwmon@2e {
  79. compatible = "nsc,lm87";
  80. reg = <0x2e>;
  81. };
  82. rtc@51 {
  83. compatible = "nxp,rtc8564";
  84. reg = <0x51>;
  85. };
  86. };
  87. };
  88. localbus {
  89. compatible = "fsl,mpc5200b-lpb","simple-bus";
  90. #address-cells = <2>;
  91. #size-cells = <1>;
  92. ranges = <0 0 0xfe000000 0x02000000
  93. 1 0 0x62000000 0x00400000
  94. 2 0 0x64000000 0x00200000
  95. 3 0 0x66000000 0x01000000
  96. 6 0 0x68000000 0x01000000
  97. 7 0 0x6a000000 0x00000004>;
  98. flash@0,0 {
  99. compatible = "cfi-flash";
  100. reg = <0 0 0x02000000>;
  101. bank-width = <2>;
  102. #size-cells = <1>;
  103. #address-cells = <1>;
  104. };
  105. sram0@1,0 {
  106. compatible = "mtd-ram";
  107. reg = <1 0x00000 0x00400000>;
  108. bank-width = <2>;
  109. };
  110. };
  111. pci@f0000d00 {
  112. #interrupt-cells = <1>;
  113. #size-cells = <2>;
  114. #address-cells = <3>;
  115. device_type = "pci";
  116. compatible = "fsl,mpc5200-pci";
  117. reg = <0xf0000d00 0x100>;
  118. interrupt-map-mask = <0xf800 0 0 7>;
  119. interrupt-map = <
  120. /* IDSEL 0x16 */
  121. 0xc000 0 0 1 &mpc5200_pic 1 3 3
  122. 0xc000 0 0 2 &mpc5200_pic 1 3 3
  123. 0xc000 0 0 3 &mpc5200_pic 1 3 3
  124. 0xc000 0 0 4 &mpc5200_pic 1 3 3>;
  125. clock-frequency = <0>; /* From boot loader */
  126. interrupts = <2 8 0 2 9 0 2 10 0>;
  127. bus-range = <0 0>;
  128. ranges = <0x42000000 0 0x80000000 0x80000000 0 0x10000000
  129. 0x02000000 0 0x90000000 0x90000000 0 0x10000000
  130. 0x01000000 0 0x00000000 0xa0000000 0 0x01000000>;
  131. };
  132. };