mt6592.dtsi 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Copyright (c) 2014 MediaTek Inc.
  4. * Author: Howard Chen <[email protected]>
  5. *
  6. */
  7. #include <dt-bindings/interrupt-controller/irq.h>
  8. #include <dt-bindings/interrupt-controller/arm-gic.h>
  9. / {
  10. #address-cells = <1>;
  11. #size-cells = <1>;
  12. compatible = "mediatek,mt6592";
  13. interrupt-parent = <&sysirq>;
  14. cpus {
  15. #address-cells = <1>;
  16. #size-cells = <0>;
  17. cpu@0 {
  18. device_type = "cpu";
  19. compatible = "arm,cortex-a7";
  20. reg = <0x0>;
  21. };
  22. cpu@1 {
  23. device_type = "cpu";
  24. compatible = "arm,cortex-a7";
  25. reg = <0x1>;
  26. };
  27. cpu@2 {
  28. device_type = "cpu";
  29. compatible = "arm,cortex-a7";
  30. reg = <0x2>;
  31. };
  32. cpu@3 {
  33. device_type = "cpu";
  34. compatible = "arm,cortex-a7";
  35. reg = <0x3>;
  36. };
  37. cpu@4 {
  38. device_type = "cpu";
  39. compatible = "arm,cortex-a7";
  40. reg = <0x4>;
  41. };
  42. cpu@5 {
  43. device_type = "cpu";
  44. compatible = "arm,cortex-a7";
  45. reg = <0x5>;
  46. };
  47. cpu@6 {
  48. device_type = "cpu";
  49. compatible = "arm,cortex-a7";
  50. reg = <0x6>;
  51. };
  52. cpu@7 {
  53. device_type = "cpu";
  54. compatible = "arm,cortex-a7";
  55. reg = <0x7>;
  56. };
  57. };
  58. system_clk: dummy13m {
  59. compatible = "fixed-clock";
  60. clock-frequency = <13000000>;
  61. #clock-cells = <0>;
  62. };
  63. rtc_clk: dummy32k {
  64. compatible = "fixed-clock";
  65. clock-frequency = <32000>;
  66. #clock-cells = <0>;
  67. };
  68. uart_clk: dummy26m {
  69. compatible = "fixed-clock";
  70. clock-frequency = <26000000>;
  71. #clock-cells = <0>;
  72. };
  73. timer: timer@10008000 {
  74. compatible = "mediatek,mt6577-timer";
  75. reg = <0x10008000 0x80>;
  76. interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_LOW>;
  77. clocks = <&system_clk>, <&rtc_clk>;
  78. clock-names = "system-clk", "rtc-clk";
  79. };
  80. sysirq: interrupt-controller@10200220 {
  81. compatible = "mediatek,mt6592-sysirq", "mediatek,mt6577-sysirq";
  82. interrupt-controller;
  83. #interrupt-cells = <3>;
  84. interrupt-parent = <&gic>;
  85. reg = <0x10200220 0x1c>;
  86. };
  87. gic: interrupt-controller@10211000 {
  88. compatible = "arm,cortex-a7-gic";
  89. interrupt-controller;
  90. #interrupt-cells = <3>;
  91. interrupt-parent = <&gic>;
  92. reg = <0x10211000 0x1000>,
  93. <0x10212000 0x1000>;
  94. };
  95. uart0: serial@11002000 {
  96. compatible = "mediatek,mt6577-uart";
  97. reg = <0x11002000 0x400>;
  98. interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_LOW>;
  99. clocks = <&uart_clk>;
  100. status = "disabled";
  101. };
  102. uart1: serial@11003000 {
  103. compatible = "mediatek,mt6577-uart";
  104. reg = <0x11003000 0x400>;
  105. interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_LOW>;
  106. clocks = <&uart_clk>;
  107. status = "disabled";
  108. };
  109. uart2: serial@11004000 {
  110. compatible = "mediatek,mt6577-uart";
  111. reg = <0x11004000 0x400>;
  112. interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_LOW>;
  113. clocks = <&uart_clk>;
  114. status = "disabled";
  115. };
  116. uart3: serial@11005000 {
  117. compatible = "mediatek,mt6577-uart";
  118. reg = <0x11005000 0x400>;
  119. interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_LOW>;
  120. clocks = <&uart_clk>;
  121. status = "disabled";
  122. };
  123. };