tegra186-p2771-0000.dts 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. // SPDX-License-Identifier: GPL-2.0
  2. /dts-v1/;
  3. #include <dt-bindings/input/linux-event-codes.h>
  4. #include "tegra186-p3310.dtsi"
  5. / {
  6. model = "NVIDIA Tegra186 P2771-0000 Development Board";
  7. compatible = "nvidia,p2771-0000", "nvidia,tegra186";
  8. i2c@3160000 {
  9. power-monitor@42 {
  10. compatible = "ti,ina3221";
  11. reg = <0x42>;
  12. };
  13. power-monitor@43 {
  14. compatible = "ti,ina3221";
  15. reg = <0x43>;
  16. };
  17. exp1: gpio@74 {
  18. compatible = "ti,tca9539";
  19. reg = <0x74>;
  20. interrupt-parent = <&gpio>;
  21. interrupts = <TEGRA_MAIN_GPIO(Y, 0) GPIO_ACTIVE_LOW>;
  22. #gpio-cells = <2>;
  23. gpio-controller;
  24. };
  25. exp2: gpio@77 {
  26. compatible = "ti,tca9539";
  27. reg = <0x77>;
  28. interrupt-parent = <&gpio>;
  29. interrupts = <TEGRA_MAIN_GPIO(Y, 6) GPIO_ACTIVE_LOW>;
  30. #gpio-cells = <2>;
  31. gpio-controller;
  32. };
  33. };
  34. /* SDMMC1 (SD/MMC) */
  35. sdhci@3400000 {
  36. status = "okay";
  37. vmmc-supply = <&vdd_sd>;
  38. };
  39. pcie@10003000 {
  40. status = "okay";
  41. dvdd-pex-supply = <&vdd_pex>;
  42. hvdd-pex-pll-supply = <&vdd_1v8>;
  43. hvdd-pex-supply = <&vdd_1v8>;
  44. vddio-pexctl-aud-supply = <&vdd_1v8>;
  45. pci@1,0 {
  46. nvidia,num-lanes = <4>;
  47. status = "okay";
  48. };
  49. pci@2,0 {
  50. nvidia,num-lanes = <0>;
  51. status = "disabled";
  52. };
  53. pci@3,0 {
  54. nvidia,num-lanes = <1>;
  55. status = "disabled";
  56. };
  57. };
  58. host1x@13e00000 {
  59. status = "okay";
  60. dpaux@15040000 {
  61. status = "okay";
  62. };
  63. display-hub@15200000 {
  64. status = "okay";
  65. };
  66. dsi@15300000 {
  67. status = "disabled";
  68. };
  69. sor@15540000 {
  70. status = "disabled";
  71. nvidia,dpaux = <&dpaux1>;
  72. };
  73. sor@15580000 {
  74. status = "okay";
  75. avdd-io-supply = <&vdd_hdmi_1v05>;
  76. vdd-pll-supply = <&vdd_1v8_ap>;
  77. hdmi-supply = <&vdd_hdmi>;
  78. nvidia,ddc-i2c-bus = <&ddc>;
  79. nvidia,hpd-gpio = <&gpio TEGRA_MAIN_GPIO(P, 1) GPIO_ACTIVE_LOW>;
  80. };
  81. dpaux@155c0000 {
  82. status = "okay";
  83. };
  84. };
  85. gpio-keys {
  86. compatible = "gpio-keys";
  87. power {
  88. label = "Power";
  89. gpios = <&gpio_aon TEGRA_AON_GPIO(FF, 0)
  90. GPIO_ACTIVE_LOW>;
  91. linux,input-type = <EV_KEY>;
  92. linux,code = <KEY_POWER>;
  93. debounce-interval = <10>;
  94. wakeup-source;
  95. };
  96. volume-up {
  97. label = "Volume Up";
  98. gpios = <&gpio_aon TEGRA_AON_GPIO(FF, 1)
  99. GPIO_ACTIVE_LOW>;
  100. linux,input-type = <EV_KEY>;
  101. linux,code = <KEY_VOLUMEUP>;
  102. debounce-interval = <10>;
  103. };
  104. volume-down {
  105. label = "Volume Down";
  106. gpios = <&gpio_aon TEGRA_AON_GPIO(FF, 2)
  107. GPIO_ACTIVE_LOW>;
  108. linux,input-type = <EV_KEY>;
  109. linux,code = <KEY_VOLUMEDOWN>;
  110. debounce-interval = <10>;
  111. };
  112. };
  113. regulators {
  114. vdd_sd: regulator@100 {
  115. compatible = "regulator-fixed";
  116. reg = <100>;
  117. regulator-name = "SD_CARD_SW_PWR";
  118. regulator-min-microvolt = <3300000>;
  119. regulator-max-microvolt = <3300000>;
  120. gpio = <&gpio TEGRA_MAIN_GPIO(P, 6) GPIO_ACTIVE_HIGH>;
  121. enable-active-high;
  122. vin-supply = <&vdd_3v3_sys>;
  123. };
  124. vdd_hdmi: regulator@101 {
  125. compatible = "regulator-fixed";
  126. reg = <101>;
  127. regulator-name = "VDD_HDMI_5V0";
  128. regulator-min-microvolt = <5000000>;
  129. regulator-max-microvolt = <5000000>;
  130. gpio = <&exp1 14 GPIO_ACTIVE_HIGH>;
  131. enable-active-high;
  132. vin-supply = <&vdd_5v0_sys>;
  133. };
  134. };
  135. };