orion5x.dtsi 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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", "marvell,intc";
  18. interrupt-controller;
  19. #interrupt-cells = <1>;
  20. reg = <0xf1020204 0x04>;
  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. sata@80000 {
  68. compatible = "marvell,orion-sata";
  69. reg = <0x80000 0x5000>;
  70. interrupts = <29>;
  71. status = "disabled";
  72. };
  73. i2c@11000 {
  74. compatible = "marvell,mv64xxx-i2c";
  75. reg = <0x11000 0x20>;
  76. #address-cells = <1>;
  77. #size-cells = <0>;
  78. interrupts = <5>;
  79. clock-frequency = <100000>;
  80. status = "disabled";
  81. };
  82. crypto@90000 {
  83. compatible = "marvell,orion-crypto";
  84. reg = <0x90000 0x10000>,
  85. <0xf2200000 0x800>;
  86. reg-names = "regs", "sram";
  87. interrupts = <28>;
  88. status = "okay";
  89. };
  90. };
  91. };