armada-80x0.dtsi 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2. /*
  3. * Copyright (C) 2017 Marvell Technology Group Ltd.
  4. *
  5. * Device Tree file for the Armada 80x0 SoC family
  6. */
  7. / {
  8. aliases {
  9. gpio1 = &cp1_gpio1;
  10. gpio2 = &cp0_gpio2;
  11. spi1 = &cp0_spi0;
  12. spi2 = &cp0_spi1;
  13. spi3 = &cp1_spi0;
  14. spi4 = &cp1_spi1;
  15. };
  16. };
  17. /*
  18. * Instantiate the master CP110
  19. */
  20. #define CP110_NAME cp0
  21. #define CP110_BASE f2000000
  22. #define CP110_PCIE_IO_BASE 0xf9000000
  23. #define CP110_PCIE_MEM_BASE 0xf6000000
  24. #define CP110_PCIE0_BASE f2600000
  25. #define CP110_PCIE1_BASE f2620000
  26. #define CP110_PCIE2_BASE f2640000
  27. #include "armada-cp110.dtsi"
  28. #undef CP110_NAME
  29. #undef CP110_BASE
  30. #undef CP110_PCIE_IO_BASE
  31. #undef CP110_PCIE_MEM_BASE
  32. #undef CP110_PCIE0_BASE
  33. #undef CP110_PCIE1_BASE
  34. #undef CP110_PCIE2_BASE
  35. /*
  36. * Instantiate the slave CP110
  37. */
  38. #define CP110_NAME cp1
  39. #define CP110_BASE f4000000
  40. #define CP110_PCIE_IO_BASE 0xfd000000
  41. #define CP110_PCIE_MEM_BASE 0xfa000000
  42. #define CP110_PCIE0_BASE f4600000
  43. #define CP110_PCIE1_BASE f4620000
  44. #define CP110_PCIE2_BASE f4640000
  45. #include "armada-cp110.dtsi"
  46. #undef CP110_NAME
  47. #undef CP110_BASE
  48. #undef CP110_PCIE_IO_BASE
  49. #undef CP110_PCIE_MEM_BASE
  50. #undef CP110_PCIE0_BASE
  51. #undef CP110_PCIE1_BASE
  52. #undef CP110_PCIE2_BASE
  53. /* The 80x0 has two CP blocks, but uses only one block from each. */
  54. &cp1_gpio1 {
  55. status = "okay";
  56. };
  57. &cp0_gpio2 {
  58. status = "okay";
  59. };
  60. &cp0_syscon0 {
  61. cp0_pinctrl: pinctrl {
  62. compatible = "marvell,armada-8k-cpm-pinctrl";
  63. };
  64. };
  65. &cp1_syscon0 {
  66. cp1_pinctrl: pinctrl {
  67. compatible = "marvell,armada-8k-cps-pinctrl";
  68. nand_pins: nand-pins {
  69. marvell,pins =
  70. "mpp0", "mpp1", "mpp2", "mpp3",
  71. "mpp4", "mpp5", "mpp6", "mpp7",
  72. "mpp8", "mpp9", "mpp10", "mpp11",
  73. "mpp15", "mpp16", "mpp17", "mpp18",
  74. "mpp19", "mpp20", "mpp21", "mpp22",
  75. "mpp23", "mpp24", "mpp25", "mpp26",
  76. "mpp27";
  77. marvell,function = "dev";
  78. };
  79. nand_rb: nand-rb {
  80. marvell,pins = "mpp13", "mpp12";
  81. marvell,function = "nf";
  82. };
  83. };
  84. };
  85. &cp1_crypto {
  86. /*
  87. * The cryptographic engine found on the cp110
  88. * master is enabled by default at the SoC
  89. * level. Because it is not possible as of now
  90. * to enable two cryptographic engines in
  91. * parallel, disable this one by default.
  92. */
  93. status = "disabled";
  94. };