zx296702.dtsi 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. // SPDX-License-Identifier: GPL-2.0
  2. #include "skeleton.dtsi"
  3. #include <dt-bindings/clock/zx296702-clock.h>
  4. #include <dt-bindings/interrupt-controller/arm-gic.h>
  5. / {
  6. cpus {
  7. #address-cells = <1>;
  8. #size-cells = <0>;
  9. enable-method = "zte,zx296702-smp";
  10. cpu@0 {
  11. compatible = "arm,cortex-a9";
  12. device_type = "cpu";
  13. next-level-cache = <&l2cc>;
  14. reg = <0>;
  15. };
  16. cpu@1 {
  17. compatible = "arm,cortex-a9";
  18. device_type = "cpu";
  19. next-level-cache = <&l2cc>;
  20. reg = <1>;
  21. };
  22. };
  23. soc {
  24. #address-cells = <1>;
  25. #size-cells = <1>;
  26. compatible = "simple-bus";
  27. interrupt-parent = <&intc>;
  28. ranges;
  29. matrix: bus-matrix@400000 {
  30. compatible = "zte,zx-bus-matrix";
  31. reg = <0x00400000 0x1000>;
  32. };
  33. intc: interrupt-controller@801000 {
  34. compatible = "arm,cortex-a9-gic";
  35. #interrupt-cells = <3>;
  36. #address-cells = <1>;
  37. #size-cells = <1>;
  38. interrupt-controller;
  39. reg = <0x00801000 0x1000>,
  40. <0x00800100 0x100>;
  41. };
  42. global_timer: timer@8000200 {
  43. compatible = "arm,cortex-a9-global-timer";
  44. reg = <0x00800200 0x20>;
  45. interrupts = <GIC_PPI 11 IRQ_TYPE_LEVEL_HIGH>;
  46. interrupt-parent = <&intc>;
  47. clocks = <&topclk ZX296702_A9_PERIPHCLK>;
  48. };
  49. l2cc: l2-cache-controller@c00000 {
  50. compatible = "arm,pl310-cache";
  51. reg = <0x00c00000 0x1000>;
  52. cache-unified;
  53. cache-level = <2>;
  54. arm,data-latency = <1 1 1>;
  55. arm,tag-latency = <1 1 1>;
  56. arm,double-linefill = <1>;
  57. arm,double-linefill-incr = <0>;
  58. };
  59. pcu: pcu@a0008000 {
  60. compatible = "zte,zx296702-pcu";
  61. reg = <0xa0008000 0x1000>;
  62. };
  63. topclk: topclk@9800000 {
  64. compatible = "zte,zx296702-topcrm-clk";
  65. reg = <0x09800000 0x1000>;
  66. #clock-cells = <1>;
  67. };
  68. lsp1clk: lsp1clk@9400000 {
  69. compatible = "zte,zx296702-lsp1crpm-clk";
  70. reg = <0x09400000 0x1000>;
  71. #clock-cells = <1>;
  72. };
  73. lsp0clk: lsp0clk@b000000 {
  74. compatible = "zte,zx296702-lsp0crpm-clk";
  75. reg = <0x0b000000 0x1000>;
  76. #clock-cells = <1>;
  77. };
  78. uart0: serial@9405000 {
  79. compatible = "zte,zx296702-uart";
  80. reg = <0x09405000 0x1000>;
  81. interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
  82. clocks = <&lsp1clk ZX296702_UART0_WCLK>;
  83. status = "disabled";
  84. };
  85. uart1: serial@9406000 {
  86. compatible = "zte,zx296702-uart";
  87. reg = <0x09406000 0x1000>;
  88. interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
  89. clocks = <&lsp1clk ZX296702_UART1_WCLK>;
  90. status = "disabled";
  91. };
  92. mmc0: mmc@9408000 {
  93. compatible = "snps,dw-mshc";
  94. #address-cells = <1>;
  95. #size-cells = <0>;
  96. reg = <0x09408000 0x1000>;
  97. interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
  98. fifo-depth = <32>;
  99. clocks = <&lsp1clk ZX296702_SDMMC0_PCLK>,
  100. <&lsp1clk ZX296702_SDMMC0_WCLK>;
  101. clock-names = "biu", "ciu";
  102. status = "disabled";
  103. };
  104. mmc1: mmc@b003000 {
  105. compatible = "snps,dw-mshc";
  106. #address-cells = <1>;
  107. #size-cells = <0>;
  108. reg = <0x0b003000 0x1000>;
  109. interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
  110. fifo-depth = <32>;
  111. clocks = <&lsp0clk ZX296702_SDMMC1_PCLK>,
  112. <&lsp0clk ZX296702_SDMMC1_WCLK>;
  113. clock-names = "biu", "ciu";
  114. status = "disabled";
  115. };
  116. sysctrl: sysctrl@a0007000 {
  117. compatible = "zte,sysctrl", "syscon";
  118. reg = <0xa0007000 0x1000>;
  119. };
  120. };
  121. };