orion5x.dtsi 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  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. aliases {
  14. gpio0 = &gpio0;
  15. };
  16. intc: interrupt-controller {
  17. compatible = "marvell,orion-intc";
  18. interrupt-controller;
  19. #interrupt-cells = <1>;
  20. reg = <0xf1020200 0x08>;
  21. };
  22. ocp@f1000000 {
  23. compatible = "simple-bus";
  24. ranges = <0x00000000 0xf1000000 0x4000000
  25. 0xf2200000 0xf2200000 0x0000800>;
  26. #address-cells = <1>;
  27. #size-cells = <1>;
  28. gpio0: gpio@10100 {
  29. compatible = "marvell,orion-gpio";
  30. #gpio-cells = <2>;
  31. gpio-controller;
  32. reg = <0x10100 0x40>;
  33. ngpios = <32>;
  34. interrupt-controller;
  35. #interrupt-cells = <2>;
  36. interrupts = <6>, <7>, <8>, <9>;
  37. };
  38. serial@12000 {
  39. compatible = "ns16550a";
  40. reg = <0x12000 0x100>;
  41. reg-shift = <2>;
  42. interrupts = <3>;
  43. /* set clock-frequency in board dts */
  44. status = "disabled";
  45. };
  46. serial@12100 {
  47. compatible = "ns16550a";
  48. reg = <0x12100 0x100>;
  49. reg-shift = <2>;
  50. interrupts = <4>;
  51. /* set clock-frequency in board dts */
  52. status = "disabled";
  53. };
  54. spi@10600 {
  55. compatible = "marvell,orion-spi";
  56. #address-cells = <1>;
  57. #size-cells = <0>;
  58. cell-index = <0>;
  59. reg = <0x10600 0x28>;
  60. status = "disabled";
  61. };
  62. wdt@20300 {
  63. compatible = "marvell,orion-wdt";
  64. reg = <0x20300 0x28>;
  65. status = "okay";
  66. };
  67. ehci@50000 {
  68. compatible = "marvell,orion-ehci";
  69. reg = <0x50000 0x1000>;
  70. interrupts = <17>;
  71. status = "disabled";
  72. };
  73. ehci@a0000 {
  74. compatible = "marvell,orion-ehci";
  75. reg = <0xa0000 0x1000>;
  76. interrupts = <12>;
  77. status = "disabled";
  78. };
  79. sata@80000 {
  80. compatible = "marvell,orion-sata";
  81. reg = <0x80000 0x5000>;
  82. interrupts = <29>;
  83. status = "disabled";
  84. };
  85. i2c@11000 {
  86. compatible = "marvell,mv64xxx-i2c";
  87. reg = <0x11000 0x20>;
  88. #address-cells = <1>;
  89. #size-cells = <0>;
  90. interrupts = <5>;
  91. clock-frequency = <100000>;
  92. status = "disabled";
  93. };
  94. xor@60900 {
  95. compatible = "marvell,orion-xor";
  96. reg = <0x60900 0x100
  97. 0x60b00 0x100>;
  98. status = "okay";
  99. xor00 {
  100. interrupts = <30>;
  101. dmacap,memcpy;
  102. dmacap,xor;
  103. };
  104. xor01 {
  105. interrupts = <31>;
  106. dmacap,memcpy;
  107. dmacap,xor;
  108. dmacap,memset;
  109. };
  110. };
  111. crypto@90000 {
  112. compatible = "marvell,orion-crypto";
  113. reg = <0x90000 0x10000>,
  114. <0xf2200000 0x800>;
  115. reg-names = "regs", "sram";
  116. interrupts = <28>;
  117. status = "okay";
  118. };
  119. mdio: mdio-bus@72004 {
  120. compatible = "marvell,orion-mdio";
  121. #address-cells = <1>;
  122. #size-cells = <0>;
  123. reg = <0x72004 0x84>;
  124. interrupts = <22>;
  125. status = "disabled";
  126. /* add phy nodes in board file */
  127. };
  128. eth: ethernet-controller@72000 {
  129. compatible = "marvell,orion-eth";
  130. #address-cells = <1>;
  131. #size-cells = <0>;
  132. reg = <0x72000 0x4000>;
  133. marvell,tx-checksum-limit = <1600>;
  134. status = "disabled";
  135. ethernet-port@0 {
  136. device_type = "network";
  137. compatible = "marvell,orion-eth-port";
  138. reg = <0>;
  139. /* overwrite MAC address in bootloader */
  140. local-mac-address = [00 00 00 00 00 00];
  141. /* set phy-handle property in board file */
  142. };
  143. };
  144. };
  145. };