sharkl3.dtsi 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. * Unisoc Sharkl3 platform DTS file
  4. *
  5. * Copyright (C) 2019, Unisoc Inc.
  6. */
  7. / {
  8. interrupt-parent = <&gic>;
  9. #address-cells = <2>;
  10. #size-cells = <2>;
  11. soc: soc {
  12. compatible = "simple-bus";
  13. #address-cells = <2>;
  14. #size-cells = <2>;
  15. ranges;
  16. ap_ahb_regs: syscon@20e00000 {
  17. compatible = "sprd,sc9863a-glbregs", "syscon",
  18. "simple-mfd";
  19. reg = <0 0x20e00000 0 0x4000>;
  20. #address-cells = <1>;
  21. #size-cells = <1>;
  22. ranges = <0 0 0x20e00000 0x4000>;
  23. apahb_gate: apahb-gate {
  24. compatible = "sprd,sc9863a-apahb-gate";
  25. reg = <0x0 0x1020>;
  26. #clock-cells = <1>;
  27. };
  28. };
  29. pmu_regs: syscon@402b0000 {
  30. compatible = "sprd,sc9863a-glbregs", "syscon",
  31. "simple-mfd";
  32. reg = <0 0x402b0000 0 0x4000>;
  33. #address-cells = <1>;
  34. #size-cells = <1>;
  35. ranges = <0 0 0x402b0000 0x4000>;
  36. pmu_gate: pmu-gate {
  37. compatible = "sprd,sc9863a-pmu-gate";
  38. reg = <0 0x1200>;
  39. clocks = <&ext_26m>;
  40. clock-names = "ext-26m";
  41. #clock-cells = <1>;
  42. };
  43. };
  44. aon_apb_regs: syscon@402e0000 {
  45. compatible = "sprd,sc9863a-glbregs", "syscon",
  46. "simple-mfd";
  47. reg = <0 0x402e0000 0 0x4000>;
  48. #address-cells = <1>;
  49. #size-cells = <1>;
  50. ranges = <0 0 0x402e0000 0x4000>;
  51. aonapb_gate: aonapb-gate {
  52. compatible = "sprd,sc9863a-aonapb-gate";
  53. reg = <0 0x1100>;
  54. #clock-cells = <1>;
  55. };
  56. };
  57. anlg_phy_g2_regs: syscon@40353000 {
  58. compatible = "sprd,sc9863a-glbregs", "syscon",
  59. "simple-mfd";
  60. reg = <0 0x40353000 0 0x3000>;
  61. #address-cells = <1>;
  62. #size-cells = <1>;
  63. ranges = <0 0 0x40353000 0x3000>;
  64. pll: pll {
  65. compatible = "sprd,sc9863a-pll";
  66. reg = <0 0x100>;
  67. clocks = <&ext_26m>;
  68. clock-names = "ext-26m";
  69. #clock-cells = <1>;
  70. };
  71. };
  72. anlg_phy_g4_regs: syscon@40359000 {
  73. compatible = "sprd,sc9863a-glbregs", "syscon",
  74. "simple-mfd";
  75. reg = <0 0x40359000 0 0x3000>;
  76. #address-cells = <1>;
  77. #size-cells = <1>;
  78. ranges = <0 0 0x40359000 0x3000>;
  79. mpll: mpll {
  80. compatible = "sprd,sc9863a-mpll";
  81. reg = <0 0x100>;
  82. #clock-cells = <1>;
  83. };
  84. };
  85. anlg_phy_g5_regs: syscon@4035c000 {
  86. compatible = "sprd,sc9863a-glbregs", "syscon",
  87. "simple-mfd";
  88. reg = <0 0x4035c000 0 0x3000>;
  89. #address-cells = <1>;
  90. #size-cells = <1>;
  91. ranges = <0 0 0x4035c000 0x3000>;
  92. rpll: rpll {
  93. compatible = "sprd,sc9863a-rpll";
  94. reg = <0 0x100>;
  95. clocks = <&ext_26m>;
  96. clock-names = "ext-26m";
  97. #clock-cells = <1>;
  98. };
  99. };
  100. anlg_phy_g7_regs: syscon@40363000 {
  101. compatible = "sprd,sc9863a-glbregs", "syscon",
  102. "simple-mfd";
  103. reg = <0 0x40363000 0 0x3000>;
  104. #address-cells = <1>;
  105. #size-cells = <1>;
  106. ranges = <0 0 0x40363000 0x3000>;
  107. dpll: dpll {
  108. compatible = "sprd,sc9863a-dpll";
  109. reg = <0 0x100>;
  110. #clock-cells = <1>;
  111. };
  112. };
  113. mm_ahb_regs: syscon@60800000 {
  114. compatible = "sprd,sc9863a-glbregs", "syscon",
  115. "simple-mfd";
  116. reg = <0 0x60800000 0 0x1000>;
  117. #address-cells = <1>;
  118. #size-cells = <1>;
  119. ranges = <0 0 0x60800000 0x3000>;
  120. mm_gate: mm-gate {
  121. compatible = "sprd,sc9863a-mm-gate";
  122. reg = <0 0x1100>;
  123. #clock-cells = <1>;
  124. };
  125. };
  126. ap_apb_regs: syscon@71300000 {
  127. compatible = "sprd,sc9863a-glbregs", "syscon",
  128. "simple-mfd";
  129. reg = <0 0x71300000 0 0x4000>;
  130. #address-cells = <1>;
  131. #size-cells = <1>;
  132. ranges = <0 0 0x71300000 0x4000>;
  133. apapb_gate: apapb-gate {
  134. compatible = "sprd,sc9863a-apapb-gate";
  135. reg = <0 0x1000>;
  136. clocks = <&ext_26m>;
  137. clock-names = "ext-26m";
  138. #clock-cells = <1>;
  139. };
  140. };
  141. apb@70000000 {
  142. compatible = "simple-bus";
  143. #address-cells = <1>;
  144. #size-cells = <1>;
  145. ranges = <0 0x0 0x70000000 0x10000000>;
  146. uart0: serial@0 {
  147. compatible = "sprd,sc9863a-uart",
  148. "sprd,sc9836-uart";
  149. reg = <0x0 0x100>;
  150. interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
  151. clocks = <&ext_26m>;
  152. status = "disabled";
  153. };
  154. uart1: serial@100000 {
  155. compatible = "sprd,sc9863a-uart",
  156. "sprd,sc9836-uart";
  157. reg = <0x100000 0x100>;
  158. interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
  159. clocks = <&ext_26m>;
  160. status = "disabled";
  161. };
  162. uart2: serial@200000 {
  163. compatible = "sprd,sc9863a-uart",
  164. "sprd,sc9836-uart";
  165. reg = <0x200000 0x100>;
  166. interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
  167. clocks = <&ext_26m>;
  168. status = "disabled";
  169. };
  170. uart3: serial@300000 {
  171. compatible = "sprd,sc9863a-uart",
  172. "sprd,sc9836-uart";
  173. reg = <0x300000 0x100>;
  174. interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
  175. clocks = <&ext_26m>;
  176. status = "disabled";
  177. };
  178. uart4: serial@400000 {
  179. compatible = "sprd,sc9863a-uart",
  180. "sprd,sc9836-uart";
  181. reg = <0x400000 0x100>;
  182. interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
  183. clocks = <&ext_26m>;
  184. status = "disabled";
  185. };
  186. };
  187. };
  188. ext_26m: ext-26m {
  189. compatible = "fixed-clock";
  190. #clock-cells = <0>;
  191. clock-frequency = <26000000>;
  192. clock-output-names = "ext-26m";
  193. };
  194. ext_32k: ext-32k {
  195. compatible = "fixed-clock";
  196. #clock-cells = <0>;
  197. clock-frequency = <32768>;
  198. clock-output-names = "ext-32k";
  199. };
  200. ext_4m: ext-4m {
  201. compatible = "fixed-clock";
  202. #clock-cells = <0>;
  203. clock-frequency = <4000000>;
  204. clock-output-names = "ext-4m";
  205. };
  206. rco_100m: rco-100m {
  207. compatible = "fixed-clock";
  208. #clock-cells = <0>;
  209. clock-frequency = <100000000>;
  210. clock-output-names = "rco-100m";
  211. };
  212. };