armada-388.dtsi 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. /*
  2. * Device Tree Include file for Marvell Armada 388 SoC.
  3. *
  4. * Copyright (C) 2015 Marvell
  5. *
  6. * Gregory CLEMENT <gregory.clement@free-electrons.com>
  7. *
  8. * This file is dual-licensed: you can use it either under the terms
  9. * of the GPL or the X11 license, at your option. Note that this dual
  10. * licensing only applies to this file, and not this project as a
  11. * whole.
  12. *
  13. * a) This file is licensed under the terms of the GNU General Public
  14. * License version 2. This program is licensed "as is" without
  15. * any warranty of any kind, whether express or implied.
  16. *
  17. * Or, alternatively,
  18. *
  19. * b) Permission is hereby granted, free of charge, to any person
  20. * obtaining a copy of this software and associated documentation
  21. * files (the "Software"), to deal in the Software without
  22. * restriction, including without limitation the rights to use,
  23. * copy, modify, merge, publish, distribute, sublicense, and/or
  24. * sell copies of the Software, and to permit persons to whom the
  25. * Software is furnished to do so, subject to the following
  26. * conditions:
  27. *
  28. * The above copyright notice and this permission notice shall be
  29. * included in all copies or substantial portions of the Software.
  30. *
  31. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  32. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
  33. * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  34. * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
  35. * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
  36. * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  37. * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  38. * OTHER DEALINGS IN THE SOFTWARE.
  39. *
  40. *
  41. * The main difference with the Armada 385 is that the 388 can handle two more
  42. * SATA ports. So we can reuse the dtsi of the Armada 385, override the pinctrl
  43. * property and the name of the SoC, and add the second SATA host which control
  44. * the 2 other ports.
  45. */
  46. #include "armada-385.dtsi"
  47. / {
  48. model = "Marvell Armada 388 family SoC";
  49. compatible = "marvell,armada388", "marvell,armada385",
  50. "marvell,armada380";
  51. soc {
  52. internal-regs {
  53. pinctrl@18000 {
  54. compatible = "marvell,mv88f6828-pinctrl";
  55. };
  56. sata@e0000 {
  57. compatible = "marvell,armada-380-ahci";
  58. reg = <0xe0000 0x2000>;
  59. interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
  60. clocks = <&gateclk 30>;
  61. status = "disabled";
  62. };
  63. };
  64. };
  65. };