armada-70x0.dtsi 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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 70x0 SoC
  6. */
  7. / {
  8. aliases {
  9. gpio1 = &cp0_gpio1;
  10. gpio2 = &cp0_gpio2;
  11. spi1 = &cp0_spi0;
  12. spi2 = &cp0_spi1;
  13. };
  14. };
  15. /*
  16. * Instantiate the CP110
  17. */
  18. #define CP110_NAME cp0
  19. #define CP110_BASE f2000000
  20. #define CP110_PCIE_IO_BASE 0xf9000000
  21. #define CP110_PCIE_MEM_BASE 0xf6000000
  22. #define CP110_PCIE0_BASE f2600000
  23. #define CP110_PCIE1_BASE f2620000
  24. #define CP110_PCIE2_BASE f2640000
  25. #include "armada-cp110.dtsi"
  26. #undef CP110_NAME
  27. #undef CP110_BASE
  28. #undef CP110_PCIE_IO_BASE
  29. #undef CP110_PCIE_MEM_BASE
  30. #undef CP110_PCIE0_BASE
  31. #undef CP110_PCIE1_BASE
  32. #undef CP110_PCIE2_BASE
  33. &cp0_gpio1 {
  34. status = "okay";
  35. };
  36. &cp0_gpio2 {
  37. status = "okay";
  38. };
  39. &cp0_syscon0 {
  40. cp0_pinctrl: pinctrl {
  41. compatible = "marvell,armada-7k-pinctrl";
  42. nand_pins: nand-pins {
  43. marvell,pins =
  44. "mpp15", "mpp16", "mpp17", "mpp18",
  45. "mpp19", "mpp20", "mpp21", "mpp22",
  46. "mpp23", "mpp24", "mpp25", "mpp26",
  47. "mpp27";
  48. marvell,function = "dev";
  49. };
  50. nand_rb: nand-rb {
  51. marvell,pins = "mpp13";
  52. marvell,function = "nf";
  53. };
  54. };
  55. };