spear320.dtsi 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. /*
  2. * DTS file for SPEAr320 SoC
  3. *
  4. * Copyright 2012 Viresh Kumar <viresh.linux@gmail.com>
  5. *
  6. * The code contained herein is licensed under the GNU General Public
  7. * License. You may obtain a copy of the GNU General Public License
  8. * Version 2 or later at the following locations:
  9. *
  10. * http://www.opensource.org/licenses/gpl-license.html
  11. * http://www.gnu.org/copyleft/gpl.html
  12. */
  13. /include/ "spear3xx.dtsi"
  14. / {
  15. ahb {
  16. #address-cells = <1>;
  17. #size-cells = <1>;
  18. compatible = "simple-bus";
  19. ranges = <0x40000000 0x40000000 0x80000000
  20. 0xd0000000 0xd0000000 0x30000000>;
  21. pinmux: pinmux@b3000000 {
  22. compatible = "st,spear320-pinmux";
  23. reg = <0xb3000000 0x1000>;
  24. #gpio-range-cells = <2>;
  25. };
  26. clcd@90000000 {
  27. compatible = "arm,pl110", "arm,primecell";
  28. reg = <0x90000000 0x1000>;
  29. interrupts = <8>;
  30. interrupt-parent = <&shirq>;
  31. status = "disabled";
  32. };
  33. fsmc: flash@4c000000 {
  34. compatible = "st,spear600-fsmc-nand";
  35. #address-cells = <1>;
  36. #size-cells = <1>;
  37. reg = <0x4c000000 0x1000 /* FSMC Register */
  38. 0x50000000 0x0010 /* NAND Base DATA */
  39. 0x50020000 0x0010 /* NAND Base ADDR */
  40. 0x50010000 0x0010>; /* NAND Base CMD */
  41. reg-names = "fsmc_regs", "nand_data", "nand_addr", "nand_cmd";
  42. status = "disabled";
  43. };
  44. sdhci@70000000 {
  45. compatible = "st,sdhci-spear";
  46. reg = <0x70000000 0x100>;
  47. interrupts = <10>;
  48. interrupt-parent = <&shirq>;
  49. status = "disabled";
  50. };
  51. shirq: interrupt-controller@0xb3000000 {
  52. compatible = "st,spear320-shirq";
  53. reg = <0xb3000000 0x1000>;
  54. interrupts = <30 28 29 1>;
  55. #interrupt-cells = <1>;
  56. interrupt-controller;
  57. };
  58. spi1: spi@a5000000 {
  59. compatible = "arm,pl022", "arm,primecell";
  60. reg = <0xa5000000 0x1000>;
  61. interrupts = <15>;
  62. interrupt-parent = <&shirq>;
  63. #address-cells = <1>;
  64. #size-cells = <0>;
  65. status = "disabled";
  66. };
  67. spi2: spi@a6000000 {
  68. compatible = "arm,pl022", "arm,primecell";
  69. reg = <0xa6000000 0x1000>;
  70. interrupts = <16>;
  71. interrupt-parent = <&shirq>;
  72. #address-cells = <1>;
  73. #size-cells = <0>;
  74. status = "disabled";
  75. };
  76. pwm: pwm@a8000000 {
  77. compatible ="st,spear-pwm";
  78. reg = <0xa8000000 0x1000>;
  79. #pwm-cells = <2>;
  80. status = "disabled";
  81. };
  82. apb {
  83. #address-cells = <1>;
  84. #size-cells = <1>;
  85. compatible = "simple-bus";
  86. ranges = <0xa0000000 0xa0000000 0x20000000
  87. 0xd0000000 0xd0000000 0x30000000>;
  88. i2c1: i2c@a7000000 {
  89. #address-cells = <1>;
  90. #size-cells = <0>;
  91. compatible = "snps,designware-i2c";
  92. reg = <0xa7000000 0x1000>;
  93. interrupts = <21>;
  94. interrupt-parent = <&shirq>;
  95. status = "disabled";
  96. };
  97. serial@a3000000 {
  98. compatible = "arm,pl011", "arm,primecell";
  99. reg = <0xa3000000 0x1000>;
  100. interrupts = <13>;
  101. interrupt-parent = <&shirq>;
  102. status = "disabled";
  103. };
  104. serial@a4000000 {
  105. compatible = "arm,pl011", "arm,primecell";
  106. reg = <0xa4000000 0x1000>;
  107. interrupts = <14>;
  108. interrupt-parent = <&shirq>;
  109. status = "disabled";
  110. };
  111. gpiopinctrl: gpio@b3000000 {
  112. compatible = "st,spear-plgpio";
  113. reg = <0xb3000000 0x1000>;
  114. #interrupt-cells = <1>;
  115. interrupt-controller;
  116. gpio-controller;
  117. #gpio-cells = <2>;
  118. gpio-ranges = <&pinmux 0 102>;
  119. status = "disabled";
  120. st-plgpio,ngpio = <102>;
  121. st-plgpio,enb-reg = <0x24>;
  122. st-plgpio,wdata-reg = <0x34>;
  123. st-plgpio,dir-reg = <0x44>;
  124. st-plgpio,ie-reg = <0x64>;
  125. st-plgpio,rdata-reg = <0x54>;
  126. st-plgpio,mis-reg = <0x84>;
  127. st-plgpio,eit-reg = <0x94>;
  128. };
  129. };
  130. };
  131. };