armada-8040.dtsi 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * Copyright (C) 2016- 2021 Marvell International Ltd.
  4. */
  5. /*
  6. * Device Tree file for the Armada 8040 SoC, made of an AP806 Quad and
  7. * two CP110.
  8. */
  9. #include <dt-bindings/gpio/gpio.h>
  10. #include "armada-common.dtsi"
  11. #include "armada-8k.dtsi"
  12. #include "armada-ap806.dtsi"
  13. #include "armada-ap80x-quad.dtsi"
  14. /* CP110-0 Settings */
  15. #define CP110_NAME cp0
  16. #define CP110_NUM 0
  17. #include "armada-cp110.dtsi"
  18. #undef CP110_NAME
  19. #undef CP110_NUM
  20. /* CP110-1 Settings */
  21. #define CP110_NAME cp1
  22. #define CP110_NUM 1
  23. #include "armada-cp110.dtsi"
  24. #undef CP110_NAME
  25. #undef CP110_NUM
  26. / {
  27. model = "Marvell Armada 8040";
  28. compatible = "marvell,armada8040", "marvell,armada-ap806-quad",
  29. "marvell,armada-ap806";
  30. };
  31. &cp0_pinctl {
  32. compatible = "marvell,mvebu-pinctrl", "marvell,armada-8k-cpm-pinctrl";
  33. bank-name ="cp0-110";
  34. cp0_i2c0_pins: cp0-i2c-pins-0 {
  35. marvell,pins = < 37 38 >;
  36. marvell,function = <2>;
  37. };
  38. cp0_i2c1_pins: cp0-i2c-pins-1 {
  39. marvell,pins = < 35 36 >;
  40. marvell,function = <2>;
  41. };
  42. cp0_ge1_rgmii_pins: cp0-ge-rgmii-pins-0 {
  43. marvell,pins = < 0 1 2 3 4 5 6 7 8 9 10 11>;
  44. marvell,function = <3>;
  45. };
  46. cp0_ge2_rgmii_pins: cp0-ge-rgmii-pins-1 {
  47. marvell,pins = < 44 45 46 47 48 49 50 51
  48. 52 53 54 55 >;
  49. marvell,function = <1>;
  50. };
  51. cp0_pca0_pins: cp0-pca0_pins {
  52. marvell,pins = <62>;
  53. marvell,function = <0>;
  54. };
  55. cp0_sdhci_pins: cp0-sdhi-pins-0 {
  56. marvell,pins = < 56 57 58 59 60 61 >;
  57. marvell,function = <14>;
  58. };
  59. cp0_spi0_pins: cp0-spi-pins-0 {
  60. marvell,pins = < 13 14 15 16 >;
  61. marvell,function = <3>;
  62. };
  63. };
  64. &cp1_pinctl {
  65. compatible = "marvell,mvebu-pinctrl", "marvell,armada-8k-cps-pinctrl";
  66. bank-name ="cp1-110";
  67. cp1_ge1_rgmii_pins: cp1-ge-rgmii-pins-0 {
  68. marvell,pins = < 0 1 2 3 4 5 6 7 8 9 10 11 >;
  69. marvell,function = <3>;
  70. };
  71. cp1_spi1_pins: cp1-spi-pins-1 {
  72. marvell,pins = < 13 14 15 16 >;
  73. marvell,function = <3>;
  74. };
  75. };