mt6755.dtsi 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. /*
  2. * Copyright (c) 2016 MediaTek Inc.
  3. * Author: Mars.C <mars.cheng@mediatek.com>
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License version 2 as
  7. * published by the Free Software Foundation.
  8. *
  9. * This program is distributed in the hope that it will be useful,
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU General Public License for more details.
  12. */
  13. #include <dt-bindings/interrupt-controller/irq.h>
  14. #include <dt-bindings/interrupt-controller/arm-gic.h>
  15. / {
  16. compatible = "mediatek,mt6755";
  17. interrupt-parent = <&sysirq>;
  18. #address-cells = <2>;
  19. #size-cells = <2>;
  20. psci {
  21. compatible = "arm,psci-0.2";
  22. method = "smc";
  23. };
  24. cpus {
  25. #address-cells = <1>;
  26. #size-cells = <0>;
  27. cpu0: cpu@0 {
  28. device_type = "cpu";
  29. compatible = "arm,cortex-a53";
  30. enable-method = "psci";
  31. reg = <0x000>;
  32. };
  33. cpu1: cpu@1 {
  34. device_type = "cpu";
  35. compatible = "arm,cortex-a53";
  36. enable-method = "psci";
  37. reg = <0x001>;
  38. };
  39. cpu2: cpu@2 {
  40. device_type = "cpu";
  41. compatible = "arm,cortex-a53";
  42. enable-method = "psci";
  43. reg = <0x002>;
  44. };
  45. cpu3: cpu@3 {
  46. device_type = "cpu";
  47. compatible = "arm,cortex-a53";
  48. enable-method = "psci";
  49. reg = <0x003>;
  50. };
  51. cpu4: cpu@100 {
  52. device_type = "cpu";
  53. compatible = "arm,cortex-a53";
  54. enable-method = "psci";
  55. reg = <0x100>;
  56. };
  57. cpu5: cpu@101 {
  58. device_type = "cpu";
  59. compatible = "arm,cortex-a53";
  60. enable-method = "psci";
  61. reg = <0x101>;
  62. };
  63. cpu6: cpu@102 {
  64. device_type = "cpu";
  65. compatible = "arm,cortex-a53";
  66. enable-method = "psci";
  67. reg = <0x102>;
  68. };
  69. cpu7: cpu@103 {
  70. device_type = "cpu";
  71. compatible = "arm,cortex-a53";
  72. enable-method = "psci";
  73. reg = <0x103>;
  74. };
  75. };
  76. uart_clk: dummy26m {
  77. compatible = "fixed-clock";
  78. clock-frequency = <26000000>;
  79. #clock-cells = <0>;
  80. };
  81. timer {
  82. compatible = "arm,armv8-timer";
  83. interrupt-parent = <&gic>;
  84. interrupts = <GIC_PPI 13
  85. (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
  86. <GIC_PPI 14
  87. (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
  88. <GIC_PPI 11
  89. (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
  90. <GIC_PPI 10
  91. (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>;
  92. };
  93. sysirq: intpol-controller@10200620 {
  94. compatible = "mediatek,mt6755-sysirq",
  95. "mediatek,mt6577-sysirq";
  96. interrupt-controller;
  97. #interrupt-cells = <3>;
  98. interrupt-parent = <&gic>;
  99. reg = <0 0x10200620 0 0x20>;
  100. };
  101. gic: interrupt-controller@10231000 {
  102. compatible = "arm,gic-400";
  103. #interrupt-cells = <3>;
  104. interrupt-parent = <&gic>;
  105. interrupt-controller;
  106. reg = <0 0x10231000 0 0x1000>,
  107. <0 0x10232000 0 0x2000>,
  108. <0 0x10234000 0 0x2000>,
  109. <0 0x10236000 0 0x2000>;
  110. };
  111. uart0: serial@11002000 {
  112. compatible = "mediatek,mt6755-uart",
  113. "mediatek,mt6577-uart";
  114. reg = <0 0x11002000 0 0x400>;
  115. interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_LOW>;
  116. clocks = <&uart_clk>;
  117. status = "disabled";
  118. };
  119. uart1: serial@11003000 {
  120. compatible = "mediatek,mt6755-uart",
  121. "mediatek,mt6577-uart";
  122. reg = <0 0x11003000 0 0x400>;
  123. interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_LOW>;
  124. clocks = <&uart_clk>;
  125. status = "disabled";
  126. };
  127. };