tegra30-cardhu.dts 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439
  1. /dts-v1/;
  2. #include "tegra30.dtsi"
  3. / {
  4. model = "NVIDIA Cardhu";
  5. compatible = "nvidia,cardhu", "nvidia,tegra30";
  6. chosen {
  7. stdout-path = &uarta;
  8. };
  9. aliases {
  10. i2c0 = "/i2c@7000d000";
  11. i2c1 = "/i2c@7000c000";
  12. i2c2 = "/i2c@7000c400";
  13. i2c3 = "/i2c@7000c500";
  14. i2c4 = "/i2c@7000c700";
  15. sdhci0 = "/sdhci@78000600";
  16. sdhci1 = "/sdhci@78000000";
  17. spi0 = "/spi@7000da00";
  18. usb0 = "/usb@7d008000";
  19. };
  20. memory {
  21. device_type = "memory";
  22. reg = <0x80000000 0x40000000>;
  23. };
  24. pcie-controller@00003000 {
  25. status = "okay";
  26. /* AVDD_PEXA and VDD_PEXA inputs are grounded on Cardhu. */
  27. avdd-pexb-supply = <&ldo1_reg>;
  28. vdd-pexb-supply = <&ldo1_reg>;
  29. avdd-pex-pll-supply = <&ldo1_reg>;
  30. hvdd-pex-supply = <&pex_hvdd_3v3_reg>;
  31. vddio-pex-ctl-supply = <&sys_3v3_reg>;
  32. avdd-plle-supply = <&ldo2_reg>;
  33. pci@1,0 {
  34. nvidia,num-lanes = <4>;
  35. };
  36. pci@2,0 {
  37. nvidia,num-lanes = <1>;
  38. };
  39. pci@3,0 {
  40. status = "okay";
  41. nvidia,num-lanes = <1>;
  42. };
  43. };
  44. i2c@7000c000 {
  45. status = "okay";
  46. clock-frequency = <100000>;
  47. };
  48. i2c@7000c400 {
  49. status = "okay";
  50. clock-frequency = <100000>;
  51. };
  52. i2c@7000c500 {
  53. status = "okay";
  54. clock-frequency = <100000>;
  55. };
  56. i2c@7000c700 {
  57. status = "okay";
  58. clock-frequency = <100000>;
  59. };
  60. i2c@7000d000 {
  61. status = "okay";
  62. clock-frequency = <100000>;
  63. pmic: tps65911@2d {
  64. compatible = "ti,tps65911";
  65. reg = <0x2d>;
  66. interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
  67. #interrupt-cells = <2>;
  68. interrupt-controller;
  69. ti,system-power-controller;
  70. #gpio-cells = <2>;
  71. gpio-controller;
  72. vcc1-supply = <&vdd_ac_bat_reg>;
  73. vcc2-supply = <&vdd_ac_bat_reg>;
  74. vcc3-supply = <&vio_reg>;
  75. vcc4-supply = <&vdd_5v0_reg>;
  76. vcc5-supply = <&vdd_ac_bat_reg>;
  77. vcc6-supply = <&vdd2_reg>;
  78. vcc7-supply = <&vdd_ac_bat_reg>;
  79. vccio-supply = <&vdd_ac_bat_reg>;
  80. regulators {
  81. vdd1_reg: vdd1 {
  82. regulator-name = "vddio_ddr_1v2";
  83. regulator-min-microvolt = <1200000>;
  84. regulator-max-microvolt = <1200000>;
  85. regulator-always-on;
  86. };
  87. vdd2_reg: vdd2 {
  88. regulator-name = "vdd_1v5_gen";
  89. regulator-min-microvolt = <1500000>;
  90. regulator-max-microvolt = <1500000>;
  91. regulator-always-on;
  92. };
  93. vddctrl_reg: vddctrl {
  94. regulator-name = "vdd_cpu,vdd_sys";
  95. regulator-min-microvolt = <1000000>;
  96. regulator-max-microvolt = <1000000>;
  97. regulator-always-on;
  98. };
  99. vio_reg: vio {
  100. regulator-name = "vdd_1v8_gen";
  101. regulator-min-microvolt = <1800000>;
  102. regulator-max-microvolt = <1800000>;
  103. regulator-always-on;
  104. };
  105. ldo1_reg: ldo1 {
  106. regulator-name = "vdd_pexa,vdd_pexb";
  107. regulator-min-microvolt = <1050000>;
  108. regulator-max-microvolt = <1050000>;
  109. };
  110. ldo2_reg: ldo2 {
  111. regulator-name = "vdd_sata,avdd_plle";
  112. regulator-min-microvolt = <1050000>;
  113. regulator-max-microvolt = <1050000>;
  114. };
  115. /* LDO3 is not connected to anything */
  116. ldo4_reg: ldo4 {
  117. regulator-name = "vdd_rtc";
  118. regulator-min-microvolt = <1200000>;
  119. regulator-max-microvolt = <1200000>;
  120. regulator-always-on;
  121. };
  122. ldo5_reg: ldo5 {
  123. regulator-name = "vddio_sdmmc,avdd_vdac";
  124. regulator-min-microvolt = <3300000>;
  125. regulator-max-microvolt = <3300000>;
  126. regulator-always-on;
  127. };
  128. ldo6_reg: ldo6 {
  129. regulator-name = "avdd_dsi_csi,pwrdet_mipi";
  130. regulator-min-microvolt = <1200000>;
  131. regulator-max-microvolt = <1200000>;
  132. };
  133. ldo7_reg: ldo7 {
  134. regulator-name = "vdd_pllm,x,u,a_p_c_s";
  135. regulator-min-microvolt = <1200000>;
  136. regulator-max-microvolt = <1200000>;
  137. regulator-always-on;
  138. };
  139. ldo8_reg: ldo8 {
  140. regulator-name = "vdd_ddr_hs";
  141. regulator-min-microvolt = <1000000>;
  142. regulator-max-microvolt = <1000000>;
  143. regulator-always-on;
  144. };
  145. };
  146. };
  147. };
  148. spi@7000da00 {
  149. status = "okay";
  150. spi-max-frequency = <25000000>;
  151. };
  152. sdhci@78000000 {
  153. status = "okay";
  154. cd-gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>;
  155. wp-gpios = <&gpio TEGRA_GPIO(T, 3) GPIO_ACTIVE_HIGH>;
  156. power-gpios = <&gpio TEGRA_GPIO(D, 7) GPIO_ACTIVE_HIGH>;
  157. bus-width = <4>;
  158. };
  159. sdhci@78000600 {
  160. status = "okay";
  161. bus-width = <8>;
  162. };
  163. usb@7d008000 {
  164. nvidia,vbus-gpio = <&gpio TEGRA_GPIO(DD, 4) GPIO_ACTIVE_HIGH>;
  165. status = "okay";
  166. };
  167. regulators {
  168. compatible = "simple-bus";
  169. #address-cells = <1>;
  170. #size-cells = <0>;
  171. vdd_ac_bat_reg: regulator@0 {
  172. compatible = "regulator-fixed";
  173. reg = <0>;
  174. regulator-name = "vdd_ac_bat";
  175. regulator-min-microvolt = <5000000>;
  176. regulator-max-microvolt = <5000000>;
  177. regulator-always-on;
  178. };
  179. cam_1v8_reg: regulator@1 {
  180. compatible = "regulator-fixed";
  181. reg = <1>;
  182. regulator-name = "cam_1v8";
  183. regulator-min-microvolt = <1800000>;
  184. regulator-max-microvolt = <1800000>;
  185. enable-active-high;
  186. gpio = <&gpio TEGRA_GPIO(BB, 4) GPIO_ACTIVE_HIGH>;
  187. vin-supply = <&vio_reg>;
  188. };
  189. cp_5v_reg: regulator@2 {
  190. compatible = "regulator-fixed";
  191. reg = <2>;
  192. regulator-name = "cp_5v";
  193. regulator-min-microvolt = <5000000>;
  194. regulator-max-microvolt = <5000000>;
  195. regulator-boot-on;
  196. regulator-always-on;
  197. enable-active-high;
  198. gpio = <&pmic 0 GPIO_ACTIVE_HIGH>;
  199. };
  200. emmc_3v3_reg: regulator@3 {
  201. compatible = "regulator-fixed";
  202. reg = <3>;
  203. regulator-name = "emmc_3v3";
  204. regulator-min-microvolt = <3300000>;
  205. regulator-max-microvolt = <3300000>;
  206. regulator-always-on;
  207. regulator-boot-on;
  208. enable-active-high;
  209. gpio = <&gpio TEGRA_GPIO(D, 1) GPIO_ACTIVE_HIGH>;
  210. vin-supply = <&sys_3v3_reg>;
  211. };
  212. modem_3v3_reg: regulator@4 {
  213. compatible = "regulator-fixed";
  214. reg = <4>;
  215. regulator-name = "modem_3v3";
  216. regulator-min-microvolt = <3300000>;
  217. regulator-max-microvolt = <3300000>;
  218. enable-active-high;
  219. gpio = <&gpio TEGRA_GPIO(D, 6) GPIO_ACTIVE_HIGH>;
  220. };
  221. pex_hvdd_3v3_reg: regulator@5 {
  222. compatible = "regulator-fixed";
  223. reg = <5>;
  224. regulator-name = "pex_hvdd_3v3";
  225. regulator-min-microvolt = <3300000>;
  226. regulator-max-microvolt = <3300000>;
  227. enable-active-high;
  228. gpio = <&gpio TEGRA_GPIO(L, 7) GPIO_ACTIVE_HIGH>;
  229. vin-supply = <&sys_3v3_reg>;
  230. };
  231. vdd_cam1_ldo_reg: regulator@6 {
  232. compatible = "regulator-fixed";
  233. reg = <6>;
  234. regulator-name = "vdd_cam1_ldo";
  235. regulator-min-microvolt = <2800000>;
  236. regulator-max-microvolt = <2800000>;
  237. enable-active-high;
  238. gpio = <&gpio TEGRA_GPIO(R, 6) GPIO_ACTIVE_HIGH>;
  239. vin-supply = <&sys_3v3_reg>;
  240. };
  241. vdd_cam2_ldo_reg: regulator@7 {
  242. compatible = "regulator-fixed";
  243. reg = <7>;
  244. regulator-name = "vdd_cam2_ldo";
  245. regulator-min-microvolt = <2800000>;
  246. regulator-max-microvolt = <2800000>;
  247. enable-active-high;
  248. gpio = <&gpio TEGRA_GPIO(R, 7) GPIO_ACTIVE_HIGH>;
  249. vin-supply = <&sys_3v3_reg>;
  250. };
  251. vdd_cam3_ldo_reg: regulator@8 {
  252. compatible = "regulator-fixed";
  253. reg = <8>;
  254. regulator-name = "vdd_cam3_ldo";
  255. regulator-min-microvolt = <3300000>;
  256. regulator-max-microvolt = <3300000>;
  257. enable-active-high;
  258. gpio = <&gpio TEGRA_GPIO(S, 0) GPIO_ACTIVE_HIGH>;
  259. vin-supply = <&sys_3v3_reg>;
  260. };
  261. vdd_com_reg: regulator@9 {
  262. compatible = "regulator-fixed";
  263. reg = <9>;
  264. regulator-name = "vdd_com";
  265. regulator-min-microvolt = <3300000>;
  266. regulator-max-microvolt = <3300000>;
  267. regulator-always-on;
  268. regulator-boot-on;
  269. enable-active-high;
  270. gpio = <&gpio TEGRA_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
  271. vin-supply = <&sys_3v3_reg>;
  272. };
  273. vdd_fuse_3v3_reg: regulator@10 {
  274. compatible = "regulator-fixed";
  275. reg = <10>;
  276. regulator-name = "vdd_fuse_3v3";
  277. regulator-min-microvolt = <3300000>;
  278. regulator-max-microvolt = <3300000>;
  279. enable-active-high;
  280. gpio = <&gpio TEGRA_GPIO(L, 6) GPIO_ACTIVE_HIGH>;
  281. vin-supply = <&sys_3v3_reg>;
  282. };
  283. vdd_pnl1_reg: regulator@11 {
  284. compatible = "regulator-fixed";
  285. reg = <11>;
  286. regulator-name = "vdd_pnl1";
  287. regulator-min-microvolt = <3300000>;
  288. regulator-max-microvolt = <3300000>;
  289. regulator-always-on;
  290. regulator-boot-on;
  291. enable-active-high;
  292. gpio = <&gpio TEGRA_GPIO(L, 4) GPIO_ACTIVE_HIGH>;
  293. vin-supply = <&sys_3v3_reg>;
  294. };
  295. vdd_vid_reg: regulator@12 {
  296. compatible = "regulator-fixed";
  297. reg = <12>;
  298. regulator-name = "vddio_vid";
  299. regulator-min-microvolt = <5000000>;
  300. regulator-max-microvolt = <5000000>;
  301. enable-active-high;
  302. gpio = <&gpio TEGRA_GPIO(T, 0) GPIO_ACTIVE_HIGH>;
  303. gpio-open-drain;
  304. vin-supply = <&vdd_5v0_reg>;
  305. };
  306. ddr_reg: regulator@100 {
  307. compatible = "regulator-fixed";
  308. regulator-name = "ddr";
  309. reg = <100>;
  310. regulator-min-microvolt = <1500000>;
  311. regulator-max-microvolt = <1500000>;
  312. regulator-always-on;
  313. regulator-boot-on;
  314. enable-active-high;
  315. gpio = <&pmic 7 GPIO_ACTIVE_HIGH>;
  316. };
  317. sys_3v3_reg: regulator@101 {
  318. compatible = "regulator-fixed";
  319. reg = <101>;
  320. regulator-name = "sys_3v3";
  321. regulator-min-microvolt = <3300000>;
  322. regulator-max-microvolt = <3300000>;
  323. regulator-always-on;
  324. regulator-boot-on;
  325. enable-active-high;
  326. gpio = <&pmic 6 GPIO_ACTIVE_HIGH>;
  327. };
  328. usb1_vbus_reg: regulator@102 {
  329. compatible = "regulator-fixed";
  330. reg = <102>;
  331. regulator-name = "usb1_vbus";
  332. regulator-min-microvolt = <5000000>;
  333. regulator-max-microvolt = <5000000>;
  334. enable-active-high;
  335. gpio = <&gpio TEGRA_GPIO(DD, 6) GPIO_ACTIVE_HIGH>;
  336. gpio-open-drain;
  337. vin-supply = <&vdd_5v0_reg>;
  338. };
  339. usb3_vbus_reg: regulator@103 {
  340. compatible = "regulator-fixed";
  341. reg = <103>;
  342. regulator-name = "usb3_vbus";
  343. regulator-min-microvolt = <5000000>;
  344. regulator-max-microvolt = <5000000>;
  345. enable-active-high;
  346. gpio = <&gpio TEGRA_GPIO(DD, 4) GPIO_ACTIVE_HIGH>;
  347. gpio-open-drain;
  348. vin-supply = <&vdd_5v0_reg>;
  349. };
  350. vdd_5v0_reg: regulator@104 {
  351. compatible = "regulator-fixed";
  352. reg = <104>;
  353. regulator-name = "5v0";
  354. regulator-min-microvolt = <5000000>;
  355. regulator-max-microvolt = <5000000>;
  356. enable-active-high;
  357. gpio = <&pmic 8 GPIO_ACTIVE_HIGH>;
  358. };
  359. vdd_bl_reg: regulator@105 {
  360. compatible = "regulator-fixed";
  361. reg = <105>;
  362. regulator-name = "vdd_bl";
  363. regulator-min-microvolt = <5000000>;
  364. regulator-max-microvolt = <5000000>;
  365. regulator-always-on;
  366. regulator-boot-on;
  367. enable-active-high;
  368. gpio = <&gpio TEGRA_GPIO(DD, 2) GPIO_ACTIVE_HIGH>;
  369. };
  370. vdd_bl2_reg: regulator@106 {
  371. compatible = "regulator-fixed";
  372. reg = <106>;
  373. regulator-name = "vdd_bl2";
  374. regulator-min-microvolt = <5000000>;
  375. regulator-max-microvolt = <5000000>;
  376. regulator-always-on;
  377. regulator-boot-on;
  378. enable-active-high;
  379. gpio = <&gpio TEGRA_GPIO(DD, 0) GPIO_ACTIVE_HIGH>;
  380. };
  381. };
  382. };