omap4.dtsi 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. /*
  2. * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License version 2 as
  6. * published by the Free Software Foundation.
  7. */
  8. /*
  9. * Carveout for multimedia usecases
  10. * It should be the last 48MB of the first 512MB memory part
  11. * In theory, it should not even exist. That zone should be reserved
  12. * dynamically during the .reserve callback.
  13. */
  14. /memreserve/ 0x9d000000 0x03000000;
  15. /include/ "skeleton.dtsi"
  16. / {
  17. compatible = "ti,omap4430", "ti,omap4";
  18. interrupt-parent = <&gic>;
  19. aliases {
  20. serial0 = &uart1;
  21. serial1 = &uart2;
  22. serial2 = &uart3;
  23. serial3 = &uart4;
  24. };
  25. cpus {
  26. cpu@0 {
  27. compatible = "arm,cortex-a9";
  28. };
  29. cpu@1 {
  30. compatible = "arm,cortex-a9";
  31. };
  32. };
  33. /*
  34. * The soc node represents the soc top level view. It is uses for IPs
  35. * that are not memory mapped in the MPU view or for the MPU itself.
  36. */
  37. soc {
  38. compatible = "ti,omap-infra";
  39. mpu {
  40. compatible = "ti,omap4-mpu";
  41. ti,hwmods = "mpu";
  42. };
  43. dsp {
  44. compatible = "ti,omap3-c64";
  45. ti,hwmods = "dsp";
  46. };
  47. iva {
  48. compatible = "ti,ivahd";
  49. ti,hwmods = "iva";
  50. };
  51. };
  52. /*
  53. * XXX: Use a flat representation of the OMAP4 interconnect.
  54. * The real OMAP interconnect network is quite complex.
  55. *
  56. * MPU -+-- MPU_PRIVATE - GIC, L2
  57. * |
  58. * +----------------+----------+
  59. * | | |
  60. * + +- EMIF - DDR |
  61. * | | |
  62. * | + +--------+
  63. * | | |
  64. * | +- L4_ABE - AESS, MCBSP, TIMERs...
  65. * | |
  66. * +- L3_MAIN --+- L4_CORE - IPs...
  67. * |
  68. * +- L4_PER - IPs...
  69. * |
  70. * +- L4_CFG -+- L4_WKUP - IPs...
  71. * | |
  72. * | +- IPs...
  73. * +- IPU ----+
  74. * | |
  75. * +- DSP ----+
  76. * | |
  77. * +- DSS ----+
  78. *
  79. * Since that will not bring real advantage to represent that in DT for
  80. * the moment, just use a fake OCP bus entry to represent the whole bus
  81. * hierarchy.
  82. */
  83. ocp {
  84. compatible = "ti,omap4-l3-noc", "simple-bus";
  85. #address-cells = <1>;
  86. #size-cells = <1>;
  87. ranges;
  88. ti,hwmods = "l3_main_1", "l3_main_2", "l3_main_3";
  89. gic: interrupt-controller@48241000 {
  90. compatible = "arm,cortex-a9-gic";
  91. interrupt-controller;
  92. #interrupt-cells = <3>;
  93. reg = <0x48241000 0x1000>,
  94. <0x48240100 0x0100>;
  95. };
  96. uart1: serial@4806a000 {
  97. compatible = "ti,omap4-uart";
  98. ti,hwmods = "uart1";
  99. clock-frequency = <48000000>;
  100. };
  101. uart2: serial@4806c000 {
  102. compatible = "ti,omap4-uart";
  103. ti,hwmods = "uart2";
  104. clock-frequency = <48000000>;
  105. };
  106. uart3: serial@48020000 {
  107. compatible = "ti,omap4-uart";
  108. ti,hwmods = "uart3";
  109. clock-frequency = <48000000>;
  110. };
  111. uart4: serial@4806e000 {
  112. compatible = "ti,omap4-uart";
  113. ti,hwmods = "uart4";
  114. clock-frequency = <48000000>;
  115. };
  116. i2c1: i2c@48070000 {
  117. compatible = "ti,omap4-i2c";
  118. #address-cells = <1>;
  119. #size-cells = <0>;
  120. ti,hwmods = "i2c1";
  121. };
  122. i2c2: i2c@48072000 {
  123. compatible = "ti,omap4-i2c";
  124. #address-cells = <1>;
  125. #size-cells = <0>;
  126. ti,hwmods = "i2c2";
  127. };
  128. i2c3: i2c@48060000 {
  129. compatible = "ti,omap4-i2c";
  130. #address-cells = <1>;
  131. #size-cells = <0>;
  132. ti,hwmods = "i2c3";
  133. };
  134. i2c4: i2c@48350000 {
  135. compatible = "ti,omap4-i2c";
  136. #address-cells = <1>;
  137. #size-cells = <0>;
  138. ti,hwmods = "i2c4";
  139. };
  140. };
  141. };