tegra194-p2888.dtsi 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365
  1. // SPDX-License-Identifier: GPL-2.0
  2. #include "tegra194.dtsi"
  3. #include <dt-bindings/mfd/max77620.h>
  4. / {
  5. model = "NVIDIA Jetson AGX Xavier";
  6. compatible = "nvidia,p2888", "nvidia,tegra194";
  7. aliases {
  8. ethernet0 = "/bus@0/ethernet@2490000";
  9. i2c0 = "/bpmp/i2c";
  10. i2c1 = "/bus@0/i2c@3160000";
  11. i2c2 = "/bus@0/i2c@c240000";
  12. i2c3 = "/bus@0/i2c@3180000";
  13. i2c4 = "/bus@0/i2c@3190000";
  14. i2c5 = "/bus@0/i2c@31c0000";
  15. i2c6 = "/bus@0/i2c@c250000";
  16. i2c7 = "/bus@0/i2c@31e0000";
  17. mmc0 = "/bus@0/mmc@3460000";
  18. mmc1 = "/bus@0/mmc@3400000";
  19. serial0 = &tcu;
  20. };
  21. chosen {
  22. bootargs = "console=ttyS0,115200n8";
  23. stdout-path = "serial0:115200n8";
  24. };
  25. bus@0 {
  26. ethernet@2490000 {
  27. status = "okay";
  28. phy-reset-gpios = <&gpio TEGRA194_MAIN_GPIO(G, 5) GPIO_ACTIVE_LOW>;
  29. phy-handle = <&phy>;
  30. phy-mode = "rgmii-id";
  31. mdio {
  32. #address-cells = <1>;
  33. #size-cells = <0>;
  34. phy: ethernet-phy@0 {
  35. compatible = "ethernet-phy-ieee802.3-c22";
  36. reg = <0x0>;
  37. interrupt-parent = <&gpio>;
  38. interrupts = <TEGRA194_MAIN_GPIO(G, 4) IRQ_TYPE_LEVEL_LOW>;
  39. #phy-cells = <0>;
  40. };
  41. };
  42. };
  43. memory-controller@2c00000 {
  44. status = "okay";
  45. };
  46. serial@3110000 {
  47. status = "okay";
  48. };
  49. i2c@3160000 {
  50. status = "okay";
  51. eeprom@50 {
  52. compatible = "atmel,24c02";
  53. reg = <0x50>;
  54. label = "module";
  55. vcc-supply = <&vdd_1v8ls>;
  56. address-width = <8>;
  57. pagesize = <8>;
  58. size = <256>;
  59. read-only;
  60. };
  61. };
  62. /* SDMMC1 (SD/MMC) */
  63. mmc@3400000 {
  64. cd-gpios = <&gpio TEGRA194_MAIN_GPIO(G, 7) GPIO_ACTIVE_LOW>;
  65. };
  66. /* SDMMC4 (eMMC) */
  67. mmc@3460000 {
  68. status = "okay";
  69. bus-width = <8>;
  70. non-removable;
  71. vqmmc-supply = <&vdd_1v8ls>;
  72. vmmc-supply = <&vdd_emmc_3v3>;
  73. };
  74. padctl@3520000 {
  75. avdd-usb-supply = <&vdd_usb_3v3>;
  76. vclamp-usb-supply = <&vdd_1v8ao>;
  77. ports {
  78. usb2-0 {
  79. vbus-supply = <&vdd_5v0_sys>;
  80. };
  81. usb2-1 {
  82. vbus-supply = <&vdd_5v0_sys>;
  83. };
  84. usb2-3 {
  85. vbus-supply = <&vdd_5v_sata>;
  86. };
  87. usb3-0 {
  88. vbus-supply = <&vdd_5v0_sys>;
  89. };
  90. usb3-2 {
  91. vbus-supply = <&vdd_5v0_sys>;
  92. };
  93. usb3-3 {
  94. vbus-supply = <&vdd_5v0_sys>;
  95. };
  96. };
  97. };
  98. rtc@c2a0000 {
  99. status = "okay";
  100. };
  101. pmc@c360000 {
  102. nvidia,invert-interrupt;
  103. };
  104. };
  105. bpmp {
  106. i2c {
  107. status = "okay";
  108. pmic: pmic@3c {
  109. compatible = "maxim,max20024";
  110. reg = <0x3c>;
  111. interrupt-parent = <&pmc>;
  112. interrupts = <24 IRQ_TYPE_LEVEL_LOW>;
  113. #interrupt-cells = <2>;
  114. interrupt-controller;
  115. #gpio-cells = <2>;
  116. gpio-controller;
  117. pinctrl-names = "default";
  118. pinctrl-0 = <&max20024_default>;
  119. max20024_default: pinmux {
  120. gpio0 {
  121. pins = "gpio0";
  122. function = "gpio";
  123. };
  124. gpio1 {
  125. pins = "gpio1";
  126. function = "fps-out";
  127. maxim,active-fps-source = <MAX77620_FPS_SRC_DEF>;
  128. };
  129. gpio2 {
  130. pins = "gpio2";
  131. function = "fps-out";
  132. maxim,active-fps-source = <MAX77620_FPS_SRC_DEF>;
  133. };
  134. gpio3 {
  135. pins = "gpio3";
  136. function = "fps-out";
  137. maxim,active-fps-source = <MAX77620_FPS_SRC_DEF>;
  138. };
  139. gpio4 {
  140. pins = "gpio4";
  141. function = "32k-out1";
  142. drive-push-pull = <1>;
  143. };
  144. gpio6 {
  145. pins = "gpio6";
  146. function = "gpio";
  147. drive-push-pull = <1>;
  148. };
  149. gpio7 {
  150. pins = "gpio7";
  151. function = "gpio";
  152. drive-push-pull = <0>;
  153. };
  154. };
  155. fps {
  156. fps0 {
  157. maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
  158. maxim,shutdown-fps-time-period-us = <640>;
  159. };
  160. fps1 {
  161. maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>;
  162. maxim,shutdown-fps-time-period-us = <640>;
  163. maxim,device-state-on-disabled-event = <MAX77620_FPS_INACTIVE_STATE_SLEEP>;
  164. };
  165. fps2 {
  166. maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
  167. maxim,shutdown-fps-time-period-us = <640>;
  168. };
  169. };
  170. regulators {
  171. in-sd0-supply = <&vdd_5v0_sys>;
  172. in-sd1-supply = <&vdd_5v0_sys>;
  173. in-sd2-supply = <&vdd_5v0_sys>;
  174. in-sd3-supply = <&vdd_5v0_sys>;
  175. in-sd4-supply = <&vdd_5v0_sys>;
  176. in-ldo0-1-supply = <&vdd_5v0_sys>;
  177. in-ldo2-supply = <&vdd_5v0_sys>;
  178. in-ldo3-5-supply = <&vdd_5v0_sys>;
  179. in-ldo4-6-supply = <&vdd_5v0_sys>;
  180. in-ldo7-8-supply = <&vdd_1v8ls>;
  181. vdd_1v0: sd0 {
  182. regulator-name = "VDDIO_SYS_1V0";
  183. regulator-min-microvolt = <1000000>;
  184. regulator-max-microvolt = <1000000>;
  185. regulator-always-on;
  186. regulator-boot-on;
  187. };
  188. vdd_1v8hs: sd1 {
  189. regulator-name = "VDDIO_SYS_1V8HS";
  190. regulator-min-microvolt = <1800000>;
  191. regulator-max-microvolt = <1800000>;
  192. regulator-always-on;
  193. regulator-boot-on;
  194. };
  195. vdd_1v8ls: sd2 {
  196. regulator-name = "VDDIO_SYS_1V8LS";
  197. regulator-min-microvolt = <1800000>;
  198. regulator-max-microvolt = <1800000>;
  199. regulator-always-on;
  200. regulator-boot-on;
  201. };
  202. vdd_1v8ao: sd3 {
  203. regulator-name = "VDDIO_AO_1V8";
  204. regulator-min-microvolt = <1800000>;
  205. regulator-max-microvolt = <1800000>;
  206. regulator-always-on;
  207. regulator-boot-on;
  208. };
  209. sd4 {
  210. regulator-name = "VDD_DDR_1V1";
  211. regulator-min-microvolt = <1100000>;
  212. regulator-max-microvolt = <1100000>;
  213. regulator-always-on;
  214. regulator-boot-on;
  215. };
  216. ldo0 {
  217. regulator-name = "VDD_RTC";
  218. regulator-min-microvolt = <800000>;
  219. regulator-max-microvolt = <800000>;
  220. regulator-always-on;
  221. regulator-boot-on;
  222. };
  223. ldo2 {
  224. regulator-name = "VDDIO_AO_3V3";
  225. regulator-min-microvolt = <3300000>;
  226. regulator-max-microvolt = <3300000>;
  227. regulator-always-on;
  228. regulator-boot-on;
  229. };
  230. vdd_emmc_3v3: ldo3 {
  231. regulator-name = "VDD_EMMC_3V3";
  232. regulator-min-microvolt = <3300000>;
  233. regulator-max-microvolt = <3300000>;
  234. };
  235. vdd_usb_3v3: ldo5 {
  236. regulator-name = "VDD_USB_3V3";
  237. regulator-min-microvolt = <3300000>;
  238. regulator-max-microvolt = <3300000>;
  239. };
  240. ldo6 {
  241. regulator-name = "VDD_SDIO_3V3";
  242. regulator-min-microvolt = <3300000>;
  243. regulator-max-microvolt = <3300000>;
  244. };
  245. ldo7 {
  246. regulator-name = "AVDD_CSI_1V2";
  247. regulator-min-microvolt = <1200000>;
  248. regulator-max-microvolt = <1200000>;
  249. };
  250. };
  251. };
  252. temperature-sensor@4c {
  253. compatible = "ti,tmp451";
  254. reg = <0x4c>;
  255. interrupt-parent = <&gpio>;
  256. interrupts = <TEGRA194_MAIN_GPIO(H, 2)
  257. IRQ_TYPE_EDGE_FALLING>;
  258. vcc-supply = <&vdd_1v8ls>;
  259. #thermal-sensor-cells = <1>;
  260. };
  261. };
  262. };
  263. vdd_5v0_sys: regulator-vdd-5v0-sys {
  264. compatible = "regulator-fixed";
  265. regulator-name = "VIN_SYS_5V0";
  266. regulator-min-microvolt = <5000000>;
  267. regulator-max-microvolt = <5000000>;
  268. regulator-always-on;
  269. regulator-boot-on;
  270. };
  271. vdd_hdmi: regulator-vdd-hdmi {
  272. compatible = "regulator-fixed";
  273. regulator-name = "VDD_5V0_HDMI_CON";
  274. regulator-min-microvolt = <5000000>;
  275. regulator-max-microvolt = <5000000>;
  276. gpio = <&gpio TEGRA194_MAIN_GPIO(A, 3) GPIO_ACTIVE_HIGH>;
  277. enable-active-high;
  278. };
  279. vdd_3v3_pcie: regulator-vdd-3v3-pcie {
  280. compatible = "regulator-fixed";
  281. regulator-name = "PEX_3V3";
  282. regulator-min-microvolt = <3300000>;
  283. regulator-max-microvolt = <3300000>;
  284. gpio = <&gpio TEGRA194_MAIN_GPIO(Z, 2) GPIO_ACTIVE_HIGH>;
  285. regulator-boot-on;
  286. enable-active-high;
  287. };
  288. vdd_12v_pcie: regulator-vdd-12v-pcie {
  289. compatible = "regulator-fixed";
  290. regulator-name = "VDD_12V";
  291. regulator-min-microvolt = <1200000>;
  292. regulator-max-microvolt = <1200000>;
  293. gpio = <&gpio TEGRA194_MAIN_GPIO(A, 1) GPIO_ACTIVE_HIGH>;
  294. regulator-boot-on;
  295. };
  296. vdd_5v_sata: regulator-vdd-5v0-sata {
  297. compatible = "regulator-fixed";
  298. regulator-name = "VDD_5V_SATA";
  299. regulator-min-microvolt = <5000000>;
  300. regulator-max-microvolt = <5000000>;
  301. gpio = <&gpio TEGRA194_MAIN_GPIO(Z, 1) GPIO_ACTIVE_HIGH>;
  302. enable-active-high;
  303. };
  304. };