tegra30-beaver.dts 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348
  1. /dts-v1/;
  2. #include "tegra30.dtsi"
  3. / {
  4. model = "NVIDIA Beaver";
  5. compatible = "nvidia,beaver", "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@7d000000";
  19. usb1 = "/usb@7d008000";
  20. };
  21. memory {
  22. device_type = "memory";
  23. reg = <0x80000000 0x7ff00000>;
  24. };
  25. pcie-controller@00003000 {
  26. status = "okay";
  27. avdd-pexa-supply = <&ldo1_reg>;
  28. vdd-pexa-supply = <&ldo1_reg>;
  29. avdd-pexb-supply = <&ldo1_reg>;
  30. vdd-pexb-supply = <&ldo1_reg>;
  31. avdd-pex-pll-supply = <&ldo1_reg>;
  32. avdd-plle-supply = <&ldo1_reg>;
  33. vddio-pex-ctl-supply = <&sys_3v3_reg>;
  34. hvdd-pex-supply = <&sys_3v3_pexs_reg>;
  35. pci@1,0 {
  36. status = "okay";
  37. nvidia,num-lanes = <2>;
  38. };
  39. pci@2,0 {
  40. nvidia,num-lanes = <2>;
  41. };
  42. pci@3,0 {
  43. status = "okay";
  44. nvidia,num-lanes = <2>;
  45. };
  46. };
  47. i2c@7000c000 {
  48. status = "okay";
  49. clock-frequency = <100000>;
  50. };
  51. i2c@7000c400 {
  52. status = "okay";
  53. clock-frequency = <100000>;
  54. };
  55. i2c@7000c500 {
  56. status = "okay";
  57. clock-frequency = <100000>;
  58. };
  59. i2c@7000c700 {
  60. status = "okay";
  61. clock-frequency = <100000>;
  62. };
  63. i2c@7000d000 {
  64. status = "okay";
  65. clock-frequency = <100000>;
  66. pmic: tps65911@2d {
  67. compatible = "ti,tps65911";
  68. reg = <0x2d>;
  69. interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
  70. #interrupt-cells = <2>;
  71. interrupt-controller;
  72. ti,system-power-controller;
  73. #gpio-cells = <2>;
  74. gpio-controller;
  75. vcc1-supply = <&vdd_5v_in_reg>;
  76. vcc2-supply = <&vdd_5v_in_reg>;
  77. vcc3-supply = <&vio_reg>;
  78. vcc4-supply = <&vdd_5v_in_reg>;
  79. vcc5-supply = <&vdd_5v_in_reg>;
  80. vcc6-supply = <&vdd2_reg>;
  81. vcc7-supply = <&vdd_5v_in_reg>;
  82. vccio-supply = <&vdd_5v_in_reg>;
  83. regulators {
  84. #address-cells = <1>;
  85. #size-cells = <0>;
  86. vdd1_reg: vdd1 {
  87. regulator-name = "vddio_ddr_1v2";
  88. regulator-min-microvolt = <1200000>;
  89. regulator-max-microvolt = <1200000>;
  90. regulator-always-on;
  91. };
  92. vdd2_reg: vdd2 {
  93. regulator-name = "vdd_1v5_gen";
  94. regulator-min-microvolt = <1500000>;
  95. regulator-max-microvolt = <1500000>;
  96. regulator-always-on;
  97. };
  98. vddctrl_reg: vddctrl {
  99. regulator-name = "vdd_cpu,vdd_sys";
  100. regulator-min-microvolt = <1000000>;
  101. regulator-max-microvolt = <1000000>;
  102. regulator-always-on;
  103. };
  104. vio_reg: vio {
  105. regulator-name = "vdd_1v8_gen";
  106. regulator-min-microvolt = <1800000>;
  107. regulator-max-microvolt = <1800000>;
  108. regulator-always-on;
  109. };
  110. ldo1_reg: ldo1 {
  111. regulator-name = "vdd_pexa,vdd_pexb";
  112. regulator-min-microvolt = <1050000>;
  113. regulator-max-microvolt = <1050000>;
  114. };
  115. ldo2_reg: ldo2 {
  116. regulator-name = "vdd_sata,avdd_plle";
  117. regulator-min-microvolt = <1050000>;
  118. regulator-max-microvolt = <1050000>;
  119. };
  120. /* LDO3 is not connected to anything */
  121. ldo4_reg: ldo4 {
  122. regulator-name = "vdd_rtc";
  123. regulator-min-microvolt = <1200000>;
  124. regulator-max-microvolt = <1200000>;
  125. regulator-always-on;
  126. };
  127. ldo5_reg: ldo5 {
  128. regulator-name = "vddio_sdmmc,avdd_vdac";
  129. regulator-min-microvolt = <3300000>;
  130. regulator-max-microvolt = <3300000>;
  131. regulator-always-on;
  132. };
  133. ldo6_reg: ldo6 {
  134. regulator-name = "avdd_dsi_csi,pwrdet_mipi";
  135. regulator-min-microvolt = <1200000>;
  136. regulator-max-microvolt = <1200000>;
  137. };
  138. ldo7_reg: ldo7 {
  139. regulator-name = "vdd_pllm,x,u,a_p_c_s";
  140. regulator-min-microvolt = <1200000>;
  141. regulator-max-microvolt = <1200000>;
  142. regulator-always-on;
  143. };
  144. ldo8_reg: ldo8 {
  145. regulator-name = "vdd_ddr_hs";
  146. regulator-min-microvolt = <1000000>;
  147. regulator-max-microvolt = <1000000>;
  148. regulator-always-on;
  149. };
  150. };
  151. };
  152. };
  153. spi@7000da00 {
  154. status = "okay";
  155. spi-max-frequency = <25000000>;
  156. spi-flash@1 {
  157. compatible = "winbond,w25q32";
  158. reg = <1>;
  159. spi-max-frequency = <20000000>;
  160. };
  161. };
  162. sdhci@78000000 {
  163. status = "okay";
  164. cd-gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>;
  165. wp-gpios = <&gpio TEGRA_GPIO(T, 3) GPIO_ACTIVE_HIGH>;
  166. power-gpios = <&gpio TEGRA_GPIO(D, 7) GPIO_ACTIVE_HIGH>;
  167. bus-width = <4>;
  168. };
  169. sdhci@78000600 {
  170. status = "okay";
  171. bus-width = <8>;
  172. non-removable;
  173. };
  174. usb@7d000000 {
  175. status = "okay";
  176. dr_mode = "otg";
  177. nvidia,vbus-gpio = <&gpio TEGRA_GPIO(DD, 6) GPIO_ACTIVE_HIGH>;
  178. };
  179. usb@7d008000 {
  180. nvidia,vbus-gpio = <&gpio TEGRA_GPIO(DD, 4) GPIO_ACTIVE_HIGH>;
  181. status = "okay";
  182. };
  183. clocks {
  184. compatible = "simple-bus";
  185. #address-cells = <1>;
  186. #size-cells = <0>;
  187. clk32k_in: clock@0 {
  188. compatible = "fixed-clock";
  189. reg=<0>;
  190. #clock-cells = <0>;
  191. clock-frequency = <32768>;
  192. };
  193. };
  194. regulators {
  195. compatible = "simple-bus";
  196. #address-cells = <1>;
  197. #size-cells = <0>;
  198. vdd_5v_in_reg: regulator@0 {
  199. compatible = "regulator-fixed";
  200. reg = <0>;
  201. regulator-name = "vdd_5v_in";
  202. regulator-min-microvolt = <5000000>;
  203. regulator-max-microvolt = <5000000>;
  204. regulator-always-on;
  205. };
  206. chargepump_5v_reg: regulator@1 {
  207. compatible = "regulator-fixed";
  208. reg = <1>;
  209. regulator-name = "chargepump_5v";
  210. regulator-min-microvolt = <5000000>;
  211. regulator-max-microvolt = <5000000>;
  212. regulator-boot-on;
  213. regulator-always-on;
  214. enable-active-high;
  215. gpio = <&pmic 0 GPIO_ACTIVE_HIGH>;
  216. };
  217. ddr_reg: regulator@2 {
  218. compatible = "regulator-fixed";
  219. reg = <2>;
  220. regulator-name = "vdd_ddr";
  221. regulator-min-microvolt = <1500000>;
  222. regulator-max-microvolt = <1500000>;
  223. regulator-always-on;
  224. regulator-boot-on;
  225. enable-active-high;
  226. gpio = <&pmic 7 GPIO_ACTIVE_HIGH>;
  227. vin-supply = <&vdd_5v_in_reg>;
  228. };
  229. vdd_5v_sata_reg: regulator@3 {
  230. compatible = "regulator-fixed";
  231. reg = <3>;
  232. regulator-name = "vdd_5v_sata";
  233. regulator-min-microvolt = <5000000>;
  234. regulator-max-microvolt = <5000000>;
  235. regulator-always-on;
  236. regulator-boot-on;
  237. enable-active-high;
  238. gpio = <&gpio TEGRA_GPIO(D, 6) GPIO_ACTIVE_HIGH>;
  239. vin-supply = <&vdd_5v_in_reg>;
  240. };
  241. usb1_vbus_reg: regulator@4 {
  242. compatible = "regulator-fixed";
  243. reg = <4>;
  244. regulator-name = "usb1_vbus";
  245. regulator-min-microvolt = <5000000>;
  246. regulator-max-microvolt = <5000000>;
  247. enable-active-high;
  248. gpio = <&gpio TEGRA_GPIO(DD, 6) GPIO_ACTIVE_HIGH>;
  249. gpio-open-drain;
  250. vin-supply = <&vdd_5v_in_reg>;
  251. };
  252. usb3_vbus_reg: regulator@5 {
  253. compatible = "regulator-fixed";
  254. reg = <5>;
  255. regulator-name = "usb3_vbus";
  256. regulator-min-microvolt = <5000000>;
  257. regulator-max-microvolt = <5000000>;
  258. enable-active-high;
  259. gpio = <&gpio TEGRA_GPIO(DD, 4) GPIO_ACTIVE_HIGH>;
  260. gpio-open-drain;
  261. vin-supply = <&vdd_5v_in_reg>;
  262. };
  263. sys_3v3_reg: regulator@6 {
  264. compatible = "regulator-fixed";
  265. reg = <6>;
  266. regulator-name = "sys_3v3,vdd_3v3_alw";
  267. regulator-min-microvolt = <3300000>;
  268. regulator-max-microvolt = <3300000>;
  269. regulator-always-on;
  270. regulator-boot-on;
  271. enable-active-high;
  272. gpio = <&pmic 6 GPIO_ACTIVE_HIGH>;
  273. vin-supply = <&vdd_5v_in_reg>;
  274. };
  275. sys_3v3_pexs_reg: regulator@7 {
  276. compatible = "regulator-fixed";
  277. reg = <7>;
  278. regulator-name = "sys_3v3_pexs";
  279. regulator-min-microvolt = <3300000>;
  280. regulator-max-microvolt = <3300000>;
  281. regulator-always-on;
  282. regulator-boot-on;
  283. enable-active-high;
  284. gpio = <&gpio TEGRA_GPIO(L, 7) GPIO_ACTIVE_HIGH>;
  285. vin-supply = <&sys_3v3_reg>;
  286. };
  287. vdd_5v0_hdmi: regulator@8 {
  288. compatible = "regulator-fixed";
  289. reg = <8>;
  290. regulator-name = "+VDD_5V_HDMI";
  291. regulator-min-microvolt = <5000000>;
  292. regulator-max-microvolt = <5000000>;
  293. regulator-always-on;
  294. regulator-boot-on;
  295. vin-supply = <&sys_3v3_reg>;
  296. };
  297. };
  298. };