spear1340.dtsi 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. /*
  2. * DTS file for all SPEAr1340 SoCs
  3. *
  4. * Copyright 2012 Viresh Kumar <viresh.linux@gmail.com>
  5. *
  6. * The code contained herein is licensed under the GNU General Public
  7. * License. You may obtain a copy of the GNU General Public License
  8. * Version 2 or later at the following locations:
  9. *
  10. * http://www.opensource.org/licenses/gpl-license.html
  11. * http://www.gnu.org/copyleft/gpl.html
  12. */
  13. /include/ "spear13xx.dtsi"
  14. / {
  15. compatible = "st,spear1340";
  16. ahb {
  17. spics: spics@e0700000{
  18. compatible = "st,spear-spics-gpio";
  19. reg = <0xe0700000 0x1000>;
  20. st-spics,peripcfg-reg = <0x42c>;
  21. st-spics,sw-enable-bit = <21>;
  22. st-spics,cs-value-bit = <20>;
  23. st-spics,cs-enable-mask = <3>;
  24. st-spics,cs-enable-shift = <18>;
  25. gpio-controller;
  26. #gpio-cells = <2>;
  27. status = "disabled";
  28. };
  29. ahci@b1000000 {
  30. compatible = "snps,spear-ahci";
  31. reg = <0xb1000000 0x10000>;
  32. interrupts = <0 72 0x4>;
  33. status = "disabled";
  34. };
  35. pinmux: pinmux@e0700000 {
  36. compatible = "st,spear1340-pinmux";
  37. reg = <0xe0700000 0x1000>;
  38. #gpio-range-cells = <2>;
  39. };
  40. spi1: spi@5d400000 {
  41. compatible = "arm,pl022", "arm,primecell";
  42. reg = <0x5d400000 0x1000>;
  43. interrupts = <0 99 0x4>;
  44. status = "disabled";
  45. };
  46. apb {
  47. i2c1: i2c@b4000000 {
  48. #address-cells = <1>;
  49. #size-cells = <0>;
  50. compatible = "snps,designware-i2c";
  51. reg = <0xb4000000 0x1000>;
  52. interrupts = <0 104 0x4>;
  53. status = "disabled";
  54. };
  55. serial@b4100000 {
  56. compatible = "arm,pl011", "arm,primecell";
  57. reg = <0xb4100000 0x1000>;
  58. interrupts = <0 105 0x4>;
  59. status = "disabled";
  60. };
  61. thermal@e07008c4 {
  62. st,thermal-flags = <0x2a00>;
  63. };
  64. gpiopinctrl: gpio@e2800000 {
  65. compatible = "st,spear-plgpio";
  66. reg = <0xe2800000 0x1000>;
  67. interrupts = <0 107 0x4>;
  68. #interrupt-cells = <1>;
  69. interrupt-controller;
  70. gpio-controller;
  71. #gpio-cells = <2>;
  72. gpio-ranges = <&pinmux 0 252>;
  73. status = "disabled";
  74. st-plgpio,ngpio = <250>;
  75. st-plgpio,wdata-reg = <0x40>;
  76. st-plgpio,dir-reg = <0x00>;
  77. st-plgpio,ie-reg = <0x80>;
  78. st-plgpio,rdata-reg = <0x20>;
  79. st-plgpio,mis-reg = <0xa0>;
  80. st-plgpio,eit-reg = <0x60>;
  81. };
  82. };
  83. };
  84. };