armada-380.dtsi 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. /*
  2. * Device Tree Include file for Marvell Armada 380 SoC.
  3. *
  4. * Copyright (C) 2014 Marvell
  5. *
  6. * Lior Amsalem <alior@marvell.com>
  7. * Gregory CLEMENT <gregory.clement@free-electrons.com>
  8. * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  9. *
  10. * This file is licensed under the terms of the GNU General Public
  11. * License version 2. This program is licensed "as is" without any
  12. * warranty of any kind, whether express or implied.
  13. */
  14. #include "armada-38x.dtsi"
  15. / {
  16. model = "Marvell Armada 380 family SoC";
  17. compatible = "marvell,armada380";
  18. cpus {
  19. #address-cells = <1>;
  20. #size-cells = <0>;
  21. enable-method = "marvell,armada-380-smp";
  22. cpu@0 {
  23. device_type = "cpu";
  24. compatible = "arm,cortex-a9";
  25. reg = <0>;
  26. };
  27. };
  28. soc {
  29. internal-regs {
  30. pinctrl {
  31. compatible = "marvell,mv88f6810-pinctrl";
  32. reg = <0x18000 0x20>;
  33. };
  34. };
  35. pcie-controller {
  36. compatible = "marvell,armada-370-pcie";
  37. status = "disabled";
  38. device_type = "pci";
  39. #address-cells = <3>;
  40. #size-cells = <2>;
  41. msi-parent = <&mpic>;
  42. bus-range = <0x00 0xff>;
  43. ranges =
  44. <0x82000000 0 0x80000 MBUS_ID(0xf0, 0x01) 0x80000 0 0x00002000
  45. 0x82000000 0 0x40000 MBUS_ID(0xf0, 0x01) 0x40000 0 0x00002000
  46. 0x82000000 0 0x44000 MBUS_ID(0xf0, 0x01) 0x44000 0 0x00002000
  47. 0x82000000 0 0x48000 MBUS_ID(0xf0, 0x01) 0x48000 0 0x00002000
  48. 0x82000000 0x1 0 MBUS_ID(0x08, 0xe8) 0 1 0 /* Port 0 MEM */
  49. 0x81000000 0x1 0 MBUS_ID(0x08, 0xe0) 0 1 0 /* Port 0 IO */
  50. 0x82000000 0x2 0 MBUS_ID(0x04, 0xe8) 0 1 0 /* Port 1 MEM */
  51. 0x81000000 0x2 0 MBUS_ID(0x04, 0xe0) 0 1 0 /* Port 1 IO */
  52. 0x82000000 0x3 0 MBUS_ID(0x04, 0xd8) 0 1 0 /* Port 2 MEM */
  53. 0x81000000 0x3 0 MBUS_ID(0x04, 0xd0) 0 1 0 /* Port 2 IO */>;
  54. /* x1 port */
  55. pcie@1,0 {
  56. device_type = "pci";
  57. assigned-addresses = <0x82000800 0 0x80000 0 0x2000>;
  58. reg = <0x0800 0 0 0 0>;
  59. #address-cells = <3>;
  60. #size-cells = <2>;
  61. #interrupt-cells = <1>;
  62. ranges = <0x82000000 0 0 0x82000000 0x1 0 1 0
  63. 0x81000000 0 0 0x81000000 0x1 0 1 0>;
  64. interrupt-map-mask = <0 0 0 0>;
  65. interrupt-map = <0 0 0 0 &gic GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
  66. marvell,pcie-port = <0>;
  67. marvell,pcie-lane = <0>;
  68. clocks = <&gateclk 8>;
  69. status = "disabled";
  70. };
  71. /* x1 port */
  72. pcie@2,0 {
  73. device_type = "pci";
  74. assigned-addresses = <0x82000800 0 0x40000 0 0x2000>;
  75. reg = <0x1000 0 0 0 0>;
  76. #address-cells = <3>;
  77. #size-cells = <2>;
  78. #interrupt-cells = <1>;
  79. ranges = <0x82000000 0 0 0x82000000 0x2 0 1 0
  80. 0x81000000 0 0 0x81000000 0x2 0 1 0>;
  81. interrupt-map-mask = <0 0 0 0>;
  82. interrupt-map = <0 0 0 0 &gic GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
  83. marvell,pcie-port = <1>;
  84. marvell,pcie-lane = <0>;
  85. clocks = <&gateclk 5>;
  86. status = "disabled";
  87. };
  88. /* x1 port */
  89. pcie@3,0 {
  90. device_type = "pci";
  91. assigned-addresses = <0x82000800 0 0x44000 0 0x2000>;
  92. reg = <0x1800 0 0 0 0>;
  93. #address-cells = <3>;
  94. #size-cells = <2>;
  95. #interrupt-cells = <1>;
  96. ranges = <0x82000000 0 0 0x82000000 0x3 0 1 0
  97. 0x81000000 0 0 0x81000000 0x3 0 1 0>;
  98. interrupt-map-mask = <0 0 0 0>;
  99. interrupt-map = <0 0 0 0 &gic GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
  100. marvell,pcie-port = <2>;
  101. marvell,pcie-lane = <0>;
  102. clocks = <&gateclk 6>;
  103. status = "disabled";
  104. };
  105. };
  106. };
  107. };