spear1340.dtsi 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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. write-16bit;
  54. status = "disabled";
  55. };
  56. serial@b4100000 {
  57. compatible = "arm,pl011", "arm,primecell";
  58. reg = <0xb4100000 0x1000>;
  59. interrupts = <0 105 0x4>;
  60. status = "disabled";
  61. };
  62. thermal@e07008c4 {
  63. st,thermal-flags = <0x2a00>;
  64. };
  65. gpiopinctrl: gpio@e2800000 {
  66. compatible = "st,spear-plgpio";
  67. reg = <0xe2800000 0x1000>;
  68. interrupts = <0 107 0x4>;
  69. #interrupt-cells = <1>;
  70. interrupt-controller;
  71. gpio-controller;
  72. #gpio-cells = <2>;
  73. gpio-ranges = <&pinmux 0 252>;
  74. status = "disabled";
  75. st-plgpio,ngpio = <250>;
  76. st-plgpio,wdata-reg = <0x40>;
  77. st-plgpio,dir-reg = <0x00>;
  78. st-plgpio,ie-reg = <0x80>;
  79. st-plgpio,rdata-reg = <0x20>;
  80. st-plgpio,mis-reg = <0xa0>;
  81. st-plgpio,eit-reg = <0x60>;
  82. };
  83. };
  84. };
  85. };