arm-realview-eb.dts 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. /*
  2. * Copyright 2016 Linaro Ltd
  3. *
  4. * Permission is hereby granted, free of charge, to any person obtaining a copy
  5. * of this software and associated documentation files (the "Software"), to deal
  6. * in the Software without restriction, including without limitation the rights
  7. * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  8. * copies of the Software, and to permit persons to whom the Software is
  9. * furnished to do so, subject to the following conditions:
  10. *
  11. * The above copyright notice and this permission notice shall be included in
  12. * all copies or substantial portions of the Software.
  13. *
  14. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  15. * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  16. * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
  17. * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  18. * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  19. * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  20. * THE SOFTWARE.
  21. */
  22. /dts-v1/;
  23. #include <dt-bindings/interrupt-controller/irq.h>
  24. #include <dt-bindings/gpio/gpio.h>
  25. #include "arm-realview-eb.dtsi"
  26. / {
  27. model = "ARM RealView Emulation Baseboard";
  28. compatible = "arm,realview-eb";
  29. arm,hbi = <0x140>;
  30. /*
  31. * This is the core tile with the CPU and GIC etc for the
  32. * ARM926EJ-S, ARM1136, ARM1176 that does not have L2 cache
  33. * or PMU.
  34. *
  35. * To run this machine with QEMU, specify the following:
  36. * qemu-system-arm -M realview-eb
  37. * Unless specified, QEMU will emulate an ARM926EJ-S core tile.
  38. * Switches -cpu arm1136 or -cpu arm1176 emulates the other
  39. * core tiles.
  40. */
  41. soc {
  42. #address-cells = <1>;
  43. #size-cells = <1>;
  44. compatible = "arm,realview-eb-soc", "simple-bus";
  45. regmap = <&syscon>;
  46. ranges;
  47. intc: interrupt-controller@10040000 {
  48. compatible = "arm,pl390";
  49. #interrupt-cells = <3>;
  50. #address-cells = <1>;
  51. interrupt-controller;
  52. reg = <0x10041000 0x1000>,
  53. <0x10040000 0x100>;
  54. };
  55. };
  56. };
  57. /*
  58. * This adapts all the peripherals to the interrupt routing
  59. * to the GIC on the core tile.
  60. */
  61. &ethernet {
  62. interrupt-parent = <&intc>;
  63. interrupts = <0 28 IRQ_TYPE_LEVEL_HIGH>;
  64. };
  65. &usb {
  66. interrupt-parent = <&intc>;
  67. interrupts = <0 29 IRQ_TYPE_LEVEL_HIGH>;
  68. };
  69. &aaci {
  70. interrupt-parent = <&intc>;
  71. interrupts = <0 19 IRQ_TYPE_LEVEL_HIGH>;
  72. };
  73. &mmc {
  74. interrupt-parent = <&intc>;
  75. interrupts = <0 17 IRQ_TYPE_LEVEL_HIGH>,
  76. <0 18 IRQ_TYPE_LEVEL_HIGH>;
  77. };
  78. &kmi0 {
  79. interrupt-parent = <&intc>;
  80. interrupts = <0 20 IRQ_TYPE_LEVEL_HIGH>;
  81. };
  82. &kmi1 {
  83. interrupt-parent = <&intc>;
  84. interrupts = <0 21 IRQ_TYPE_LEVEL_HIGH>;
  85. };
  86. &charlcd {
  87. interrupt-parent = <&intc>;
  88. interrupts = <0 22 IRQ_TYPE_LEVEL_HIGH>;
  89. };
  90. &serial0 {
  91. interrupt-parent = <&intc>;
  92. interrupts = <0 12 IRQ_TYPE_LEVEL_HIGH>;
  93. };
  94. &serial1 {
  95. interrupt-parent = <&intc>;
  96. interrupts = <0 13 IRQ_TYPE_LEVEL_HIGH>;
  97. };
  98. &serial2 {
  99. interrupt-parent = <&intc>;
  100. interrupts = <0 14 IRQ_TYPE_LEVEL_HIGH>;
  101. };
  102. &serial3 {
  103. interrupt-parent = <&intc>;
  104. interrupts = <0 15 IRQ_TYPE_LEVEL_HIGH>;
  105. };
  106. &ssp {
  107. interrupt-parent = <&intc>;
  108. interrupts = <0 11 IRQ_TYPE_LEVEL_HIGH>;
  109. };
  110. &wdog {
  111. interrupt-parent = <&intc>;
  112. interrupts = <0 0 IRQ_TYPE_LEVEL_HIGH>;
  113. };
  114. &timer01 {
  115. interrupt-parent = <&intc>;
  116. interrupts = <0 4 IRQ_TYPE_LEVEL_HIGH>;
  117. };
  118. &timer23 {
  119. interrupt-parent = <&intc>;
  120. interrupts = <0 5 IRQ_TYPE_LEVEL_HIGH>;
  121. };
  122. &gpio0 {
  123. interrupt-parent = <&intc>;
  124. interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>;
  125. };
  126. &gpio1 {
  127. interrupt-parent = <&intc>;
  128. interrupts = <0 7 IRQ_TYPE_LEVEL_HIGH>;
  129. };
  130. &gpio2 {
  131. interrupt-parent = <&intc>;
  132. interrupts = <0 8 IRQ_TYPE_LEVEL_HIGH>;
  133. };
  134. &rtc {
  135. interrupt-parent = <&intc>;
  136. interrupts = <0 10 IRQ_TYPE_LEVEL_HIGH>;
  137. };
  138. &clcd {
  139. interrupt-parent = <&intc>;
  140. interrupts = <0 23 IRQ_TYPE_LEVEL_HIGH>;
  141. };