tegra30-cardhu.dts 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453
  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. mmc0 = "/sdhci@78000600";
  16. mmc1 = "/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. non-removable;
  163. };
  164. usb@7d008000 {
  165. nvidia,vbus-gpio = <&gpio TEGRA_GPIO(DD, 4) GPIO_ACTIVE_HIGH>;
  166. status = "okay";
  167. };
  168. clocks {
  169. compatible = "simple-bus";
  170. #address-cells = <1>;
  171. #size-cells = <0>;
  172. clk32k_in: clock@0 {
  173. compatible = "fixed-clock";
  174. reg=<0>;
  175. #clock-cells = <0>;
  176. clock-frequency = <32768>;
  177. };
  178. };
  179. regulators {
  180. compatible = "simple-bus";
  181. #address-cells = <1>;
  182. #size-cells = <0>;
  183. vdd_ac_bat_reg: regulator@0 {
  184. compatible = "regulator-fixed";
  185. reg = <0>;
  186. regulator-name = "vdd_ac_bat";
  187. regulator-min-microvolt = <5000000>;
  188. regulator-max-microvolt = <5000000>;
  189. regulator-always-on;
  190. };
  191. cam_1v8_reg: regulator@1 {
  192. compatible = "regulator-fixed";
  193. reg = <1>;
  194. regulator-name = "cam_1v8";
  195. regulator-min-microvolt = <1800000>;
  196. regulator-max-microvolt = <1800000>;
  197. enable-active-high;
  198. gpio = <&gpio TEGRA_GPIO(BB, 4) GPIO_ACTIVE_HIGH>;
  199. vin-supply = <&vio_reg>;
  200. };
  201. cp_5v_reg: regulator@2 {
  202. compatible = "regulator-fixed";
  203. reg = <2>;
  204. regulator-name = "cp_5v";
  205. regulator-min-microvolt = <5000000>;
  206. regulator-max-microvolt = <5000000>;
  207. regulator-boot-on;
  208. regulator-always-on;
  209. enable-active-high;
  210. gpio = <&pmic 0 GPIO_ACTIVE_HIGH>;
  211. };
  212. emmc_3v3_reg: regulator@3 {
  213. compatible = "regulator-fixed";
  214. reg = <3>;
  215. regulator-name = "emmc_3v3";
  216. regulator-min-microvolt = <3300000>;
  217. regulator-max-microvolt = <3300000>;
  218. regulator-always-on;
  219. regulator-boot-on;
  220. enable-active-high;
  221. gpio = <&gpio TEGRA_GPIO(D, 1) GPIO_ACTIVE_HIGH>;
  222. vin-supply = <&sys_3v3_reg>;
  223. };
  224. modem_3v3_reg: regulator@4 {
  225. compatible = "regulator-fixed";
  226. reg = <4>;
  227. regulator-name = "modem_3v3";
  228. regulator-min-microvolt = <3300000>;
  229. regulator-max-microvolt = <3300000>;
  230. enable-active-high;
  231. gpio = <&gpio TEGRA_GPIO(D, 6) GPIO_ACTIVE_HIGH>;
  232. };
  233. pex_hvdd_3v3_reg: regulator@5 {
  234. compatible = "regulator-fixed";
  235. reg = <5>;
  236. regulator-name = "pex_hvdd_3v3";
  237. regulator-min-microvolt = <3300000>;
  238. regulator-max-microvolt = <3300000>;
  239. enable-active-high;
  240. gpio = <&gpio TEGRA_GPIO(L, 7) GPIO_ACTIVE_HIGH>;
  241. vin-supply = <&sys_3v3_reg>;
  242. };
  243. vdd_cam1_ldo_reg: regulator@6 {
  244. compatible = "regulator-fixed";
  245. reg = <6>;
  246. regulator-name = "vdd_cam1_ldo";
  247. regulator-min-microvolt = <2800000>;
  248. regulator-max-microvolt = <2800000>;
  249. enable-active-high;
  250. gpio = <&gpio TEGRA_GPIO(R, 6) GPIO_ACTIVE_HIGH>;
  251. vin-supply = <&sys_3v3_reg>;
  252. };
  253. vdd_cam2_ldo_reg: regulator@7 {
  254. compatible = "regulator-fixed";
  255. reg = <7>;
  256. regulator-name = "vdd_cam2_ldo";
  257. regulator-min-microvolt = <2800000>;
  258. regulator-max-microvolt = <2800000>;
  259. enable-active-high;
  260. gpio = <&gpio TEGRA_GPIO(R, 7) GPIO_ACTIVE_HIGH>;
  261. vin-supply = <&sys_3v3_reg>;
  262. };
  263. vdd_cam3_ldo_reg: regulator@8 {
  264. compatible = "regulator-fixed";
  265. reg = <8>;
  266. regulator-name = "vdd_cam3_ldo";
  267. regulator-min-microvolt = <3300000>;
  268. regulator-max-microvolt = <3300000>;
  269. enable-active-high;
  270. gpio = <&gpio TEGRA_GPIO(S, 0) GPIO_ACTIVE_HIGH>;
  271. vin-supply = <&sys_3v3_reg>;
  272. };
  273. vdd_com_reg: regulator@9 {
  274. compatible = "regulator-fixed";
  275. reg = <9>;
  276. regulator-name = "vdd_com";
  277. regulator-min-microvolt = <3300000>;
  278. regulator-max-microvolt = <3300000>;
  279. regulator-always-on;
  280. regulator-boot-on;
  281. enable-active-high;
  282. gpio = <&gpio TEGRA_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
  283. vin-supply = <&sys_3v3_reg>;
  284. };
  285. vdd_fuse_3v3_reg: regulator@10 {
  286. compatible = "regulator-fixed";
  287. reg = <10>;
  288. regulator-name = "vdd_fuse_3v3";
  289. regulator-min-microvolt = <3300000>;
  290. regulator-max-microvolt = <3300000>;
  291. enable-active-high;
  292. gpio = <&gpio TEGRA_GPIO(L, 6) GPIO_ACTIVE_HIGH>;
  293. vin-supply = <&sys_3v3_reg>;
  294. };
  295. vdd_pnl1_reg: regulator@11 {
  296. compatible = "regulator-fixed";
  297. reg = <11>;
  298. regulator-name = "vdd_pnl1";
  299. regulator-min-microvolt = <3300000>;
  300. regulator-max-microvolt = <3300000>;
  301. regulator-always-on;
  302. regulator-boot-on;
  303. enable-active-high;
  304. gpio = <&gpio TEGRA_GPIO(L, 4) GPIO_ACTIVE_HIGH>;
  305. vin-supply = <&sys_3v3_reg>;
  306. };
  307. vdd_vid_reg: regulator@12 {
  308. compatible = "regulator-fixed";
  309. reg = <12>;
  310. regulator-name = "vddio_vid";
  311. regulator-min-microvolt = <5000000>;
  312. regulator-max-microvolt = <5000000>;
  313. enable-active-high;
  314. gpio = <&gpio TEGRA_GPIO(T, 0) GPIO_ACTIVE_HIGH>;
  315. gpio-open-drain;
  316. vin-supply = <&vdd_5v0_reg>;
  317. };
  318. ddr_reg: regulator@100 {
  319. compatible = "regulator-fixed";
  320. regulator-name = "ddr";
  321. reg = <100>;
  322. regulator-min-microvolt = <1500000>;
  323. regulator-max-microvolt = <1500000>;
  324. regulator-always-on;
  325. regulator-boot-on;
  326. enable-active-high;
  327. gpio = <&pmic 7 GPIO_ACTIVE_HIGH>;
  328. };
  329. sys_3v3_reg: regulator@101 {
  330. compatible = "regulator-fixed";
  331. reg = <101>;
  332. regulator-name = "sys_3v3";
  333. regulator-min-microvolt = <3300000>;
  334. regulator-max-microvolt = <3300000>;
  335. regulator-always-on;
  336. regulator-boot-on;
  337. enable-active-high;
  338. gpio = <&pmic 6 GPIO_ACTIVE_HIGH>;
  339. };
  340. usb1_vbus_reg: regulator@102 {
  341. compatible = "regulator-fixed";
  342. reg = <102>;
  343. regulator-name = "usb1_vbus";
  344. regulator-min-microvolt = <5000000>;
  345. regulator-max-microvolt = <5000000>;
  346. enable-active-high;
  347. gpio = <&gpio TEGRA_GPIO(DD, 6) GPIO_ACTIVE_HIGH>;
  348. gpio-open-drain;
  349. vin-supply = <&vdd_5v0_reg>;
  350. };
  351. usb3_vbus_reg: regulator@103 {
  352. compatible = "regulator-fixed";
  353. reg = <103>;
  354. regulator-name = "usb3_vbus";
  355. regulator-min-microvolt = <5000000>;
  356. regulator-max-microvolt = <5000000>;
  357. enable-active-high;
  358. gpio = <&gpio TEGRA_GPIO(DD, 4) GPIO_ACTIVE_HIGH>;
  359. gpio-open-drain;
  360. vin-supply = <&vdd_5v0_reg>;
  361. };
  362. vdd_5v0_reg: regulator@104 {
  363. compatible = "regulator-fixed";
  364. reg = <104>;
  365. regulator-name = "5v0";
  366. regulator-min-microvolt = <5000000>;
  367. regulator-max-microvolt = <5000000>;
  368. enable-active-high;
  369. gpio = <&pmic 8 GPIO_ACTIVE_HIGH>;
  370. };
  371. vdd_bl_reg: regulator@105 {
  372. compatible = "regulator-fixed";
  373. reg = <105>;
  374. regulator-name = "vdd_bl";
  375. regulator-min-microvolt = <5000000>;
  376. regulator-max-microvolt = <5000000>;
  377. regulator-always-on;
  378. regulator-boot-on;
  379. enable-active-high;
  380. gpio = <&gpio TEGRA_GPIO(DD, 2) GPIO_ACTIVE_HIGH>;
  381. };
  382. vdd_bl2_reg: regulator@106 {
  383. compatible = "regulator-fixed";
  384. reg = <106>;
  385. regulator-name = "vdd_bl2";
  386. regulator-min-microvolt = <5000000>;
  387. regulator-max-microvolt = <5000000>;
  388. regulator-always-on;
  389. regulator-boot-on;
  390. enable-active-high;
  391. gpio = <&gpio TEGRA_GPIO(DD, 0) GPIO_ACTIVE_HIGH>;
  392. };
  393. };
  394. };