sun6i-a31.dtsi 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. /*
  2. * Copyright 2013 Maxime Ripard
  3. *
  4. * Maxime Ripard <maxime.ripard@free-electrons.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/ "skeleton.dtsi"
  14. / {
  15. interrupt-parent = <&gic>;
  16. cpus {
  17. #address-cells = <1>;
  18. #size-cells = <0>;
  19. cpu@0 {
  20. compatible = "arm,cortex-a7";
  21. device_type = "cpu";
  22. reg = <0>;
  23. };
  24. cpu@1 {
  25. compatible = "arm,cortex-a7";
  26. device_type = "cpu";
  27. reg = <1>;
  28. };
  29. cpu@2 {
  30. compatible = "arm,cortex-a7";
  31. device_type = "cpu";
  32. reg = <2>;
  33. };
  34. cpu@3 {
  35. compatible = "arm,cortex-a7";
  36. device_type = "cpu";
  37. reg = <3>;
  38. };
  39. };
  40. memory {
  41. reg = <0x40000000 0x80000000>;
  42. };
  43. clocks {
  44. #address-cells = <1>;
  45. #size-cells = <0>;
  46. osc: oscillator {
  47. #clock-cells = <0>;
  48. compatible = "fixed-clock";
  49. clock-frequency = <24000000>;
  50. };
  51. };
  52. soc@01c00000 {
  53. compatible = "simple-bus";
  54. #address-cells = <1>;
  55. #size-cells = <1>;
  56. ranges;
  57. timer@01c20c00 {
  58. compatible = "allwinner,sun4i-timer";
  59. reg = <0x01c20c00 0xa0>;
  60. interrupts = <0 18 1>,
  61. <0 19 1>,
  62. <0 20 1>,
  63. <0 21 1>,
  64. <0 22 1>;
  65. clocks = <&osc>;
  66. };
  67. wdt1: watchdog@01c20ca0 {
  68. compatible = "allwinner,sun6i-wdt";
  69. reg = <0x01c20ca0 0x20>;
  70. };
  71. uart0: serial@01c28000 {
  72. compatible = "snps,dw-apb-uart";
  73. reg = <0x01c28000 0x400>;
  74. interrupts = <0 0 1>;
  75. reg-shift = <2>;
  76. reg-io-width = <4>;
  77. clocks = <&osc>;
  78. status = "disabled";
  79. };
  80. uart1: serial@01c28400 {
  81. compatible = "snps,dw-apb-uart";
  82. reg = <0x01c28400 0x400>;
  83. interrupts = <0 1 1>;
  84. reg-shift = <2>;
  85. reg-io-width = <4>;
  86. clocks = <&osc>;
  87. status = "disabled";
  88. };
  89. uart2: serial@01c28800 {
  90. compatible = "snps,dw-apb-uart";
  91. reg = <0x01c28800 0x400>;
  92. interrupts = <0 2 1>;
  93. reg-shift = <2>;
  94. reg-io-width = <4>;
  95. clocks = <&osc>;
  96. status = "disabled";
  97. };
  98. uart3: serial@01c28c00 {
  99. compatible = "snps,dw-apb-uart";
  100. reg = <0x01c28c00 0x400>;
  101. interrupts = <0 3 1>;
  102. reg-shift = <2>;
  103. reg-io-width = <4>;
  104. clocks = <&osc>;
  105. status = "disabled";
  106. };
  107. uart4: serial@01c29000 {
  108. compatible = "snps,dw-apb-uart";
  109. reg = <0x01c29000 0x400>;
  110. interrupts = <0 4 1>;
  111. reg-shift = <2>;
  112. reg-io-width = <4>;
  113. clocks = <&osc>;
  114. status = "disabled";
  115. };
  116. uart5: serial@01c29400 {
  117. compatible = "snps,dw-apb-uart";
  118. reg = <0x01c29400 0x400>;
  119. interrupts = <0 5 1>;
  120. reg-shift = <2>;
  121. reg-io-width = <4>;
  122. clocks = <&osc>;
  123. status = "disabled";
  124. };
  125. gic: interrupt-controller@01c81000 {
  126. compatible = "arm,cortex-a7-gic", "arm,cortex-a15-gic";
  127. reg = <0x01c81000 0x1000>,
  128. <0x01c82000 0x1000>,
  129. <0x01c84000 0x2000>,
  130. <0x01c86000 0x2000>;
  131. interrupt-controller;
  132. #interrupt-cells = <3>;
  133. interrupts = <1 9 0xf04>;
  134. };
  135. };
  136. };