tegra30-colibri-eval-v3.dts 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. /dts-v1/;
  2. #include "tegra30-colibri.dtsi"
  3. / {
  4. model = "Toradex Colibri T30 on Colibri Evaluation Board";
  5. compatible = "toradex,colibri_t30-eval-v3", "toradex,colibri_t30", "nvidia,tegra30";
  6. aliases {
  7. rtc0 = "/i2c@7000c000/rtc@68";
  8. rtc1 = "/i2c@7000d000/tps65911@2d";
  9. rtc2 = "/rtc@7000e000";
  10. serial0 = &uarta;
  11. serial1 = &uartb;
  12. serial2 = &uartd;
  13. };
  14. host1x@50000000 {
  15. dc@54200000 {
  16. rgb {
  17. status = "okay";
  18. nvidia,panel = <&panel>;
  19. };
  20. };
  21. hdmi@54280000 {
  22. status = "okay";
  23. };
  24. };
  25. serial@70006000 {
  26. status = "okay";
  27. };
  28. serial@70006040 {
  29. compatible = "nvidia,tegra30-hsuart";
  30. status = "okay";
  31. };
  32. serial@70006300 {
  33. compatible = "nvidia,tegra30-hsuart";
  34. status = "okay";
  35. };
  36. pwm@7000a000 {
  37. status = "okay";
  38. };
  39. /*
  40. * GEN1_I2C: I2C_SDA/SCL on SODIMM pin 194/196 (e.g. RTC on carrier
  41. * board)
  42. */
  43. i2c@7000c000 {
  44. status = "okay";
  45. clock-frequency = <100000>;
  46. /* M41T0M6 real time clock on carrier board */
  47. rtc@68 {
  48. compatible = "stm,m41t00";
  49. reg = <0x68>;
  50. };
  51. };
  52. /* DDC_CLOCK/DATA on X3 pin 15/16 (e.g. display EDID) */
  53. hdmiddc: i2c@7000c700 {
  54. status = "okay";
  55. };
  56. /* SPI1: Colibri SSP */
  57. spi@7000d400 {
  58. status = "okay";
  59. spi-max-frequency = <25000000>;
  60. can0: can@0 {
  61. compatible = "microchip,mcp2515";
  62. reg = <0>;
  63. clocks = <&clk16m>;
  64. interrupt-parent = <&gpio>;
  65. interrupts = <TEGRA_GPIO(S, 0) GPIO_ACTIVE_LOW>;
  66. spi-max-frequency = <10000000>;
  67. };
  68. spidev0: spi@1 {
  69. compatible = "spidev";
  70. reg = <1>;
  71. spi-max-frequency = <25000000>;
  72. };
  73. };
  74. sdhci@78000200 {
  75. status = "okay";
  76. bus-width = <4>;
  77. cd-gpios = <&gpio TEGRA_GPIO(C, 7) GPIO_ACTIVE_LOW>;
  78. no-1-8-v;
  79. };
  80. /* EHCI instance 0: USB1_DP/N -> USBC_P/N */
  81. usb@7d000000 {
  82. status = "okay";
  83. };
  84. usb-phy@7d000000 {
  85. status = "okay";
  86. dr_mode = "otg";
  87. vbus-supply = <&usbc_vbus_reg>;
  88. };
  89. /* EHCI instance 2: USB3_DP/N -> USBH_P/N */
  90. usb@7d008000 {
  91. status = "okay";
  92. };
  93. usb-phy@7d008000 {
  94. status = "okay";
  95. vbus-supply = <&usbh_vbus_reg>;
  96. };
  97. backlight: backlight {
  98. compatible = "pwm-backlight";
  99. /* PWM<A> */
  100. pwms = <&pwm 0 5000000>;
  101. brightness-levels = <255 128 64 32 16 8 4 0>;
  102. default-brightness-level = <6>;
  103. /* BL_ON */
  104. enable-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>;
  105. };
  106. clocks {
  107. clk16m: clk@1 {
  108. compatible = "fixed-clock";
  109. reg=<1>;
  110. #clock-cells = <0>;
  111. clock-frequency = <16000000>;
  112. clock-output-names = "clk16m";
  113. };
  114. };
  115. gpio-keys {
  116. compatible = "gpio-keys";
  117. power {
  118. label = "Power";
  119. gpios = <&gpio TEGRA_GPIO(V, 1) GPIO_ACTIVE_HIGH>;
  120. linux,code = <KEY_POWER>;
  121. debounce-interval = <10>;
  122. gpio-key,wakeup;
  123. };
  124. };
  125. panel: panel {
  126. /*
  127. * edt,et057090dhu: EDT 5.7" LCD TFT
  128. * edt,et070080dh6: EDT 7.0" LCD TFT
  129. */
  130. compatible = "edt,et057090dhu", "simple-panel";
  131. backlight = <&backlight>;
  132. };
  133. pwmleds {
  134. compatible = "pwm-leds";
  135. pwmb {
  136. label = "PWM<B>";
  137. pwms = <&pwm 1 19600>;
  138. max-brightness = <255>;
  139. };
  140. pwmc {
  141. label = "PWM<C>";
  142. pwms = <&pwm 2 19600>;
  143. max-brightness = <255>;
  144. };
  145. pwmd {
  146. label = "PWM<D>";
  147. pwms = <&pwm 3 19600>;
  148. max-brightness = <255>;
  149. };
  150. };
  151. regulators {
  152. sys_5v0_reg: regulator@1 {
  153. compatible = "regulator-fixed";
  154. reg = <1>;
  155. regulator-name = "5v0";
  156. regulator-min-microvolt = <5000000>;
  157. regulator-max-microvolt = <5000000>;
  158. regulator-always-on;
  159. };
  160. usbc_vbus_reg: regulator@2 {
  161. compatible = "regulator-fixed";
  162. reg = <2>;
  163. regulator-name = "usbc_vbus";
  164. regulator-min-microvolt = <5000000>;
  165. regulator-max-microvolt = <5000000>;
  166. vin-supply = <&sys_5v0_reg>;
  167. };
  168. /* USBH_PEN */
  169. usbh_vbus_reg: regulator@3 {
  170. compatible = "regulator-fixed";
  171. reg = <3>;
  172. regulator-name = "usbh_vbus";
  173. regulator-min-microvolt = <5000000>;
  174. regulator-max-microvolt = <5000000>;
  175. gpio = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_LOW>;
  176. vin-supply = <&sys_5v0_reg>;
  177. };
  178. };
  179. };