r8a7778.dtsi 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. /*
  2. * Device Tree Source for Renesas r8a7778
  3. *
  4. * Copyright (C) 2013 Renesas Solutions Corp.
  5. * Copyright (C) 2013 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
  6. *
  7. * based on r8a7779
  8. *
  9. * Copyright (C) 2013 Renesas Solutions Corp.
  10. * Copyright (C) 2013 Simon Horman
  11. *
  12. * This file is licensed under the terms of the GNU General Public License
  13. * version 2. This program is licensed "as is" without any warranty of any
  14. * kind, whether express or implied.
  15. */
  16. /include/ "skeleton.dtsi"
  17. / {
  18. compatible = "renesas,r8a7778";
  19. cpus {
  20. cpu@0 {
  21. compatible = "arm,cortex-a9";
  22. };
  23. };
  24. gic: interrupt-controller@fe438000 {
  25. compatible = "arm,cortex-a9-gic";
  26. #interrupt-cells = <3>;
  27. interrupt-controller;
  28. reg = <0xfe438000 0x1000>,
  29. <0xfe430000 0x100>;
  30. };
  31. gpio0: gpio@ffc40000 {
  32. compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar";
  33. reg = <0xffc40000 0x2c>;
  34. interrupt-parent = <&gic>;
  35. interrupts = <0 103 0x4>;
  36. #gpio-cells = <2>;
  37. gpio-controller;
  38. gpio-ranges = <&pfc 0 0 32>;
  39. #interrupt-cells = <2>;
  40. interrupt-controller;
  41. };
  42. gpio1: gpio@ffc41000 {
  43. compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar";
  44. reg = <0xffc41000 0x2c>;
  45. interrupt-parent = <&gic>;
  46. interrupts = <0 103 0x4>;
  47. #gpio-cells = <2>;
  48. gpio-controller;
  49. gpio-ranges = <&pfc 0 32 32>;
  50. #interrupt-cells = <2>;
  51. interrupt-controller;
  52. };
  53. gpio2: gpio@ffc42000 {
  54. compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar";
  55. reg = <0xffc42000 0x2c>;
  56. interrupt-parent = <&gic>;
  57. interrupts = <0 103 0x4>;
  58. #gpio-cells = <2>;
  59. gpio-controller;
  60. gpio-ranges = <&pfc 0 64 32>;
  61. #interrupt-cells = <2>;
  62. interrupt-controller;
  63. };
  64. gpio3: gpio@ffc43000 {
  65. compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar";
  66. reg = <0xffc43000 0x2c>;
  67. interrupt-parent = <&gic>;
  68. interrupts = <0 103 0x4>;
  69. #gpio-cells = <2>;
  70. gpio-controller;
  71. gpio-ranges = <&pfc 0 96 32>;
  72. #interrupt-cells = <2>;
  73. interrupt-controller;
  74. };
  75. gpio4: gpio@ffc44000 {
  76. compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar";
  77. reg = <0xffc44000 0x2c>;
  78. interrupt-parent = <&gic>;
  79. interrupts = <0 103 0x4>;
  80. #gpio-cells = <2>;
  81. gpio-controller;
  82. gpio-ranges = <&pfc 0 128 27>;
  83. #interrupt-cells = <2>;
  84. interrupt-controller;
  85. };
  86. pfc: pfc@fffc0000 {
  87. compatible = "renesas,pfc-r8a7778";
  88. reg = <0xfffc000 0x118>;
  89. #gpio-range-cells = <3>;
  90. };
  91. };