armada-xp-mv78230.dtsi 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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. cpus {
  24. #address-cells = <1>;
  25. #size-cells = <0>;
  26. cpu@0 {
  27. device_type = "cpu";
  28. compatible = "marvell,sheeva-v7";
  29. reg = <0>;
  30. clocks = <&cpuclk 0>;
  31. };
  32. }
  33. soc {
  34. pinctrl {
  35. compatible = "marvell,mv78230-pinctrl";
  36. reg = <0xd0018000 0x38>;
  37. };
  38. gpio0: gpio@d0018100 {
  39. compatible = "marvell,armadaxp-gpio";
  40. reg = <0xd0018100 0x40>,
  41. <0xd0018800 0x30>;
  42. ngpios = <32>;
  43. gpio-controller;
  44. #gpio-cells = <2>;
  45. interrupt-controller;
  46. #interrupts-cells = <2>;
  47. interrupts = <16>, <17>, <18>, <19>;
  48. };
  49. gpio1: gpio@d0018140 {
  50. compatible = "marvell,armadaxp-gpio";
  51. reg = <0xd0018140 0x40>,
  52. <0xd0018840 0x30>;
  53. ngpios = <17>;
  54. gpio-controller;
  55. #gpio-cells = <2>;
  56. interrupt-controller;
  57. #interrupts-cells = <2>;
  58. interrupts = <20>, <21>, <22>;
  59. };
  60. };
  61. };