mt6589.dtsi 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * Copyright (c) 2014 MundoReader S.L.
  4. * Author: Matthias Brugger <[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,mt6589";
  13. interrupt-parent = <&sysirq>;
  14. cpus: cpus {
  15. #address-cells = <1>;
  16. #size-cells = <0>;
  17. enable-method = "mediatek,mt6589-smp";
  18. cpu@0 {
  19. device_type = "cpu";
  20. compatible = "arm,cortex-a7";
  21. reg = <0x0>;
  22. };
  23. cpu@1 {
  24. device_type = "cpu";
  25. compatible = "arm,cortex-a7";
  26. reg = <0x1>;
  27. };
  28. cpu@2 {
  29. device_type = "cpu";
  30. compatible = "arm,cortex-a7";
  31. reg = <0x2>;
  32. };
  33. cpu@3 {
  34. device_type = "cpu";
  35. compatible = "arm,cortex-a7";
  36. reg = <0x3>;
  37. };
  38. };
  39. clocks {
  40. #address-cells = <1>;
  41. #size-cells = <1>;
  42. compatible = "simple-bus";
  43. ranges;
  44. system_clk: dummy13m {
  45. compatible = "fixed-clock";
  46. clock-frequency = <13000000>;
  47. #clock-cells = <0>;
  48. };
  49. rtc_clk: dummy32k {
  50. compatible = "fixed-clock";
  51. clock-frequency = <32000>;
  52. #clock-cells = <0>;
  53. };
  54. uart_clk: dummy26m {
  55. compatible = "fixed-clock";
  56. clock-frequency = <26000000>;
  57. #clock-cells = <0>;
  58. };
  59. };
  60. soc {
  61. #address-cells = <1>;
  62. #size-cells = <1>;
  63. compatible = "simple-bus";
  64. ranges;
  65. timer: timer@10008000 {
  66. compatible = "mediatek,mt6577-timer";
  67. reg = <0x10008000 0x80>;
  68. interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_LOW>;
  69. clocks = <&system_clk>, <&rtc_clk>;
  70. clock-names = "system-clk", "rtc-clk";
  71. };
  72. sysirq: interrupt-controller@10200100 {
  73. compatible = "mediatek,mt6589-sysirq",
  74. "mediatek,mt6577-sysirq";
  75. interrupt-controller;
  76. #interrupt-cells = <3>;
  77. interrupt-parent = <&gic>;
  78. reg = <0x10200100 0x1c>;
  79. };
  80. gic: interrupt-controller@10211000 {
  81. compatible = "arm,cortex-a7-gic";
  82. interrupt-controller;
  83. #interrupt-cells = <3>;
  84. interrupt-parent = <&gic>;
  85. reg = <0x10211000 0x1000>,
  86. <0x10212000 0x2000>,
  87. <0x10214000 0x2000>,
  88. <0x10216000 0x2000>;
  89. };
  90. uart0: serial@11006000 {
  91. compatible = "mediatek,mt6577-uart";
  92. reg = <0x11006000 0x400>;
  93. interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_LOW>;
  94. clocks = <&uart_clk>;
  95. status = "disabled";
  96. };
  97. uart1: serial@11007000 {
  98. compatible = "mediatek,mt6577-uart";
  99. reg = <0x11007000 0x400>;
  100. interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_LOW>;
  101. clocks = <&uart_clk>;
  102. status = "disabled";
  103. };
  104. uart2: serial@11008000 {
  105. compatible = "mediatek,mt6577-uart";
  106. reg = <0x11008000 0x400>;
  107. interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_LOW>;
  108. clocks = <&uart_clk>;
  109. status = "disabled";
  110. };
  111. uart3: serial@11009000 {
  112. compatible = "mediatek,mt6577-uart";
  113. reg = <0x11009000 0x400>;
  114. interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_LOW>;
  115. clocks = <&uart_clk>;
  116. status = "disabled";
  117. };
  118. wdt: watchdog@10000000 {
  119. compatible = "mediatek,mt6589-wdt";
  120. reg = <0x10000000 0x44>;
  121. };
  122. };
  123. };