tegra114-tn7.dts 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351
  1. /dts-v1/;
  2. #include <dt-bindings/input/input.h>
  3. #include "tegra114.dtsi"
  4. / {
  5. model = "Tegra Note 7";
  6. compatible = "nvidia,tn7", "nvidia,tegra114";
  7. chosen {
  8. /* TN7's bootloader's arguments need to be overridden */
  9. bootargs = "console=ttyS0,115200n8 console=tty1 gpt fbcon=rotate:2";
  10. /* TN7's bootloader will place initrd at this address */
  11. linux,initrd-start = <0x82000000>;
  12. linux,initrd-end = <0x82800000>;
  13. };
  14. aliases {
  15. serial0 = &uartd;
  16. };
  17. firmware {
  18. trusted-foundations {
  19. compatible = "tlm,trusted-foundations";
  20. tlm,version-major = <2>;
  21. tlm,version-minor = <8>;
  22. };
  23. };
  24. memory {
  25. /* memory >= 0x37e00000 is reserved for firmware usage */
  26. reg = <0x80000000 0x37e00000>;
  27. };
  28. host1x@50000000 {
  29. dsi@54300000 {
  30. status = "okay";
  31. vdd-supply = <&vdd_1v2_ap>;
  32. panel@0 {
  33. compatible = "lg,ld070wx3-sl01";
  34. reg = <0>;
  35. power-supply = <&vdd_lcd>;
  36. backlight = <&backlight>;
  37. };
  38. };
  39. };
  40. serial@70006300 {
  41. status = "okay";
  42. };
  43. pwm@7000a000 {
  44. status = "okay";
  45. };
  46. i2c@7000d000 {
  47. status = "okay";
  48. clock-frequency = <400000>;
  49. palmas: pmic@58 {
  50. compatible = "ti,palmas";
  51. reg = <0x58>;
  52. interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_LOW>;
  53. #interrupt-cells = <2>;
  54. interrupt-controller;
  55. ti,system-power-controller;
  56. palmas_gpio: gpio {
  57. compatible = "ti,palmas-gpio";
  58. gpio-controller;
  59. #gpio-cells = <2>;
  60. };
  61. pmic {
  62. compatible = "ti,tps65913-pmic", "ti,palmas-pmic";
  63. ldoln-in-supply = <&vdd_smps10_out2>;
  64. regulators {
  65. smps123 {
  66. regulator-name = "vd-cpu";
  67. regulator-min-microvolt = <1000000>;
  68. regulator-max-microvolt = <1000000>;
  69. regulator-always-on;
  70. regulator-boot-on;
  71. };
  72. smps45 {
  73. regulator-name = "vd-soc";
  74. regulator-min-microvolt = <1100000>;
  75. regulator-max-microvolt = <1100000>;
  76. regulator-always-on;
  77. regulator-boot-on;
  78. };
  79. smps6 {
  80. regulator-name = "va-lcd-hv";
  81. regulator-min-microvolt = <3000000>;
  82. regulator-max-microvolt = <3000000>;
  83. regulator-always-on;
  84. regulator-boot-on;
  85. };
  86. smps7 {
  87. regulator-name = "vd-ddr";
  88. regulator-min-microvolt = <1350000>;
  89. regulator-max-microvolt = <1350000>;
  90. regulator-always-on;
  91. regulator-boot-on;
  92. };
  93. vdd_1v8: smps8 {
  94. regulator-name = "vs-pmu-1v8";
  95. regulator-min-microvolt = <1800000>;
  96. regulator-max-microvolt = <1800000>;
  97. regulator-always-on;
  98. regulator-boot-on;
  99. };
  100. vdd_2v9_sys: smps9 {
  101. regulator-name = "vs-sys-2v9";
  102. regulator-min-microvolt = <2900000>;
  103. regulator-max-microvolt = <2900000>;
  104. regulator-always-on;
  105. regulator-boot-on;
  106. };
  107. vdd_smps10_out1: smps10_out1 {
  108. regulator-name = "vd-smps10-out1";
  109. regulator-min-microvolt = <5000000>;
  110. regulator-max-microvolt = <5000000>;
  111. regulator-always-on;
  112. regulator-boot-on;
  113. };
  114. vdd_smps10_out2: smps10_out2 {
  115. regulator-name = "vd-smps10-out2";
  116. regulator-min-microvolt = <5000000>;
  117. regulator-max-microvolt = <5000000>;
  118. regulator-always-on;
  119. regulator-boot-on;
  120. };
  121. ldo1 {
  122. regulator-name = "va-pllx";
  123. regulator-min-microvolt = <1050000>;
  124. regulator-max-microvolt = <1050000>;
  125. regulator-always-on;
  126. regulator-boot-on;
  127. };
  128. vdd_1v2_ap: ldo2 {
  129. regulator-name = "va-ap-1v2";
  130. regulator-min-microvolt = <1200000>;
  131. regulator-max-microvolt = <1200000>;
  132. regulator-always-on;
  133. regulator-boot-on;
  134. };
  135. ldo3 {
  136. regulator-name = "vd-fuse";
  137. regulator-min-microvolt = <1800000>;
  138. regulator-max-microvolt = <1800000>;
  139. regulator-always-on;
  140. regulator-boot-on;
  141. };
  142. ldo4 {
  143. regulator-name = "vd-ts-hv";
  144. regulator-min-microvolt = <3200000>;
  145. regulator-max-microvolt = <3200000>;
  146. regulator-always-on;
  147. regulator-boot-on;
  148. };
  149. ldo5 {
  150. regulator-name = "va-cam2-hv";
  151. regulator-min-microvolt = <2700000>;
  152. regulator-max-microvolt = <2700000>;
  153. };
  154. ldo6 {
  155. regulator-name = "va-sns-hv";
  156. regulator-min-microvolt = <2850000>;
  157. regulator-max-microvolt = <2850000>;
  158. };
  159. ldo7 {
  160. regulator-name = "va-cam1-hv";
  161. regulator-min-microvolt = <2700000>;
  162. regulator-max-microvolt = <2700000>;
  163. };
  164. ldo8 {
  165. regulator-name = "va-ap-rtc";
  166. regulator-min-microvolt = <1100000>;
  167. regulator-max-microvolt = <1100000>;
  168. ti,enable-ldo8-tracking;
  169. regulator-always-on;
  170. regulator-boot-on;
  171. };
  172. ldo9 {
  173. regulator-name = "vi-sdcard";
  174. regulator-min-microvolt = <2900000>;
  175. regulator-max-microvolt = <2900000>;
  176. };
  177. ldousb {
  178. regulator-name = "avdd-usb";
  179. regulator-min-microvolt = <3300000>;
  180. regulator-max-microvolt = <3300000>;
  181. regulator-always-on;
  182. regulator-boot-on;
  183. };
  184. ldoln {
  185. regulator-name = "va-hdmi";
  186. regulator-min-microvolt = <3300000>;
  187. regulator-max-microvolt = <3300000>;
  188. };
  189. };
  190. };
  191. rtc {
  192. compatible = "ti,palmas-rtc";
  193. interrupt-parent = <&palmas>;
  194. interrupts = <8 0>;
  195. };
  196. };
  197. };
  198. pmc@7000e400 {
  199. nvidia,invert-interrupt;
  200. };
  201. /* eMMC */
  202. sdhci@78000600 {
  203. status = "okay";
  204. bus-width = <8>;
  205. non-removable;
  206. };
  207. usb@7d000000 {
  208. status = "okay";
  209. };
  210. usb-phy@7d000000 {
  211. status = "okay";
  212. nvidia,xcvr-setup = <7>;
  213. nvidia,xcvr-lsfslew = <2>;
  214. nvidia,xcvr-lsrslew = <2>;
  215. interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
  216. /* Should be changed to "otg" once we have vbus_supply */
  217. /* As of now, USB devices need to be powered externally */
  218. dr_mode = "host";
  219. };
  220. backlight: backlight {
  221. compatible = "pwm-backlight";
  222. pwms = <&pwm 1 40000>;
  223. brightness-levels = <0 4 8 16 32 64 128 255>;
  224. default-brightness-level = <6>;
  225. power-supply = <&lcd_bl_en>;
  226. };
  227. clocks {
  228. compatible = "simple-bus";
  229. #address-cells = <1>;
  230. #size-cells = <0>;
  231. clk32k_in: clock {
  232. compatible = "fixed-clock";
  233. reg = <0>;
  234. #clock-cells = <0>;
  235. clock-frequency = <32768>;
  236. };
  237. };
  238. gpio-keys {
  239. compatible = "gpio-keys";
  240. power {
  241. label = "Power";
  242. gpios = <&gpio TEGRA_GPIO(Q, 0) GPIO_ACTIVE_LOW>;
  243. linux,code = <KEY_POWER>;
  244. gpio-key,wakeup;
  245. };
  246. volume_down {
  247. label = "Volume Down";
  248. gpios = <&gpio TEGRA_GPIO(Q, 2) GPIO_ACTIVE_LOW>;
  249. linux,code = <KEY_VOLUMEDOWN>;
  250. };
  251. volume_up {
  252. label = "Volume Up";
  253. gpios = <&gpio TEGRA_GPIO(R, 2) GPIO_ACTIVE_LOW>;
  254. linux,code = <KEY_VOLUMEUP>;
  255. };
  256. };
  257. regulators {
  258. compatible = "simple-bus";
  259. #address-cells = <1>;
  260. #size-cells = <0>;
  261. /* FIXME: output of BQ24192 */
  262. vs_sys: regulator@0 {
  263. compatible = "regulator-fixed";
  264. reg = <0>;
  265. regulator-name = "VS_SYS";
  266. regulator-min-microvolt = <4200000>;
  267. regulator-max-microvolt = <4200000>;
  268. regulator-always-on;
  269. regulator-boot-on;
  270. };
  271. lcd_bl_en: regulator@1 {
  272. compatible = "regulator-fixed";
  273. reg = <1>;
  274. regulator-name = "VDD_LCD_BL";
  275. regulator-min-microvolt = <16500000>;
  276. regulator-max-microvolt = <16500000>;
  277. gpio = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>;
  278. enable-active-high;
  279. vin-supply = <&vs_sys>;
  280. regulator-boot-on;
  281. };
  282. vdd_lcd: regulator@2 {
  283. compatible = "regulator-fixed";
  284. reg = <2>;
  285. regulator-name = "VD_LCD_1V8";
  286. regulator-min-microvolt = <1800000>;
  287. regulator-max-microvolt = <1800000>;
  288. gpio = <&palmas_gpio 4 GPIO_ACTIVE_HIGH>;
  289. enable-active-high;
  290. vin-supply = <&vdd_1v8>;
  291. regulator-boot-on;
  292. };
  293. };
  294. };