tegra124-jetson-tk1.dts 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482
  1. /dts-v1/;
  2. #include "tegra124.dtsi"
  3. / {
  4. model = "NVIDIA Jetson TK1";
  5. compatible = "nvidia,jetson-tk1", "nvidia,tegra124";
  6. chosen {
  7. stdout-path = &uartd;
  8. };
  9. aliases {
  10. i2c0 = "/i2c@7000d000";
  11. i2c1 = "/i2c@7000c000";
  12. i2c2 = "/i2c@7000c400";
  13. i2c3 = "/i2c@7000c500";
  14. i2c4 = "/i2c@7000c700";
  15. mmc0 = "/sdhci@700b0600";
  16. mmc1 = "/sdhci@700b0400";
  17. spi0 = "/spi@7000d400";
  18. spi1 = "/spi@7000da00";
  19. usb0 = "/usb@7d000000";
  20. usb1 = "/usb@7d008000";
  21. };
  22. memory {
  23. device_type = "memory";
  24. reg = <0x80000000 0x80000000>;
  25. };
  26. pcie-controller@01003000 {
  27. status = "okay";
  28. avddio-pex-supply = <&vdd_1v05_run>;
  29. dvddio-pex-supply = <&vdd_1v05_run>;
  30. avdd-pex-pll-supply = <&vdd_1v05_run>;
  31. hvdd-pex-supply = <&vdd_3v3_lp0>;
  32. hvdd-pex-pll-e-supply = <&vdd_3v3_lp0>;
  33. vddio-pex-ctl-supply = <&vdd_3v3_lp0>;
  34. avdd-pll-erefe-supply = <&avdd_1v05_run>;
  35. pci@1,0 {
  36. status = "okay";
  37. };
  38. pci@2,0 {
  39. status = "okay";
  40. };
  41. };
  42. i2c@7000c000 {
  43. status = "okay";
  44. clock-frequency = <100000>;
  45. };
  46. i2c@7000c400 {
  47. status = "okay";
  48. clock-frequency = <100000>;
  49. };
  50. i2c@7000c500 {
  51. status = "okay";
  52. clock-frequency = <100000>;
  53. };
  54. i2c@7000c700 {
  55. status = "okay";
  56. clock-frequency = <100000>;
  57. };
  58. /* Expansion PWR_I2C_*, on-board components */
  59. i2c@7000d000 {
  60. status = "okay";
  61. clock-frequency = <400000>;
  62. pmic: pmic@40 {
  63. compatible = "ams,as3722";
  64. reg = <0x40>;
  65. interrupts = <0 86 IRQ_TYPE_LEVEL_HIGH>;
  66. ams,system-power-controller;
  67. #interrupt-cells = <2>;
  68. interrupt-controller;
  69. gpio-controller;
  70. #gpio-cells = <2>;
  71. pinctrl-names = "default";
  72. pinctrl-0 = <&as3722_default>;
  73. as3722_default: pinmux {
  74. gpio0 {
  75. pins = "gpio0";
  76. function = "gpio";
  77. bias-pull-down;
  78. };
  79. gpio1_2_4_7 {
  80. pins = "gpio1", "gpio2", "gpio4", "gpio7";
  81. function = "gpio";
  82. bias-pull-up;
  83. };
  84. gpio3_5_6 {
  85. pins = "gpio3", "gpio5", "gpio6";
  86. bias-high-impedance;
  87. };
  88. };
  89. regulators {
  90. vsup-sd2-supply = <&vdd_5v0_sys>;
  91. vsup-sd3-supply = <&vdd_5v0_sys>;
  92. vsup-sd4-supply = <&vdd_5v0_sys>;
  93. vsup-sd5-supply = <&vdd_5v0_sys>;
  94. vin-ldo0-supply = <&vdd_1v35_lp0>;
  95. vin-ldo1-6-supply = <&vdd_3v3_run>;
  96. vin-ldo2-5-7-supply = <&vddio_1v8>;
  97. vin-ldo3-4-supply = <&vdd_3v3_sys>;
  98. vin-ldo9-10-supply = <&vdd_5v0_sys>;
  99. vin-ldo11-supply = <&vdd_3v3_run>;
  100. sd0 {
  101. regulator-name = "+VDD_CPU_AP";
  102. regulator-min-microvolt = <700000>;
  103. regulator-max-microvolt = <1400000>;
  104. regulator-min-microamp = <3500000>;
  105. regulator-max-microamp = <3500000>;
  106. regulator-always-on;
  107. regulator-boot-on;
  108. ams,ext-control = <2>;
  109. };
  110. sd1 {
  111. regulator-name = "+VDD_CORE";
  112. regulator-min-microvolt = <700000>;
  113. regulator-max-microvolt = <1350000>;
  114. regulator-min-microamp = <2500000>;
  115. regulator-max-microamp = <2500000>;
  116. regulator-always-on;
  117. regulator-boot-on;
  118. ams,ext-control = <1>;
  119. };
  120. vdd_1v35_lp0: sd2 {
  121. regulator-name = "+1.35V_LP0(sd2)";
  122. regulator-min-microvolt = <1350000>;
  123. regulator-max-microvolt = <1350000>;
  124. regulator-always-on;
  125. regulator-boot-on;
  126. };
  127. sd3 {
  128. regulator-name = "+1.35V_LP0(sd3)";
  129. regulator-min-microvolt = <1350000>;
  130. regulator-max-microvolt = <1350000>;
  131. regulator-always-on;
  132. regulator-boot-on;
  133. };
  134. vdd_1v05_run: sd4 {
  135. regulator-name = "+1.05V_RUN";
  136. regulator-min-microvolt = <1050000>;
  137. regulator-max-microvolt = <1050000>;
  138. };
  139. vddio_1v8: sd5 {
  140. regulator-name = "+1.8V_VDDIO";
  141. regulator-min-microvolt = <1800000>;
  142. regulator-max-microvolt = <1800000>;
  143. regulator-boot-on;
  144. regulator-always-on;
  145. };
  146. vdd_gpu: sd6 {
  147. regulator-name = "+VDD_GPU_AP";
  148. regulator-min-microvolt = <650000>;
  149. regulator-max-microvolt = <1200000>;
  150. regulator-min-microamp = <3500000>;
  151. regulator-max-microamp = <3500000>;
  152. regulator-boot-on;
  153. regulator-always-on;
  154. };
  155. avdd_1v05_run: ldo0 {
  156. regulator-name = "+1.05V_RUN_AVDD";
  157. regulator-min-microvolt = <1050000>;
  158. regulator-max-microvolt = <1050000>;
  159. regulator-boot-on;
  160. regulator-always-on;
  161. ams,ext-control = <1>;
  162. };
  163. ldo1 {
  164. regulator-name = "+1.8V_RUN_CAM";
  165. regulator-min-microvolt = <1800000>;
  166. regulator-max-microvolt = <1800000>;
  167. };
  168. ldo2 {
  169. regulator-name = "+1.2V_GEN_AVDD";
  170. regulator-min-microvolt = <1200000>;
  171. regulator-max-microvolt = <1200000>;
  172. regulator-boot-on;
  173. regulator-always-on;
  174. };
  175. ldo3 {
  176. regulator-name = "+1.05V_LP0_VDD_RTC";
  177. regulator-min-microvolt = <1000000>;
  178. regulator-max-microvolt = <1000000>;
  179. regulator-boot-on;
  180. regulator-always-on;
  181. ams,enable-tracking;
  182. };
  183. ldo4 {
  184. regulator-name = "+2.8V_RUN_CAM";
  185. regulator-min-microvolt = <2800000>;
  186. regulator-max-microvolt = <2800000>;
  187. };
  188. ldo5 {
  189. regulator-name = "+1.2V_RUN_CAM_FRONT";
  190. regulator-min-microvolt = <1200000>;
  191. regulator-max-microvolt = <1200000>;
  192. };
  193. vddio_sdmmc3: ldo6 {
  194. regulator-name = "+VDDIO_SDMMC3";
  195. regulator-min-microvolt = <1800000>;
  196. regulator-max-microvolt = <3300000>;
  197. };
  198. ldo7 {
  199. regulator-name = "+1.05V_RUN_CAM_REAR";
  200. regulator-min-microvolt = <1050000>;
  201. regulator-max-microvolt = <1050000>;
  202. };
  203. ldo9 {
  204. regulator-name = "+3.3V_RUN_TOUCH";
  205. regulator-min-microvolt = <2800000>;
  206. regulator-max-microvolt = <2800000>;
  207. };
  208. ldo10 {
  209. regulator-name = "+2.8V_RUN_CAM_AF";
  210. regulator-min-microvolt = <2800000>;
  211. regulator-max-microvolt = <2800000>;
  212. };
  213. ldo11 {
  214. regulator-name = "+1.8V_RUN_VPP_FUSE";
  215. regulator-min-microvolt = <1800000>;
  216. regulator-max-microvolt = <1800000>;
  217. };
  218. };
  219. };
  220. };
  221. i2c@7000d100 {
  222. status = "okay";
  223. clock-frequency = <400000>;
  224. };
  225. spi@7000d400 {
  226. status = "okay";
  227. spi-max-frequency = <25000000>;
  228. };
  229. spi@7000da00 {
  230. status = "okay";
  231. spi-max-frequency = <25000000>;
  232. };
  233. padctl@7009f000 {
  234. pinctrl-0 = <&padctl_default>;
  235. pinctrl-names = "default";
  236. padctl_default: pinmux {
  237. usb3 {
  238. nvidia,lanes = "pcie-0", "pcie-1";
  239. nvidia,function = "usb3";
  240. nvidia,iddq = <0>;
  241. };
  242. pcie {
  243. nvidia,lanes = "pcie-2", "pcie-3",
  244. "pcie-4";
  245. nvidia,function = "pcie";
  246. nvidia,iddq = <0>;
  247. };
  248. sata {
  249. nvidia,lanes = "sata-0";
  250. nvidia,function = "sata";
  251. nvidia,iddq = <0>;
  252. };
  253. };
  254. };
  255. sdhci@700b0400 {
  256. status = "okay";
  257. cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>;
  258. power-gpios = <&gpio TEGRA_GPIO(R, 0) GPIO_ACTIVE_HIGH>;
  259. wp-gpios = <&gpio TEGRA_GPIO(Q, 4) GPIO_ACTIVE_HIGH>;
  260. bus-width = <4>;
  261. };
  262. sdhci@700b0600 {
  263. status = "okay";
  264. bus-width = <8>;
  265. non-removable;
  266. };
  267. usb@7d000000 {
  268. status = "okay";
  269. dr_mode = "otg";
  270. nvidia,vbus-gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>;
  271. };
  272. usb@7d008000 {
  273. status = "okay";
  274. nvidia,vbus-gpio = <&gpio TEGRA_GPIO(N, 5) GPIO_ACTIVE_HIGH>;
  275. };
  276. clocks {
  277. compatible = "simple-bus";
  278. #address-cells = <1>;
  279. #size-cells = <0>;
  280. clk32k_in: clock@0 {
  281. compatible = "fixed-clock";
  282. reg = <0>;
  283. #clock-cells = <0>;
  284. clock-frequency = <32768>;
  285. };
  286. };
  287. regulators {
  288. compatible = "simple-bus";
  289. #address-cells = <1>;
  290. #size-cells = <0>;
  291. vdd_mux: regulator@0 {
  292. compatible = "regulator-fixed";
  293. reg = <0>;
  294. regulator-name = "+VDD_MUX";
  295. regulator-min-microvolt = <12000000>;
  296. regulator-max-microvolt = <12000000>;
  297. regulator-always-on;
  298. regulator-boot-on;
  299. };
  300. vdd_5v0_sys: regulator@1 {
  301. compatible = "regulator-fixed";
  302. reg = <1>;
  303. regulator-name = "+5V_SYS";
  304. regulator-min-microvolt = <5000000>;
  305. regulator-max-microvolt = <5000000>;
  306. regulator-always-on;
  307. regulator-boot-on;
  308. vin-supply = <&vdd_mux>;
  309. };
  310. vdd_3v3_sys: regulator@2 {
  311. compatible = "regulator-fixed";
  312. reg = <2>;
  313. regulator-name = "+3.3V_SYS";
  314. regulator-min-microvolt = <3300000>;
  315. regulator-max-microvolt = <3300000>;
  316. regulator-always-on;
  317. regulator-boot-on;
  318. vin-supply = <&vdd_mux>;
  319. };
  320. vdd_3v3_run: regulator@3 {
  321. compatible = "regulator-fixed";
  322. reg = <3>;
  323. regulator-name = "+3.3V_RUN";
  324. regulator-min-microvolt = <3300000>;
  325. regulator-max-microvolt = <3300000>;
  326. regulator-always-on;
  327. regulator-boot-on;
  328. gpio = <&pmic 1 GPIO_ACTIVE_HIGH>;
  329. enable-active-high;
  330. vin-supply = <&vdd_3v3_sys>;
  331. };
  332. vdd_3v3_hdmi: regulator@4 {
  333. compatible = "regulator-fixed";
  334. reg = <4>;
  335. regulator-name = "+3.3V_AVDD_HDMI_AP_GATED";
  336. regulator-min-microvolt = <3300000>;
  337. regulator-max-microvolt = <3300000>;
  338. vin-supply = <&vdd_3v3_run>;
  339. };
  340. vdd_usb1_vbus: regulator@7 {
  341. compatible = "regulator-fixed";
  342. reg = <7>;
  343. regulator-name = "+USB0_VBUS_SW";
  344. regulator-min-microvolt = <5000000>;
  345. regulator-max-microvolt = <5000000>;
  346. gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>;
  347. enable-active-high;
  348. gpio-open-drain;
  349. vin-supply = <&vdd_5v0_sys>;
  350. };
  351. vdd_usb3_vbus: regulator@8 {
  352. compatible = "regulator-fixed";
  353. reg = <8>;
  354. regulator-name = "+5V_USB_HS";
  355. regulator-min-microvolt = <5000000>;
  356. regulator-max-microvolt = <5000000>;
  357. gpio = <&gpio TEGRA_GPIO(N, 5) GPIO_ACTIVE_HIGH>;
  358. enable-active-high;
  359. gpio-open-drain;
  360. vin-supply = <&vdd_5v0_sys>;
  361. };
  362. vdd_3v3_lp0: regulator@10 {
  363. compatible = "regulator-fixed";
  364. reg = <10>;
  365. regulator-name = "+3.3V_LP0";
  366. regulator-min-microvolt = <3300000>;
  367. regulator-max-microvolt = <3300000>;
  368. regulator-always-on;
  369. regulator-boot-on;
  370. gpio = <&pmic 2 GPIO_ACTIVE_HIGH>;
  371. enable-active-high;
  372. vin-supply = <&vdd_3v3_sys>;
  373. };
  374. vdd_hdmi_pll: regulator@11 {
  375. compatible = "regulator-fixed";
  376. reg = <11>;
  377. regulator-name = "+1.05V_RUN_AVDD_HDMI_PLL";
  378. regulator-min-microvolt = <1050000>;
  379. regulator-max-microvolt = <1050000>;
  380. gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_LOW>;
  381. vin-supply = <&vdd_1v05_run>;
  382. };
  383. vdd_5v0_hdmi: regulator@12 {
  384. compatible = "regulator-fixed";
  385. reg = <12>;
  386. regulator-name = "+5V_HDMI_CON";
  387. regulator-min-microvolt = <5000000>;
  388. regulator-max-microvolt = <5000000>;
  389. gpio = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>;
  390. enable-active-high;
  391. vin-supply = <&vdd_5v0_sys>;
  392. };
  393. /* Molex power connector */
  394. vdd_5v0_sata: regulator@13 {
  395. compatible = "regulator-fixed";
  396. reg = <13>;
  397. regulator-name = "+5V_SATA";
  398. regulator-min-microvolt = <5000000>;
  399. regulator-max-microvolt = <5000000>;
  400. gpio = <&gpio TEGRA_GPIO(EE, 2) GPIO_ACTIVE_HIGH>;
  401. enable-active-high;
  402. vin-supply = <&vdd_5v0_sys>;
  403. };
  404. vdd_12v0_sata: regulator@14 {
  405. compatible = "regulator-fixed";
  406. reg = <14>;
  407. regulator-name = "+12V_SATA";
  408. regulator-min-microvolt = <12000000>;
  409. regulator-max-microvolt = <12000000>;
  410. gpio = <&gpio TEGRA_GPIO(EE, 2) GPIO_ACTIVE_HIGH>;
  411. enable-active-high;
  412. vin-supply = <&vdd_mux>;
  413. };
  414. };
  415. };