mt6755.dtsi 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. * Copyright (c) 2016 MediaTek Inc.
  4. * Author: Mars.C <[email protected]>
  5. */
  6. #include <dt-bindings/interrupt-controller/irq.h>
  7. #include <dt-bindings/interrupt-controller/arm-gic.h>
  8. / {
  9. compatible = "mediatek,mt6755";
  10. interrupt-parent = <&sysirq>;
  11. #address-cells = <2>;
  12. #size-cells = <2>;
  13. psci {
  14. compatible = "arm,psci-0.2";
  15. method = "smc";
  16. };
  17. cpus {
  18. #address-cells = <1>;
  19. #size-cells = <0>;
  20. cpu0: cpu@0 {
  21. device_type = "cpu";
  22. compatible = "arm,cortex-a53";
  23. enable-method = "psci";
  24. reg = <0x000>;
  25. };
  26. cpu1: cpu@1 {
  27. device_type = "cpu";
  28. compatible = "arm,cortex-a53";
  29. enable-method = "psci";
  30. reg = <0x001>;
  31. };
  32. cpu2: cpu@2 {
  33. device_type = "cpu";
  34. compatible = "arm,cortex-a53";
  35. enable-method = "psci";
  36. reg = <0x002>;
  37. };
  38. cpu3: cpu@3 {
  39. device_type = "cpu";
  40. compatible = "arm,cortex-a53";
  41. enable-method = "psci";
  42. reg = <0x003>;
  43. };
  44. cpu4: cpu@100 {
  45. device_type = "cpu";
  46. compatible = "arm,cortex-a53";
  47. enable-method = "psci";
  48. reg = <0x100>;
  49. };
  50. cpu5: cpu@101 {
  51. device_type = "cpu";
  52. compatible = "arm,cortex-a53";
  53. enable-method = "psci";
  54. reg = <0x101>;
  55. };
  56. cpu6: cpu@102 {
  57. device_type = "cpu";
  58. compatible = "arm,cortex-a53";
  59. enable-method = "psci";
  60. reg = <0x102>;
  61. };
  62. cpu7: cpu@103 {
  63. device_type = "cpu";
  64. compatible = "arm,cortex-a53";
  65. enable-method = "psci";
  66. reg = <0x103>;
  67. };
  68. };
  69. uart_clk: dummy26m {
  70. compatible = "fixed-clock";
  71. clock-frequency = <26000000>;
  72. #clock-cells = <0>;
  73. };
  74. timer {
  75. compatible = "arm,armv8-timer";
  76. interrupt-parent = <&gic>;
  77. interrupts = <GIC_PPI 13
  78. (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
  79. <GIC_PPI 14
  80. (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
  81. <GIC_PPI 11
  82. (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
  83. <GIC_PPI 10
  84. (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>;
  85. };
  86. sysirq: intpol-controller@10200620 {
  87. compatible = "mediatek,mt6755-sysirq",
  88. "mediatek,mt6577-sysirq";
  89. interrupt-controller;
  90. #interrupt-cells = <3>;
  91. interrupt-parent = <&gic>;
  92. reg = <0 0x10200620 0 0x20>;
  93. };
  94. gic: interrupt-controller@10231000 {
  95. compatible = "arm,gic-400";
  96. #interrupt-cells = <3>;
  97. interrupt-parent = <&gic>;
  98. interrupt-controller;
  99. reg = <0 0x10231000 0 0x1000>,
  100. <0 0x10232000 0 0x2000>,
  101. <0 0x10234000 0 0x2000>,
  102. <0 0x10236000 0 0x2000>;
  103. };
  104. uart0: serial@11002000 {
  105. compatible = "mediatek,mt6755-uart",
  106. "mediatek,mt6577-uart";
  107. reg = <0 0x11002000 0 0x400>;
  108. interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_LOW>;
  109. clocks = <&uart_clk>;
  110. status = "disabled";
  111. };
  112. uart1: serial@11003000 {
  113. compatible = "mediatek,mt6755-uart",
  114. "mediatek,mt6577-uart";
  115. reg = <0 0x11003000 0 0x400>;
  116. interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_LOW>;
  117. clocks = <&uart_clk>;
  118. status = "disabled";
  119. };
  120. };