spear1340.dtsi 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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. ahci@b1000000 {
  18. compatible = "snps,spear-ahci";
  19. reg = <0xb1000000 0x10000>;
  20. interrupts = <0 72 0x4>;
  21. status = "disabled";
  22. };
  23. pinmux: pinmux@e0700000 {
  24. compatible = "st,spear1340-pinmux";
  25. reg = <0xe0700000 0x1000>;
  26. #gpio-range-cells = <2>;
  27. };
  28. spi1: spi@5d400000 {
  29. compatible = "arm,pl022", "arm,primecell";
  30. reg = <0x5d400000 0x1000>;
  31. interrupts = <0 99 0x4>;
  32. status = "disabled";
  33. };
  34. apb {
  35. i2c1: i2c@b4000000 {
  36. #address-cells = <1>;
  37. #size-cells = <0>;
  38. compatible = "snps,designware-i2c";
  39. reg = <0xb4000000 0x1000>;
  40. interrupts = <0 104 0x4>;
  41. status = "disabled";
  42. };
  43. serial@b4100000 {
  44. compatible = "arm,pl011", "arm,primecell";
  45. reg = <0xb4100000 0x1000>;
  46. interrupts = <0 105 0x4>;
  47. status = "disabled";
  48. };
  49. thermal@e07008c4 {
  50. st,thermal-flags = <0x2a00>;
  51. };
  52. gpiopinctrl: gpio@e2800000 {
  53. compatible = "st,spear-plgpio";
  54. reg = <0xe2800000 0x1000>;
  55. interrupts = <0 107 0x4>;
  56. #interrupt-cells = <1>;
  57. interrupt-controller;
  58. gpio-controller;
  59. #gpio-cells = <2>;
  60. gpio-ranges = <&pinmux 0 252>;
  61. status = "disabled";
  62. st-plgpio,ngpio = <250>;
  63. st-plgpio,wdata-reg = <0x40>;
  64. st-plgpio,dir-reg = <0x00>;
  65. st-plgpio,ie-reg = <0x80>;
  66. st-plgpio,rdata-reg = <0x20>;
  67. st-plgpio,mis-reg = <0xa0>;
  68. st-plgpio,eit-reg = <0x60>;
  69. };
  70. };
  71. };
  72. };