s700.dtsi 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2. /*
  3. * Copyright (c) 2017 Andreas Färber
  4. */
  5. #include <dt-bindings/interrupt-controller/arm-gic.h>
  6. / {
  7. compatible = "actions,s700";
  8. interrupt-parent = <&gic>;
  9. #address-cells = <2>;
  10. #size-cells = <2>;
  11. cpus {
  12. #address-cells = <2>;
  13. #size-cells = <0>;
  14. cpu0: cpu@0 {
  15. device_type = "cpu";
  16. compatible = "arm,cortex-a53", "arm,armv8";
  17. reg = <0x0 0x0>;
  18. enable-method = "psci";
  19. };
  20. cpu1: cpu@1 {
  21. device_type = "cpu";
  22. compatible = "arm,cortex-a53", "arm,armv8";
  23. reg = <0x0 0x1>;
  24. enable-method = "psci";
  25. };
  26. cpu2: cpu@2 {
  27. device_type = "cpu";
  28. compatible = "arm,cortex-a53", "arm,armv8";
  29. reg = <0x0 0x2>;
  30. enable-method = "psci";
  31. };
  32. cpu3: cpu@3 {
  33. device_type = "cpu";
  34. compatible = "arm,cortex-a53", "arm,armv8";
  35. reg = <0x0 0x3>;
  36. enable-method = "psci";
  37. };
  38. };
  39. reserved-memory {
  40. #address-cells = <2>;
  41. #size-cells = <2>;
  42. ranges;
  43. secmon@1f000000 {
  44. reg = <0x0 0x1f000000 0x0 0x1000000>;
  45. no-map;
  46. };
  47. };
  48. psci {
  49. compatible = "arm,psci-0.2";
  50. method = "smc";
  51. };
  52. arm-pmu {
  53. compatible = "arm,cortex-a53-pmu";
  54. interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
  55. <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>,
  56. <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>,
  57. <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
  58. interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
  59. };
  60. timer {
  61. compatible = "arm,armv8-timer";
  62. interrupts = <GIC_PPI 13
  63. (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
  64. <GIC_PPI 14
  65. (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
  66. <GIC_PPI 11
  67. (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
  68. <GIC_PPI 10
  69. (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
  70. };
  71. hosc: hosc {
  72. compatible = "fixed-clock";
  73. clock-frequency = <24000000>;
  74. #clock-cells = <0>;
  75. };
  76. soc {
  77. compatible = "simple-bus";
  78. #address-cells = <2>;
  79. #size-cells = <2>;
  80. ranges;
  81. gic: interrupt-controller@e00f1000 {
  82. compatible = "arm,gic-400";
  83. reg = <0x0 0xe00f1000 0x0 0x1000>,
  84. <0x0 0xe00f2000 0x0 0x2000>,
  85. <0x0 0xe00f4000 0x0 0x2000>,
  86. <0x0 0xe00f6000 0x0 0x2000>;
  87. interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
  88. interrupt-controller;
  89. #interrupt-cells = <3>;
  90. };
  91. uart0: serial@e0120000 {
  92. compatible = "actions,s900-uart", "actions,owl-uart";
  93. reg = <0x0 0xe0120000 0x0 0x2000>;
  94. interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
  95. status = "disabled";
  96. };
  97. uart1: serial@e0122000 {
  98. compatible = "actions,s900-uart", "actions,owl-uart";
  99. reg = <0x0 0xe0122000 0x0 0x2000>;
  100. interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
  101. status = "disabled";
  102. };
  103. uart2: serial@e0124000 {
  104. compatible = "actions,s900-uart", "actions,owl-uart";
  105. reg = <0x0 0xe0124000 0x0 0x2000>;
  106. interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
  107. status = "disabled";
  108. };
  109. uart3: serial@e0126000 {
  110. compatible = "actions,s900-uart", "actions,owl-uart";
  111. reg = <0x0 0xe0126000 0x0 0x2000>;
  112. interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
  113. status = "disabled";
  114. };
  115. uart4: serial@e0128000 {
  116. compatible = "actions,s900-uart", "actions,owl-uart";
  117. reg = <0x0 0xe0128000 0x0 0x2000>;
  118. interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
  119. status = "disabled";
  120. };
  121. uart5: serial@e012a000 {
  122. compatible = "actions,s900-uart", "actions,owl-uart";
  123. reg = <0x0 0xe012a000 0x0 0x2000>;
  124. interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
  125. status = "disabled";
  126. };
  127. uart6: serial@e012c000 {
  128. compatible = "actions,s900-uart", "actions,owl-uart";
  129. reg = <0x0 0xe012c000 0x0 0x2000>;
  130. interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
  131. status = "disabled";
  132. };
  133. sps: power-controller@e01b0100 {
  134. compatible = "actions,s700-sps";
  135. reg = <0x0 0xe01b0100 0x0 0x100>;
  136. #power-domain-cells = <1>;
  137. };
  138. timer: timer@e024c000 {
  139. compatible = "actions,s700-timer";
  140. reg = <0x0 0xe024c000 0x0 0x4000>;
  141. interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
  142. interrupt-names = "timer1";
  143. };
  144. };
  145. };