kirkwood.dtsi 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. /include/ "skeleton.dtsi"
  2. / {
  3. compatible = "marvell,kirkwood";
  4. interrupt-parent = <&intc>;
  5. aliases {
  6. gpio0 = &gpio0;
  7. gpio1 = &gpio1;
  8. };
  9. intc: interrupt-controller {
  10. compatible = "marvell,orion-intc", "marvell,intc";
  11. interrupt-controller;
  12. #interrupt-cells = <1>;
  13. reg = <0xf1020204 0x04>,
  14. <0xf1020214 0x04>;
  15. };
  16. ocp@f1000000 {
  17. compatible = "simple-bus";
  18. ranges = <0x00000000 0xf1000000 0x4000000
  19. 0xf5000000 0xf5000000 0x0000400>;
  20. #address-cells = <1>;
  21. #size-cells = <1>;
  22. gpio0: gpio@10100 {
  23. compatible = "marvell,orion-gpio";
  24. #gpio-cells = <2>;
  25. gpio-controller;
  26. reg = <0x10100 0x40>;
  27. ngpios = <32>;
  28. interrupt-controller;
  29. interrupts = <35>, <36>, <37>, <38>;
  30. };
  31. gpio1: gpio@10140 {
  32. compatible = "marvell,orion-gpio";
  33. #gpio-cells = <2>;
  34. gpio-controller;
  35. reg = <0x10140 0x40>;
  36. ngpios = <18>;
  37. interrupt-controller;
  38. interrupts = <39>, <40>, <41>;
  39. };
  40. serial@12000 {
  41. compatible = "ns16550a";
  42. reg = <0x12000 0x100>;
  43. reg-shift = <2>;
  44. interrupts = <33>;
  45. /* set clock-frequency in board dts */
  46. status = "disabled";
  47. };
  48. serial@12100 {
  49. compatible = "ns16550a";
  50. reg = <0x12100 0x100>;
  51. reg-shift = <2>;
  52. interrupts = <34>;
  53. /* set clock-frequency in board dts */
  54. status = "disabled";
  55. };
  56. rtc@10300 {
  57. compatible = "marvell,kirkwood-rtc", "marvell,orion-rtc";
  58. reg = <0x10300 0x20>;
  59. interrupts = <53>;
  60. };
  61. spi@10600 {
  62. compatible = "marvell,orion-spi";
  63. #address-cells = <1>;
  64. #size-cells = <0>;
  65. cell-index = <0>;
  66. interrupts = <23>;
  67. reg = <0x10600 0x28>;
  68. status = "disabled";
  69. };
  70. wdt@20300 {
  71. compatible = "marvell,orion-wdt";
  72. reg = <0x20300 0x28>;
  73. status = "okay";
  74. };
  75. ehci@50000 {
  76. compatible = "marvell,orion-ehci";
  77. reg = <0x50000 0x1000>;
  78. interrupts = <19>;
  79. status = "okay";
  80. };
  81. sata@80000 {
  82. compatible = "marvell,orion-sata";
  83. reg = <0x80000 0x5000>;
  84. interrupts = <21>;
  85. status = "disabled";
  86. };
  87. nand@3000000 {
  88. #address-cells = <1>;
  89. #size-cells = <1>;
  90. cle = <0>;
  91. ale = <1>;
  92. bank-width = <1>;
  93. compatible = "marvell,orion-nand";
  94. reg = <0x3000000 0x400>;
  95. chip-delay = <25>;
  96. /* set partition map and/or chip-delay in board dts */
  97. status = "disabled";
  98. };
  99. i2c@11000 {
  100. compatible = "marvell,mv64xxx-i2c";
  101. reg = <0x11000 0x20>;
  102. #address-cells = <1>;
  103. #size-cells = <0>;
  104. interrupts = <29>;
  105. clock-frequency = <100000>;
  106. status = "disabled";
  107. };
  108. crypto@30000 {
  109. compatible = "marvell,orion-crypto";
  110. reg = <0x30000 0x10000>,
  111. <0xf5000000 0x800>;
  112. reg-names = "regs", "sram";
  113. interrupts = <22>;
  114. status = "okay";
  115. };
  116. };
  117. };