orion5x.dtsi 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. /*
  2. * Copyright (C) 2012 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  3. *
  4. * This file is licensed under the terms of the GNU General Public
  5. * License version 2. This program is licensed "as is" without any
  6. * warranty of any kind, whether express or implied.
  7. */
  8. /include/ "skeleton.dtsi"
  9. / {
  10. model = "Marvell Orion5x SoC";
  11. compatible = "marvell,orion5x";
  12. interrupt-parent = <&intc>;
  13. intc: interrupt-controller {
  14. compatible = "marvell,orion-intc", "marvell,intc";
  15. interrupt-controller;
  16. #interrupt-cells = <1>;
  17. reg = <0xf1020204 0x04>;
  18. };
  19. ocp@f1000000 {
  20. compatible = "simple-bus";
  21. ranges = <0x00000000 0xf1000000 0x4000000
  22. 0xf2200000 0xf2200000 0x0000800>;
  23. #address-cells = <1>;
  24. #size-cells = <1>;
  25. gpio0: gpio@10100 {
  26. compatible = "marvell,orion-gpio";
  27. #gpio-cells = <2>;
  28. gpio-controller;
  29. reg = <0x10100 0x40>;
  30. ngpio = <32>;
  31. interrupts = <6>, <7>, <8>, <9>;
  32. };
  33. serial@12000 {
  34. compatible = "ns16550a";
  35. reg = <0x12000 0x100>;
  36. reg-shift = <2>;
  37. interrupts = <3>;
  38. /* set clock-frequency in board dts */
  39. status = "disabled";
  40. };
  41. serial@12100 {
  42. compatible = "ns16550a";
  43. reg = <0x12100 0x100>;
  44. reg-shift = <2>;
  45. interrupts = <4>;
  46. /* set clock-frequency in board dts */
  47. status = "disabled";
  48. };
  49. spi@10600 {
  50. compatible = "marvell,orion-spi";
  51. #address-cells = <1>;
  52. #size-cells = <0>;
  53. cell-index = <0>;
  54. reg = <0x10600 0x28>;
  55. status = "disabled";
  56. };
  57. wdt@20300 {
  58. compatible = "marvell,orion-wdt";
  59. reg = <0x20300 0x28>;
  60. status = "okay";
  61. };
  62. ehci@50000 {
  63. compatible = "marvell,orion-ehci";
  64. reg = <0x50000 0x1000>;
  65. interrupts = <17>;
  66. status = "disabled";
  67. };
  68. ehci@a0000 {
  69. compatible = "marvell,orion-ehci";
  70. reg = <0xa0000 0x1000>;
  71. interrupts = <12>;
  72. status = "disabled";
  73. };
  74. sata@80000 {
  75. compatible = "marvell,orion-sata";
  76. reg = <0x80000 0x5000>;
  77. interrupts = <29>;
  78. status = "disabled";
  79. };
  80. i2c@11000 {
  81. compatible = "marvell,mv64xxx-i2c";
  82. reg = <0x11000 0x20>;
  83. #address-cells = <1>;
  84. #size-cells = <0>;
  85. interrupts = <5>;
  86. clock-frequency = <100000>;
  87. status = "disabled";
  88. };
  89. xor@60900 {
  90. compatible = "marvell,orion-xor";
  91. reg = <0x60900 0x100
  92. 0x60b00 0x100>;
  93. status = "okay";
  94. xor00 {
  95. interrupts = <30>;
  96. dmacap,memcpy;
  97. dmacap,xor;
  98. };
  99. xor01 {
  100. interrupts = <31>;
  101. dmacap,memcpy;
  102. dmacap,xor;
  103. dmacap,memset;
  104. };
  105. };
  106. crypto@90000 {
  107. compatible = "marvell,orion-crypto";
  108. reg = <0x90000 0x10000>,
  109. <0xf2200000 0x800>;
  110. reg-names = "regs", "sram";
  111. interrupts = <22>;
  112. status = "okay";
  113. };
  114. };
  115. };