mt6589.dtsi 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. /*
  2. * Copyright (c) 2014 MundoReader S.L.
  3. * Author: Matthias Brugger <matthias.bgg@gmail.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 as published by
  7. * the Free Software Foundation; either version 2 of the License, or
  8. * (at your option) any later version.
  9. *
  10. * This program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. */
  15. #include <dt-bindings/interrupt-controller/irq.h>
  16. #include <dt-bindings/interrupt-controller/arm-gic.h>
  17. #include "skeleton.dtsi"
  18. / {
  19. compatible = "mediatek,mt6589";
  20. interrupt-parent = <&gic>;
  21. cpus {
  22. #address-cells = <1>;
  23. #size-cells = <0>;
  24. cpu@0 {
  25. device_type = "cpu";
  26. compatible = "arm,cortex-a7";
  27. reg = <0x0>;
  28. };
  29. cpu@1 {
  30. device_type = "cpu";
  31. compatible = "arm,cortex-a7";
  32. reg = <0x1>;
  33. };
  34. cpu@2 {
  35. device_type = "cpu";
  36. compatible = "arm,cortex-a7";
  37. reg = <0x2>;
  38. };
  39. cpu@3 {
  40. device_type = "cpu";
  41. compatible = "arm,cortex-a7";
  42. reg = <0x3>;
  43. };
  44. };
  45. clocks {
  46. #address-cells = <1>;
  47. #size-cells = <1>;
  48. compatible = "simple-bus";
  49. ranges;
  50. system_clk: dummy13m {
  51. compatible = "fixed-clock";
  52. clock-frequency = <13000000>;
  53. #clock-cells = <0>;
  54. };
  55. rtc_clk: dummy32k {
  56. compatible = "fixed-clock";
  57. clock-frequency = <32000>;
  58. #clock-cells = <0>;
  59. };
  60. };
  61. soc {
  62. #address-cells = <1>;
  63. #size-cells = <1>;
  64. compatible = "simple-bus";
  65. ranges;
  66. timer: timer@10008000 {
  67. compatible = "mediatek,mt6577-timer";
  68. reg = <0x10008000 0x80>;
  69. interrupts = <GIC_SPI 113 IRQ_TYPE_EDGE_RISING>;
  70. clocks = <&system_clk>, <&rtc_clk>;
  71. clock-names = "system-clk", "rtc-clk";
  72. };
  73. gic: interrupt-controller@10211000 {
  74. compatible = "arm,cortex-a7-gic";
  75. interrupt-controller;
  76. #interrupt-cells = <3>;
  77. reg = <0x10211000 0x1000>,
  78. <0x10212000 0x1000>,
  79. <0x10214000 0x2000>,
  80. <0x10216000 0x2000>;
  81. };
  82. };
  83. };