trimslice.dts 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. /*-
  2. * Copyright (c) 2011 The FreeBSD Foundation
  3. * All rights reserved.
  4. *
  5. * Developed by Damjan Marion <damjan.marion@gmail.com>
  6. *
  7. * Redistribution and use in source and binary forms, with or without
  8. * modification, are permitted provided that the following conditions
  9. * are met:
  10. * 1. Redistributions of source code must retain the above copyright
  11. * notice, this list of conditions and the following disclaimer.
  12. * 2. Redistributions in binary form must reproduce the above copyright
  13. * notice, this list of conditions and the following disclaimer in the
  14. * documentation and/or other materials provided with the distribution.
  15. *
  16. * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
  17. * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  18. * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  19. * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
  20. * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  21. * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  22. * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  23. * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  24. * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  25. * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  26. * SUCH DAMAGE.
  27. *
  28. * $FreeBSD$
  29. */
  30. /dts-v1/;
  31. / {
  32. model = "CompuLab TrimSlice";
  33. compatible = "compulab,trimslice", "nvidia,tegra20";
  34. #address-cells = <1>;
  35. #size-cells = <1>;
  36. interrupt-parent = <&GIC>;
  37. aliases {
  38. serial0 = &serial0;
  39. soc = &SOC;
  40. };
  41. memory {
  42. device_type = "memory";
  43. reg = < 0x00000000 0x40000000 >; /* 1GB RAM at 0x0 */
  44. };
  45. SOC: tegra20@0 {
  46. #address-cells = <1>;
  47. #size-cells = <1>;
  48. compatible = "simple-bus";
  49. ranges;
  50. bus-frequency = <0>;
  51. GIC: interrupt-controller@50041000 {
  52. compatible = "arm,gic";
  53. interrupt-controller;
  54. #address-cells = <0>;
  55. #interrupt-cells = <1>;
  56. reg = < 0x50041000 0x1000 >, /* Distributor Registers */
  57. < 0x50040100 0x0100 >; /* CPU Interface Registers */
  58. };
  59. mp_tmr@50040200 {
  60. compatible = "arm,mpcore-timers";
  61. clock-frequency = < 50040200 >;
  62. #address-cells = <1>;
  63. #size-cells = <0>;
  64. reg = < 0x50040200 0x100 >, /* Global Timer Registers */
  65. < 0x50040600 0x100 >; /* Private Timer Registers */
  66. interrupts = < 27 29 >;
  67. interrupt-parent = < &GIC >;
  68. };
  69. tmr1@60005000 {
  70. compatible = "nvidia,tegra2-timer";
  71. reg = <0x60005000 0x8>;
  72. interrupts = < 32 >;
  73. interrupt-parent = <&GIC>;
  74. };
  75. tmr2@60005008 {
  76. compatible = "nvidia,tegra2-timer";
  77. reg = <0x60005008 0x8>;
  78. interrupts = < 33 >;
  79. interrupt-parent = <&GIC>;
  80. };
  81. tmrus@60005010 {
  82. compatible = "nvidia,tegra2-timestamp";
  83. reg = <0x60005010 0x8>;
  84. };
  85. tmr3@60005050 {
  86. compatible = "nvidia,tegra2-timer";
  87. reg = <0x60005050 0x8>;
  88. interrupts = < 73 >;
  89. interrupt-parent = <&GIC>;
  90. };
  91. tmr4@60005058 {
  92. compatible = "nvidia,tegra2-timer";
  93. reg = <0x60005058 0x8>;
  94. interrupts = < 74 >;
  95. interrupt-parent = <&GIC>;
  96. };
  97. serial0: serial@70006000 {
  98. compatible = "ns16550";
  99. reg = <0x70006000 0x40>;
  100. reg-shift = <2>;
  101. interrupts = < 68 >;
  102. interrupt-parent = <&GIC>;
  103. clock-frequency = < 215654400 >;
  104. };
  105. serial1: serial@70006040 {
  106. compatible = "ns16550";
  107. reg = <0x70006040 0x40>;
  108. reg-shift = <2>;
  109. interrupts = < 69 >;
  110. interrupt-parent = <&GIC>;
  111. clock-frequency = < 215654400 >;
  112. };
  113. serial2: serial@70006200 {
  114. compatible = "ns16550";
  115. reg = <0x70006200 0x100>;
  116. reg-shift = <2>;
  117. interrupts = < 78 >;
  118. interrupt-parent = <&GIC>;
  119. clock-frequency = < 215654400 >;
  120. };
  121. };
  122. chosen {
  123. stdin = "serial0";
  124. stdout = "serial0";
  125. };
  126. };