axm55xx.dtsi 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. /*
  2. * arch/arm/boot/dts/axm55xx.dtsi
  3. *
  4. * Copyright (C) 2013 LSI
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation; either version 2 of the License, or
  9. * (at your option) any later version.
  10. */
  11. #include <dt-bindings/interrupt-controller/arm-gic.h>
  12. #include <dt-bindings/clock/lsi,axm5516-clks.h>
  13. #include "skeleton64.dtsi"
  14. / {
  15. interrupt-parent = <&gic>;
  16. aliases {
  17. serial0 = &serial0;
  18. serial1 = &serial1;
  19. serial2 = &serial2;
  20. serial3 = &serial3;
  21. timer = &timer0;
  22. };
  23. clocks {
  24. compatible = "simple-bus";
  25. #address-cells = <2>;
  26. #size-cells = <2>;
  27. ranges;
  28. clk_ref0: clk_ref0 {
  29. compatible = "fixed-clock";
  30. #clock-cells = <0>;
  31. clock-frequency = <125000000>;
  32. };
  33. clk_ref1: clk_ref1 {
  34. compatible = "fixed-clock";
  35. #clock-cells = <0>;
  36. clock-frequency = <125000000>;
  37. };
  38. clk_ref2: clk_ref2 {
  39. compatible = "fixed-clock";
  40. #clock-cells = <0>;
  41. clock-frequency = <125000000>;
  42. };
  43. clks: clock-controller@2010020000 {
  44. compatible = "lsi,axm5516-clks";
  45. #clock-cells = <1>;
  46. reg = <0x20 0x10020000 0 0x20000>;
  47. };
  48. };
  49. gic: interrupt-controller@2001001000 {
  50. compatible = "arm,cortex-a15-gic";
  51. #interrupt-cells = <3>;
  52. #address-cells = <0>;
  53. interrupt-controller;
  54. reg = <0x20 0x01001000 0 0x1000>,
  55. <0x20 0x01002000 0 0x1000>,
  56. <0x20 0x01004000 0 0x2000>,
  57. <0x20 0x01006000 0 0x2000>;
  58. interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) |
  59. IRQ_TYPE_LEVEL_HIGH)>;
  60. };
  61. timer {
  62. compatible = "arm,armv7-timer";
  63. interrupts =
  64. <GIC_PPI 13
  65. (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
  66. <GIC_PPI 14
  67. (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
  68. <GIC_PPI 11
  69. (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
  70. <GIC_PPI 10
  71. (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
  72. };
  73. pmu {
  74. compatible = "arm,cortex-a15-pmu";
  75. interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
  76. };
  77. soc {
  78. compatible = "simple-bus";
  79. device_type = "soc";
  80. #address-cells = <2>;
  81. #size-cells = <2>;
  82. interrupt-parent = <&gic>;
  83. ranges;
  84. syscon: syscon@2010030000 {
  85. compatible = "lsi,axxia-syscon", "syscon";
  86. reg = <0x20 0x10030000 0 0x2000>;
  87. };
  88. reset: reset@2010031000 {
  89. compatible = "lsi,axm55xx-reset";
  90. syscon = <&syscon>;
  91. };
  92. amba {
  93. compatible = "arm,amba-bus";
  94. #address-cells = <2>;
  95. #size-cells = <2>;
  96. ranges;
  97. serial0: uart@2010080000 {
  98. compatible = "arm,pl011", "arm,primecell";
  99. reg = <0x20 0x10080000 0 0x1000>;
  100. interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
  101. clocks = <&clks AXXIA_CLK_PER>;
  102. clock-names = "apb_pclk";
  103. status = "disabled";
  104. };
  105. serial1: uart@2010081000 {
  106. compatible = "arm,pl011", "arm,primecell";
  107. reg = <0x20 0x10081000 0 0x1000>;
  108. interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
  109. clocks = <&clks AXXIA_CLK_PER>;
  110. clock-names = "apb_pclk";
  111. status = "disabled";
  112. };
  113. serial2: uart@2010082000 {
  114. compatible = "arm,pl011", "arm,primecell";
  115. reg = <0x20 0x10082000 0 0x1000>;
  116. interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
  117. clocks = <&clks AXXIA_CLK_PER>;
  118. clock-names = "apb_pclk";
  119. status = "disabled";
  120. };
  121. serial3: uart@2010083000 {
  122. compatible = "arm,pl011", "arm,primecell";
  123. reg = <0x20 0x10083000 0 0x1000>;
  124. interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
  125. clocks = <&clks AXXIA_CLK_PER>;
  126. clock-names = "apb_pclk";
  127. status = "disabled";
  128. };
  129. timer0: timer@2010091000 {
  130. compatible = "arm,sp804", "arm,primecell";
  131. reg = <0x20 0x10091000 0 0x1000>;
  132. interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
  133. <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
  134. <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
  135. <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,
  136. <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
  137. <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>,
  138. <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
  139. <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
  140. <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
  141. clocks = <&clks AXXIA_CLK_PER>;
  142. clock-names = "apb_pclk";
  143. status = "okay";
  144. };
  145. gpio0: gpio@2010092000 {
  146. #gpio-cells = <2>;
  147. compatible = "arm,pl061", "arm,primecell";
  148. gpio-controller;
  149. reg = <0x20 0x10092000 0x00 0x1000>;
  150. interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>,
  151. <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>,
  152. <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
  153. <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
  154. <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>,
  155. <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>,
  156. <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>,
  157. <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
  158. clocks = <&clks AXXIA_CLK_PER>;
  159. clock-names = "apb_pclk";
  160. status = "disabled";
  161. };
  162. gpio1: gpio@2010093000 {
  163. #gpio-cells = <2>;
  164. compatible = "arm,pl061", "arm,primecell";
  165. gpio-controller;
  166. reg = <0x20 0x10093000 0x00 0x1000>;
  167. interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
  168. clocks = <&clks AXXIA_CLK_PER>;
  169. clock-names = "apb_pclk";
  170. status = "disabled";
  171. };
  172. };
  173. };
  174. };
  175. /*
  176. Local Variables:
  177. mode: C
  178. End:
  179. */