tegra194-p3668.dtsi 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283
  1. // SPDX-License-Identifier: GPL-2.0
  2. #include "tegra194.dtsi"
  3. #include <dt-bindings/mfd/max77620.h>
  4. / {
  5. aliases {
  6. ethernet0 = "/bus@0/ethernet@2490000";
  7. i2c0 = "/bpmp/i2c";
  8. i2c1 = "/bus@0/i2c@3160000";
  9. i2c2 = "/bus@0/i2c@c240000";
  10. i2c3 = "/bus@0/i2c@3180000";
  11. i2c4 = "/bus@0/i2c@3190000";
  12. i2c5 = "/bus@0/i2c@31c0000";
  13. i2c6 = "/bus@0/i2c@c250000";
  14. i2c7 = "/bus@0/i2c@31e0000";
  15. rtc0 = "/bpmp/i2c/pmic@3c";
  16. rtc1 = "/bus@0/rtc@c2a0000";
  17. serial0 = &tcu;
  18. };
  19. chosen {
  20. bootargs = "console=ttyS0,115200n8";
  21. stdout-path = "serial0:115200n8";
  22. };
  23. bus@0 {
  24. ethernet@2490000 {
  25. status = "okay";
  26. phy-reset-gpios = <&gpio TEGRA194_MAIN_GPIO(R, 1) GPIO_ACTIVE_LOW>;
  27. phy-handle = <&phy>;
  28. phy-mode = "rgmii-id";
  29. mdio {
  30. #address-cells = <1>;
  31. #size-cells = <0>;
  32. phy: ethernet-phy@0 {
  33. compatible = "ethernet-phy-ieee802.3-c22";
  34. reg = <0x0>;
  35. interrupt-parent = <&gpio>;
  36. interrupts = <TEGRA194_MAIN_GPIO(G, 4) IRQ_TYPE_LEVEL_LOW>;
  37. #phy-cells = <0>;
  38. };
  39. };
  40. };
  41. memory-controller@2c00000 {
  42. status = "okay";
  43. };
  44. serial@3100000 {
  45. status = "okay";
  46. };
  47. i2c@3160000 {
  48. status = "okay";
  49. eeprom@50 {
  50. compatible = "atmel,24c02";
  51. reg = <0x50>;
  52. label = "module";
  53. vcc-supply = <&vdd_1v8ls>;
  54. address-width = <8>;
  55. pagesize = <8>;
  56. size = <256>;
  57. read-only;
  58. };
  59. };
  60. padctl@3520000 {
  61. avdd-usb-supply = <&vdd_usb_3v3>;
  62. vclamp-usb-supply = <&vdd_1v8ao>;
  63. ports {
  64. usb2-1 {
  65. vbus-supply = <&vdd_5v0_sys>;
  66. };
  67. usb2-3 {
  68. vbus-supply = <&vdd_5v0_sys>;
  69. };
  70. usb3-0 {
  71. vbus-supply = <&vdd_5v0_sys>;
  72. };
  73. usb3-3 {
  74. vbus-supply = <&vdd_5v0_sys>;
  75. };
  76. };
  77. };
  78. rtc@c2a0000 {
  79. status = "okay";
  80. };
  81. pmc@c360000 {
  82. nvidia,invert-interrupt;
  83. };
  84. };
  85. bpmp {
  86. i2c {
  87. status = "okay";
  88. pmic: pmic@3c {
  89. compatible = "maxim,max20024";
  90. reg = <0x3c>;
  91. interrupt-parent = <&pmc>;
  92. interrupts = <24 IRQ_TYPE_LEVEL_LOW>;
  93. #interrupt-cells = <2>;
  94. interrupt-controller;
  95. #gpio-cells = <2>;
  96. gpio-controller;
  97. pinctrl-names = "default";
  98. pinctrl-0 = <&max20024_default>;
  99. max20024_default: pinmux {
  100. gpio0 {
  101. pins = "gpio0";
  102. function = "gpio";
  103. };
  104. gpio1 {
  105. pins = "gpio1";
  106. function = "fps-out";
  107. maxim,active-fps-source = <MAX77620_FPS_SRC_DEF>;
  108. };
  109. gpio2 {
  110. pins = "gpio2";
  111. function = "fps-out";
  112. maxim,active-fps-source = <MAX77620_FPS_SRC_DEF>;
  113. };
  114. gpio3 {
  115. pins = "gpio3";
  116. function = "fps-out";
  117. maxim,active-fps-source = <MAX77620_FPS_SRC_DEF>;
  118. };
  119. gpio4 {
  120. pins = "gpio4";
  121. function = "32k-out1";
  122. drive-push-pull = <1>;
  123. };
  124. gpio6 {
  125. pins = "gpio6";
  126. function = "gpio";
  127. drive-push-pull = <1>;
  128. };
  129. gpio7 {
  130. pins = "gpio7";
  131. function = "gpio";
  132. drive-push-pull = <0>;
  133. };
  134. };
  135. fps {
  136. fps0 {
  137. maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
  138. maxim,shutdown-fps-time-period-us = <640>;
  139. };
  140. fps1 {
  141. maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>;
  142. maxim,shutdown-fps-time-period-us = <640>;
  143. maxim,device-state-on-disabled-event = <MAX77620_FPS_INACTIVE_STATE_SLEEP>;
  144. };
  145. fps2 {
  146. maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
  147. maxim,shutdown-fps-time-period-us = <640>;
  148. };
  149. };
  150. regulators {
  151. in-sd0-supply = <&vdd_5v0_sys>;
  152. in-sd1-supply = <&vdd_5v0_sys>;
  153. in-sd2-supply = <&vdd_5v0_sys>;
  154. in-sd3-supply = <&vdd_5v0_sys>;
  155. in-sd4-supply = <&vdd_5v0_sys>;
  156. in-ldo0-1-supply = <&vdd_5v0_sys>;
  157. in-ldo2-supply = <&vdd_5v0_sys>;
  158. in-ldo3-5-supply = <&vdd_5v0_sys>;
  159. in-ldo4-6-supply = <&vdd_5v0_sys>;
  160. in-ldo7-8-supply = <&vdd_1v8ls>;
  161. vdd_1v0: sd0 {
  162. regulator-name = "VDDIO_SYS_1V0";
  163. regulator-min-microvolt = <1000000>;
  164. regulator-max-microvolt = <1000000>;
  165. regulator-always-on;
  166. regulator-boot-on;
  167. };
  168. vdd_1v8hs: sd1 {
  169. regulator-name = "VDDIO_SYS_1V8HS";
  170. regulator-min-microvolt = <1800000>;
  171. regulator-max-microvolt = <1800000>;
  172. regulator-always-on;
  173. regulator-boot-on;
  174. };
  175. vdd_1v8ls: sd2 {
  176. regulator-name = "VDDIO_SYS_1V8LS";
  177. regulator-min-microvolt = <1800000>;
  178. regulator-max-microvolt = <1800000>;
  179. regulator-always-on;
  180. regulator-boot-on;
  181. };
  182. vdd_1v8ao: sd3 {
  183. regulator-name = "VDDIO_AO_1V8";
  184. regulator-min-microvolt = <1800000>;
  185. regulator-max-microvolt = <1800000>;
  186. regulator-always-on;
  187. regulator-boot-on;
  188. };
  189. sd4 {
  190. regulator-name = "VDD_DDR_1V1";
  191. regulator-min-microvolt = <1100000>;
  192. regulator-max-microvolt = <1100000>;
  193. regulator-always-on;
  194. regulator-boot-on;
  195. };
  196. ldo0 {
  197. regulator-name = "VDD_RTC";
  198. regulator-min-microvolt = <800000>;
  199. regulator-max-microvolt = <800000>;
  200. regulator-always-on;
  201. regulator-boot-on;
  202. };
  203. ldo2 {
  204. regulator-name = "VDDIO_AO_3V3";
  205. regulator-min-microvolt = <3300000>;
  206. regulator-max-microvolt = <3300000>;
  207. regulator-always-on;
  208. regulator-boot-on;
  209. };
  210. vdd_emmc_3v3: ldo3 {
  211. regulator-name = "VDD_EMMC_3V3";
  212. regulator-min-microvolt = <3300000>;
  213. regulator-max-microvolt = <3300000>;
  214. };
  215. vdd_usb_3v3: ldo5 {
  216. regulator-name = "VDD_USB_3V3";
  217. regulator-min-microvolt = <3300000>;
  218. regulator-max-microvolt = <3300000>;
  219. regulator-always-on;
  220. regulator-boot-on;
  221. };
  222. ldo6 {
  223. regulator-name = "VDD_SDIO_3V3";
  224. regulator-min-microvolt = <3300000>;
  225. regulator-max-microvolt = <3300000>;
  226. };
  227. ldo7 {
  228. regulator-name = "AVDD_CSI_1V2";
  229. regulator-min-microvolt = <1200000>;
  230. regulator-max-microvolt = <1200000>;
  231. };
  232. };
  233. };
  234. };
  235. };
  236. };