integratorap.dts 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. /*
  2. * Device Tree for the ARM Integrator/AP platform
  3. */
  4. /dts-v1/;
  5. /include/ "integrator.dtsi"
  6. / {
  7. model = "ARM Integrator/AP";
  8. compatible = "arm,integrator-ap";
  9. aliases {
  10. arm,timer-primary = &timer2;
  11. arm,timer-secondary = &timer1;
  12. };
  13. chosen {
  14. bootargs = "root=/dev/ram0 console=ttyAM0,38400n8 earlyprintk";
  15. };
  16. syscon {
  17. /* AP system controller registers */
  18. reg = <0x11000000 0x100>;
  19. };
  20. timer0: timer@13000000 {
  21. compatible = "arm,integrator-timer";
  22. };
  23. timer1: timer@13000100 {
  24. compatible = "arm,integrator-timer";
  25. };
  26. timer2: timer@13000200 {
  27. compatible = "arm,integrator-timer";
  28. };
  29. pic: pic@14000000 {
  30. valid-mask = <0x003fffff>;
  31. };
  32. pci: pciv3@62000000 {
  33. compatible = "v3,v360epc-pci";
  34. #interrupt-cells = <1>;
  35. #size-cells = <2>;
  36. #address-cells = <3>;
  37. reg = <0x62000000 0x10000>;
  38. interrupt-parent = <&pic>;
  39. interrupts = <17>; /* Bus error IRQ */
  40. ranges = <0x00000000 0 0x61000000 /* config space */
  41. 0x61000000 0 0x00100000 /* 16 MiB @ 61000000 */
  42. 0x01000000 0 0x0 /* I/O space */
  43. 0x60000000 0 0x00100000 /* 16 MiB @ 60000000 */
  44. 0x02000000 0 0x00000000 /* non-prefectable memory */
  45. 0x40000000 0 0x10000000 /* 256 MiB @ 40000000 */
  46. 0x42000000 0 0x10000000 /* prefetchable memory */
  47. 0x50000000 0 0x10000000>; /* 256 MiB @ 50000000 */
  48. interrupt-map-mask = <0xf800 0 0 0x7>;
  49. interrupt-map = <
  50. /* IDSEL 9 */
  51. 0x4800 0 0 1 &pic 13 /* INT A on slot 9 is irq 13 */
  52. 0x4800 0 0 2 &pic 14 /* INT B on slot 9 is irq 14 */
  53. 0x4800 0 0 3 &pic 15 /* INT C on slot 9 is irq 15 */
  54. 0x4800 0 0 4 &pic 16 /* INT D on slot 9 is irq 16 */
  55. /* IDSEL 10 */
  56. 0x5000 0 0 1 &pic 14 /* INT A on slot 10 is irq 14 */
  57. 0x5000 0 0 2 &pic 15 /* INT B on slot 10 is irq 15 */
  58. 0x5000 0 0 3 &pic 16 /* INT C on slot 10 is irq 16 */
  59. 0x5000 0 0 4 &pic 13 /* INT D on slot 10 is irq 13 */
  60. /* IDSEL 11 */
  61. 0x5800 0 0 1 &pic 15 /* INT A on slot 11 is irq 15 */
  62. 0x5800 0 0 2 &pic 16 /* INT B on slot 11 is irq 16 */
  63. 0x5800 0 0 3 &pic 13 /* INT C on slot 11 is irq 13 */
  64. 0x5800 0 0 4 &pic 14 /* INT D on slot 11 is irq 14 */
  65. /* IDSEL 12 */
  66. 0x6000 0 0 1 &pic 16 /* INT A on slot 12 is irq 16 */
  67. 0x6000 0 0 2 &pic 13 /* INT B on slot 12 is irq 13 */
  68. 0x6000 0 0 3 &pic 14 /* INT C on slot 12 is irq 14 */
  69. 0x6000 0 0 4 &pic 15 /* INT D on slot 12 is irq 15 */
  70. >;
  71. };
  72. fpga {
  73. /*
  74. * The Integator/AP predates the idea to have magic numbers
  75. * identifying the PrimeCell in hardware, thus we have to
  76. * supply these from the device tree.
  77. */
  78. rtc: rtc@15000000 {
  79. compatible = "arm,pl030", "arm,primecell";
  80. arm,primecell-periphid = <0x00041030>;
  81. };
  82. uart0: uart@16000000 {
  83. compatible = "arm,pl010", "arm,primecell";
  84. arm,primecell-periphid = <0x00041010>;
  85. };
  86. uart1: uart@17000000 {
  87. compatible = "arm,pl010", "arm,primecell";
  88. arm,primecell-periphid = <0x00041010>;
  89. };
  90. kmi0: kmi@18000000 {
  91. compatible = "arm,pl050", "arm,primecell";
  92. arm,primecell-periphid = <0x00041050>;
  93. };
  94. kmi1: kmi@19000000 {
  95. compatible = "arm,pl050", "arm,primecell";
  96. arm,primecell-periphid = <0x00041050>;
  97. };
  98. };
  99. };