armada-xp-mv78230.dtsi 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /*
  2. * Device Tree Include file for Marvell Armada XP family SoC
  3. *
  4. * Copyright (C) 2012 Marvell
  5. *
  6. * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  7. *
  8. * This file is licensed under the terms of the GNU General Public
  9. * License version 2. This program is licensed "as is" without any
  10. * warranty of any kind, whether express or implied.
  11. *
  12. * Contains definitions specific to the Armada XP MV78230 SoC that are not
  13. * common to all Armada XP SoCs.
  14. */
  15. /include/ "armada-xp.dtsi"
  16. / {
  17. model = "Marvell Armada XP MV78230 SoC";
  18. compatible = "marvell,armadaxp-mv78230", "marvell,armadaxp", "marvell,armada-370-xp";
  19. aliases {
  20. gpio0 = &gpio0;
  21. gpio1 = &gpio1;
  22. };
  23. soc {
  24. pinctrl {
  25. compatible = "marvell,mv78230-pinctrl";
  26. reg = <0xd0018000 0x38>;
  27. };
  28. gpio0: gpio@d0018100 {
  29. compatible = "marvell,armadaxp-gpio";
  30. reg = <0xd0018100 0x40>,
  31. <0xd0018800 0x30>;
  32. ngpios = <32>;
  33. gpio-controller;
  34. #gpio-cells = <2>;
  35. interrupt-controller;
  36. #interrupts-cells = <2>;
  37. interrupts = <16>, <17>, <18>, <19>;
  38. };
  39. gpio1: gpio@d0018140 {
  40. compatible = "marvell,armadaxp-gpio";
  41. reg = <0xd0018140 0x40>,
  42. <0xd0018840 0x30>;
  43. ngpios = <17>;
  44. gpio-controller;
  45. #gpio-cells = <2>;
  46. interrupt-controller;
  47. #interrupts-cells = <2>;
  48. interrupts = <20>, <21>, <22>;
  49. };
  50. };
  51. };