rk3xxx.dtsi 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. /*
  2. * Copyright (c) 2013 MundoReader S.L.
  3. * Author: Heiko Stuebner <heiko@sntech.de>
  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. interrupt-parent = <&gic>;
  20. soc {
  21. #address-cells = <1>;
  22. #size-cells = <1>;
  23. compatible = "simple-bus";
  24. ranges;
  25. gic: interrupt-controller@1013d000 {
  26. compatible = "arm,cortex-a9-gic";
  27. interrupt-controller;
  28. #interrupt-cells = <3>;
  29. reg = <0x1013d000 0x1000>,
  30. <0x1013c100 0x0100>;
  31. };
  32. L2: l2-cache-controller@10138000 {
  33. compatible = "arm,pl310-cache";
  34. reg = <0x10138000 0x1000>;
  35. cache-unified;
  36. cache-level = <2>;
  37. };
  38. global-timer@1013c200 {
  39. compatible = "arm,cortex-a9-global-timer";
  40. reg = <0x1013c200 0x20>;
  41. interrupts = <GIC_PPI 11 0x304>;
  42. clocks = <&dummy150m>;
  43. };
  44. local-timer@1013c600 {
  45. compatible = "arm,cortex-a9-twd-timer";
  46. reg = <0x1013c600 0x20>;
  47. interrupts = <GIC_PPI 13 0x304>;
  48. clocks = <&dummy150m>;
  49. };
  50. uart0: serial@10124000 {
  51. compatible = "snps,dw-apb-uart";
  52. reg = <0x10124000 0x400>;
  53. interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
  54. reg-shift = <2>;
  55. reg-io-width = <1>;
  56. clocks = <&clk_gates1 8>;
  57. status = "disabled";
  58. };
  59. uart1: serial@10126000 {
  60. compatible = "snps,dw-apb-uart";
  61. reg = <0x10126000 0x400>;
  62. interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
  63. reg-shift = <2>;
  64. reg-io-width = <1>;
  65. clocks = <&clk_gates1 10>;
  66. status = "disabled";
  67. };
  68. uart2: serial@20064000 {
  69. compatible = "snps,dw-apb-uart";
  70. reg = <0x20064000 0x400>;
  71. interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
  72. reg-shift = <2>;
  73. reg-io-width = <1>;
  74. clocks = <&clk_gates1 12>;
  75. status = "disabled";
  76. };
  77. uart3: serial@20068000 {
  78. compatible = "snps,dw-apb-uart";
  79. reg = <0x20068000 0x400>;
  80. interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
  81. reg-shift = <2>;
  82. reg-io-width = <1>;
  83. clocks = <&clk_gates1 14>;
  84. status = "disabled";
  85. };
  86. dwmmc@10214000 {
  87. compatible = "rockchip,rk2928-dw-mshc";
  88. reg = <0x10214000 0x1000>;
  89. interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
  90. #address-cells = <1>;
  91. #size-cells = <0>;
  92. clocks = <&clk_gates5 10>, <&clk_gates2 11>;
  93. clock-names = "biu", "ciu";
  94. status = "disabled";
  95. };
  96. dwmmc@10218000 {
  97. compatible = "rockchip,rk2928-dw-mshc";
  98. reg = <0x10218000 0x1000>;
  99. interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
  100. #address-cells = <1>;
  101. #size-cells = <0>;
  102. clocks = <&clk_gates5 11>, <&clk_gates2 13>;
  103. clock-names = "biu", "ciu";
  104. status = "disabled";
  105. };
  106. };
  107. };