tegra30-asus-tf700t.dts 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823
  1. // SPDX-License-Identifier: GPL-2.0
  2. /dts-v1/;
  3. #include "tegra30-asus-transformer-common.dtsi"
  4. / {
  5. model = "Asus Transformer Infinity TF700T";
  6. compatible = "asus,tf700t", "nvidia,tegra30";
  7. host1x@50000000 {
  8. lcd: dc@54200000 {
  9. clocks = <&tegra_car TEGRA30_CLK_DISP1>,
  10. <&tegra_car TEGRA30_CLK_PLL_D_OUT0>;
  11. rgb {
  12. status = "okay";
  13. port@0 {
  14. dpi_output: endpoint {
  15. remote-endpoint = <&bridge_input>;
  16. bus-width = <24>;
  17. };
  18. };
  19. };
  20. };
  21. };
  22. pinmux@70000868 {
  23. state_default: pinmux {
  24. lcd_pwr2_pc6 {
  25. nvidia,pins = "lcd_pwr2_pc6",
  26. "lcd_dc1_pd2";
  27. nvidia,function = "displaya";
  28. nvidia,pull = <TEGRA_PIN_PULL_NONE>;
  29. nvidia,tristate = <TEGRA_PIN_DISABLE>;
  30. nvidia,enable-input = <TEGRA_PIN_DISABLE>;
  31. };
  32. pbb3 {
  33. nvidia,pins = "pbb3";
  34. nvidia,function = "vgp3";
  35. nvidia,pull = <TEGRA_PIN_PULL_NONE>;
  36. nvidia,tristate = <TEGRA_PIN_DISABLE>;
  37. nvidia,enable-input = <TEGRA_PIN_DISABLE>;
  38. };
  39. spi2_mosi_px0 {
  40. nvidia,pins = "spi2_mosi_px0";
  41. nvidia,function = "spi2";
  42. nvidia,pull = <TEGRA_PIN_PULL_NONE>;
  43. nvidia,tristate = <TEGRA_PIN_DISABLE>;
  44. nvidia,enable-input = <TEGRA_PIN_DISABLE>;
  45. };
  46. pbb7 {
  47. nvidia,pins = "pbb7";
  48. nvidia,function = "i2s4";
  49. nvidia,pull = <TEGRA_PIN_PULL_NONE>;
  50. nvidia,tristate = <TEGRA_PIN_DISABLE>;
  51. nvidia,enable-input = <TEGRA_PIN_DISABLE>;
  52. };
  53. kb_row7_pr7 {
  54. nvidia,pins = "kb_row7_pr7";
  55. nvidia,function = "kbc";
  56. nvidia,pull = <TEGRA_PIN_PULL_NONE>;
  57. nvidia,tristate = <TEGRA_PIN_DISABLE>;
  58. nvidia,enable-input = <TEGRA_PIN_DISABLE>;
  59. };
  60. gmi_cs4_n_pk2 {
  61. nvidia,pins = "gmi_cs4_n_pk2";
  62. nvidia,function = "gmi";
  63. nvidia,pull = <TEGRA_PIN_PULL_UP>;
  64. nvidia,tristate = <TEGRA_PIN_DISABLE>;
  65. nvidia,enable-input = <TEGRA_PIN_ENABLE>;
  66. };
  67. };
  68. };
  69. serial@70006200 {
  70. /* Azurewave AW-NH665 BCM4330B1 */
  71. bluetooth {
  72. compatible = "brcm,bcm4330-bt";
  73. };
  74. };
  75. i2c@7000c400 {
  76. /* Elantech ELAN-3024-7053 or 5184N FPC-1 REV: 2/3 touchscreen */
  77. touchscreen@10 {
  78. compatible = "elan,ektf3624";
  79. reg = <0x10>;
  80. interrupt-parent = <&gpio>;
  81. interrupts = <TEGRA_GPIO(H, 4) IRQ_TYPE_EDGE_FALLING>;
  82. reset-gpios = <&gpio TEGRA_GPIO(H, 6) GPIO_ACTIVE_LOW>;
  83. vcc33-supply = <&vdd_3v3_sys>;
  84. vccio-supply = <&vdd_3v3_sys>;
  85. touchscreen-size-x = <2944>;
  86. touchscreen-size-y = <1856>;
  87. touchscreen-inverted-y;
  88. };
  89. };
  90. i2c@7000c500 {
  91. clock-frequency = <100000>;
  92. magnetometer@e {
  93. mount-matrix = "1", "0", "0",
  94. "0", "-1", "0",
  95. "0", "0", "-1";
  96. };
  97. gyroscope@68 {
  98. mount-matrix = "0", "1", "0",
  99. "1", "0", "0",
  100. "0", "0", "-1";
  101. /* External I2C interface */
  102. i2c-gate {
  103. accelerometer@f {
  104. mount-matrix = "0", "-1", "0",
  105. "-1", "0", "0",
  106. "0", "0", "1";
  107. };
  108. };
  109. };
  110. };
  111. i2c@7000d000 {
  112. /* Realtek ALC5631 audio codec */
  113. rt5631: audio-codec@1a {
  114. compatible = "realtek,rt5631";
  115. reg = <0x1a>;
  116. };
  117. };
  118. memory-controller@7000f000 {
  119. emc-timings-0 {
  120. /* Micron 1GB 800MHZ */
  121. nvidia,ram-code = <0>;
  122. timing-25500000 {
  123. clock-frequency = <25500000>;
  124. nvidia,emem-configuration = < 0x00020001 0xc0000020
  125. 0x00000001 0x00000001 0x00000002 0x00000000
  126. 0x00000001 0x00000001 0x00000003 0x00000008
  127. 0x00000002 0x00000001 0x00000002 0x00000006
  128. 0x06020102 0x000a0502 0x75830303 0x001f0000 >;
  129. };
  130. timing-51000000 {
  131. clock-frequency = <51000000>;
  132. nvidia,emem-configuration = < 0x00010001 0xc0000020
  133. 0x00000001 0x00000001 0x00000002 0x00000000
  134. 0x00000001 0x00000001 0x00000003 0x00000008
  135. 0x00000002 0x00000001 0x00000002 0x00000006
  136. 0x06020102 0x000a0502 0x74630303 0x001f0000 >;
  137. };
  138. timing-102000000 {
  139. clock-frequency = <102000000>;
  140. nvidia,emem-configuration = < 0x00000001 0xc0000030
  141. 0x00000001 0x00000001 0x00000003 0x00000000
  142. 0x00000002 0x00000001 0x00000003 0x00000008
  143. 0x00000002 0x00000001 0x00000002 0x00000006
  144. 0x06020102 0x000a0503 0x73c30504 0x001f0000 >;
  145. };
  146. timing-204000000 {
  147. clock-frequency = <204000000>;
  148. nvidia,emem-configuration = < 0x00000003 0xc0000025
  149. 0x00000001 0x00000001 0x00000005 0x00000002
  150. 0x00000004 0x00000001 0x00000003 0x00000008
  151. 0x00000002 0x00000001 0x00000002 0x00000006
  152. 0x06020102 0x000a0505 0x73840a06 0x001f0000 >;
  153. };
  154. timing-400000000 {
  155. clock-frequency = <400000000>;
  156. nvidia,emem-configuration = < 0x00000006 0xc0000048
  157. 0x00000001 0x00000002 0x00000009 0x00000005
  158. 0x00000007 0x00000001 0x00000002 0x00000008
  159. 0x00000002 0x00000002 0x00000003 0x00000006
  160. 0x06030202 0x000d0709 0x7086120a 0x001f0000 >;
  161. };
  162. timing-800000000 {
  163. clock-frequency = <800000000>;
  164. nvidia,emem-configuration = < 0x0000000c 0xc0000090
  165. 0x00000004 0x00000005 0x00000013 0x0000000c
  166. 0x0000000f 0x00000002 0x00000003 0x0000000c
  167. 0x00000002 0x00000002 0x00000004 0x00000008
  168. 0x08040202 0x00160d13 0x712c2414 0x001f0000 >;
  169. };
  170. };
  171. emc-timings-1 {
  172. /* Elpida 1GB 800MHZ */
  173. nvidia,ram-code = <1>;
  174. timing-25500000 {
  175. clock-frequency = <25500000>;
  176. nvidia,emem-configuration = < 0x00020001 0xc0000020
  177. 0x00000001 0x00000001 0x00000002 0x00000000
  178. 0x00000001 0x00000001 0x00000003 0x00000008
  179. 0x00000002 0x00000001 0x00000002 0x00000006
  180. 0x06020102 0x000a0502 0x75830303 0x001f0000 >;
  181. };
  182. timing-51000000 {
  183. clock-frequency = <51000000>;
  184. nvidia,emem-configuration = < 0x00010001 0xc0000020
  185. 0x00000001 0x00000001 0x00000002 0x00000000
  186. 0x00000001 0x00000001 0x00000003 0x00000008
  187. 0x00000002 0x00000001 0x00000002 0x00000006
  188. 0x06020102 0x000a0502 0x74630303 0x001f0000 >;
  189. };
  190. timing-102000000 {
  191. clock-frequency = <102000000>;
  192. nvidia,emem-configuration = < 0x00000001 0xc0000030
  193. 0x00000001 0x00000001 0x00000003 0x00000000
  194. 0x00000002 0x00000001 0x00000003 0x00000008
  195. 0x00000002 0x00000001 0x00000002 0x00000006
  196. 0x06020102 0x000a0503 0x73c30504 0x001f0000 >;
  197. };
  198. timing-204000000 {
  199. clock-frequency = <204000000>;
  200. nvidia,emem-configuration = < 0x00000003 0xc0000025
  201. 0x00000001 0x00000001 0x00000005 0x00000002
  202. 0x00000004 0x00000001 0x00000003 0x00000008
  203. 0x00000002 0x00000001 0x00000002 0x00000006
  204. 0x06020102 0x000a0505 0x73840a06 0x001f0000 >;
  205. };
  206. timing-400000000 {
  207. clock-frequency = <400000000>;
  208. nvidia,emem-configuration = < 0x00000006 0xc0000048
  209. 0x00000001 0x00000002 0x00000009 0x00000005
  210. 0x00000007 0x00000001 0x00000002 0x00000008
  211. 0x00000002 0x00000002 0x00000003 0x00000006
  212. 0x06030202 0x000d0709 0x7086120a 0x001f0000 >;
  213. };
  214. timing-800000000 {
  215. clock-frequency = <800000000>;
  216. nvidia,emem-configuration = < 0x0000000c 0xc0000090
  217. 0x00000004 0x00000005 0x00000013 0x0000000c
  218. 0x0000000f 0x00000002 0x00000003 0x0000000c
  219. 0x00000002 0x00000002 0x00000004 0x00000008
  220. 0x08040202 0x00160d13 0x712c2414 0x001f0000 >;
  221. };
  222. };
  223. };
  224. memory-controller@7000f400 {
  225. emc-timings-0 {
  226. /* Micron 1GB 800MHZ */
  227. nvidia,ram-code = <0>;
  228. timing-25500000 {
  229. clock-frequency = <25500000>;
  230. nvidia,emc-auto-cal-interval = <0x001fffff>;
  231. nvidia,emc-mode-1 = <0x80100003>;
  232. nvidia,emc-mode-2 = <0x80200008>;
  233. nvidia,emc-mode-reset = <0x80001221>;
  234. nvidia,emc-zcal-cnt-long = <0x00000040>;
  235. nvidia,emc-cfg-dyn-self-ref;
  236. nvidia,emc-cfg-periodic-qrst;
  237. nvidia,emc-configuration = < 0x00000001
  238. 0x00000006 0x00000000 0x00000000 0x00000002
  239. 0x0000000a 0x00000005 0x0000000b 0x00000000
  240. 0x00000000 0x00000003 0x00000001 0x00000000
  241. 0x00000005 0x00000005 0x00000004 0x0000000a
  242. 0x0000000b 0x000000c0 0x00000000 0x00000030
  243. 0x00000002 0x00000002 0x00000001 0x00000000
  244. 0x00000007 0x0000000f 0x00000007 0x00000007
  245. 0x00000004 0x00000002 0x00000000 0x00000004
  246. 0x00000005 0x000000c7 0x00000006 0x00000004
  247. 0x00000000 0x00000000 0x00004288 0x007800a4
  248. 0x00008000 0x000fc000 0x000fc000 0x000fc000
  249. 0x000fc000 0x000fc000 0x000fc000 0x000fc000
  250. 0x000fc000 0x00000000 0x00000000 0x00000000
  251. 0x00000000 0x00000000 0x00000000 0x00000000
  252. 0x00000000 0x00000000 0x00000000 0x00000000
  253. 0x00000000 0x00000000 0x00000000 0x00000000
  254. 0x00000000 0x000fc000 0x000fc000 0x000fc000
  255. 0x000fc000 0x000002a0 0x0800211c 0x00000000
  256. 0x77fff884 0x01f1f108 0x05057404 0x54000007
  257. 0x08000168 0x08000000 0x00000802 0x00000000
  258. 0x00000040 0x000c000c 0xa0f10000 0x00000000
  259. 0x00000000 0x80000287 0xe8000000 0xff00ff00 >;
  260. };
  261. timing-51000000 {
  262. clock-frequency = <51000000>;
  263. nvidia,emc-auto-cal-interval = <0x001fffff>;
  264. nvidia,emc-mode-1 = <0x80100003>;
  265. nvidia,emc-mode-2 = <0x80200008>;
  266. nvidia,emc-mode-reset = <0x80001221>;
  267. nvidia,emc-zcal-cnt-long = <0x00000040>;
  268. nvidia,emc-cfg-dyn-self-ref;
  269. nvidia,emc-cfg-periodic-qrst;
  270. nvidia,emc-configuration = < 0x00000002
  271. 0x0000000d 0x00000001 0x00000000 0x00000002
  272. 0x0000000a 0x00000005 0x0000000b 0x00000000
  273. 0x00000000 0x00000003 0x00000001 0x00000000
  274. 0x00000005 0x00000005 0x00000004 0x0000000a
  275. 0x0000000b 0x00000181 0x00000000 0x00000060
  276. 0x00000002 0x00000002 0x00000001 0x00000000
  277. 0x00000007 0x0000000f 0x0000000e 0x0000000e
  278. 0x00000004 0x00000003 0x00000000 0x00000004
  279. 0x00000005 0x0000018e 0x00000006 0x00000004
  280. 0x00000000 0x00000000 0x00004288 0x007800a4
  281. 0x00008000 0x000fc000 0x000fc000 0x000fc000
  282. 0x000fc000 0x000fc000 0x000fc000 0x000fc000
  283. 0x000fc000 0x00000000 0x00000000 0x00000000
  284. 0x00000000 0x00000000 0x00000000 0x00000000
  285. 0x00000000 0x00000000 0x00000000 0x00000000
  286. 0x00000000 0x00000000 0x00000000 0x00000000
  287. 0x00000000 0x000fc000 0x000fc000 0x000fc000
  288. 0x000fc000 0x000002a0 0x0800211c 0x00000000
  289. 0x77fff884 0x01f1f108 0x05057404 0x54000007
  290. 0x08000168 0x08000000 0x00000802 0x00000000
  291. 0x00000040 0x000c000c 0xa0f10000 0x00000000
  292. 0x00000000 0x8000040b 0xe8000000 0xff00ff00 >;
  293. };
  294. timing-102000000 {
  295. clock-frequency = <102000000>;
  296. nvidia,emc-auto-cal-interval = <0x001fffff>;
  297. nvidia,emc-mode-1 = <0x80100003>;
  298. nvidia,emc-mode-2 = <0x80200008>;
  299. nvidia,emc-mode-reset = <0x80001221>;
  300. nvidia,emc-zcal-cnt-long = <0x00000040>;
  301. nvidia,emc-cfg-dyn-self-ref;
  302. nvidia,emc-cfg-periodic-qrst;
  303. nvidia,emc-configuration = < 0x00000004
  304. 0x0000001a 0x00000003 0x00000001 0x00000002
  305. 0x0000000a 0x00000005 0x0000000b 0x00000001
  306. 0x00000001 0x00000003 0x00000001 0x00000000
  307. 0x00000005 0x00000005 0x00000004 0x0000000a
  308. 0x0000000b 0x00000303 0x00000000 0x000000c0
  309. 0x00000002 0x00000002 0x00000001 0x00000000
  310. 0x00000007 0x0000000f 0x0000001c 0x0000001c
  311. 0x00000004 0x00000005 0x00000000 0x00000004
  312. 0x00000005 0x0000031c 0x00000006 0x00000004
  313. 0x00000000 0x00000000 0x00004288 0x007800a4
  314. 0x00008000 0x000fc000 0x000fc000 0x000fc000
  315. 0x000fc000 0x000fc000 0x000fc000 0x000fc000
  316. 0x000fc000 0x00000000 0x00000000 0x00000000
  317. 0x00000000 0x00000000 0x00000000 0x00000000
  318. 0x00000000 0x00000000 0x00000000 0x00000000
  319. 0x00000000 0x00000000 0x00000000 0x00000000
  320. 0x00000000 0x000fc000 0x000fc000 0x000fc000
  321. 0x000fc000 0x000002a0 0x0800211c 0x00000000
  322. 0x77fff884 0x01f1f108 0x05057404 0x54000007
  323. 0x08000168 0x08000000 0x00000802 0x00000000
  324. 0x00000040 0x000c000c 0xa0f10000 0x00000000
  325. 0x00000000 0x80000713 0xe8000000 0xff00ff00 >;
  326. };
  327. timing-204000000 {
  328. clock-frequency = <204000000>;
  329. nvidia,emc-auto-cal-interval = <0x001fffff>;
  330. nvidia,emc-mode-1 = <0x80100003>;
  331. nvidia,emc-mode-2 = <0x80200008>;
  332. nvidia,emc-mode-reset = <0x80001221>;
  333. nvidia,emc-zcal-cnt-long = <0x00000040>;
  334. nvidia,emc-cfg-dyn-self-ref;
  335. nvidia,emc-cfg-periodic-qrst;
  336. nvidia,emc-configuration = < 0x00000009
  337. 0x00000035 0x00000007 0x00000002 0x00000002
  338. 0x0000000a 0x00000005 0x0000000b 0x00000002
  339. 0x00000002 0x00000003 0x00000001 0x00000000
  340. 0x00000005 0x00000006 0x00000004 0x0000000a
  341. 0x0000000b 0x00000607 0x00000000 0x00000181
  342. 0x00000002 0x00000002 0x00000001 0x00000000
  343. 0x00000007 0x0000000f 0x00000038 0x00000038
  344. 0x00000004 0x00000009 0x00000000 0x00000004
  345. 0x00000005 0x00000638 0x00000007 0x00000004
  346. 0x00000000 0x00000000 0x00004288 0x004400a4
  347. 0x00008000 0x00080000 0x00080000 0x00080000
  348. 0x00080000 0x00080000 0x00080000 0x00080000
  349. 0x00080000 0x00000000 0x00000000 0x00000000
  350. 0x00000000 0x00000000 0x00000000 0x00000000
  351. 0x00000000 0x00000000 0x00000000 0x00000000
  352. 0x00000000 0x00000000 0x00000000 0x00000000
  353. 0x00000000 0x00080000 0x00080000 0x00080000
  354. 0x00080000 0x000002a0 0x0800211c 0x00000000
  355. 0x77fff884 0x01f1f108 0x05057404 0x54000007
  356. 0x08000168 0x08000000 0x00000802 0x00020000
  357. 0x00000100 0x000c000c 0xa0f10000 0x00000000
  358. 0x00000000 0x80000d22 0xe8000000 0xff00ff00 >;
  359. };
  360. timing-400000000 {
  361. clock-frequency = <400000000>;
  362. nvidia,emc-auto-cal-interval = <0x001fffff>;
  363. nvidia,emc-mode-1 = <0x80100002>;
  364. nvidia,emc-mode-2 = <0x80200000>;
  365. nvidia,emc-mode-reset = <0x80000521>;
  366. nvidia,emc-zcal-cnt-long = <0x00000040>;
  367. nvidia,emc-configuration = < 0x00000012
  368. 0x00000066 0x0000000c 0x00000004 0x00000003
  369. 0x00000008 0x00000002 0x0000000a 0x00000004
  370. 0x00000004 0x00000002 0x00000001 0x00000000
  371. 0x00000004 0x00000006 0x00000004 0x0000000a
  372. 0x0000000c 0x00000bf0 0x00000000 0x000002fc
  373. 0x00000001 0x00000008 0x00000001 0x00000000
  374. 0x00000008 0x0000000f 0x0000006c 0x00000200
  375. 0x00000004 0x00000010 0x00000000 0x00000004
  376. 0x00000005 0x00000c30 0x00000000 0x00000004
  377. 0x00000000 0x00000000 0x00007088 0x001d0084
  378. 0x00008000 0x00044000 0x00044000 0x00044000
  379. 0x00044000 0x00014000 0x00014000 0x00014000
  380. 0x00014000 0x00000000 0x00000000 0x00000000
  381. 0x00000000 0x00000000 0x00000000 0x00000000
  382. 0x00000000 0x00000000 0x00000000 0x00000000
  383. 0x00000000 0x00000000 0x00000000 0x00000000
  384. 0x00000000 0x00048000 0x00048000 0x00048000
  385. 0x00048000 0x000002a0 0x0600013d 0x00000000
  386. 0x77fff884 0x01f1f508 0x05057404 0x54000007
  387. 0x080001e8 0x08000021 0x00000802 0x00020000
  388. 0x00000100 0x0158000c 0xa0f10000 0x00000000
  389. 0x00000000 0x800018c8 0xe8000000 0xff00ff89 >;
  390. };
  391. timing-800000000 {
  392. clock-frequency = <800000000>;
  393. nvidia,emc-auto-cal-interval = <0x001fffff>;
  394. nvidia,emc-mode-1 = <0x80100002>;
  395. nvidia,emc-mode-2 = <0x80200018>;
  396. nvidia,emc-mode-reset = <0x80000d71>;
  397. nvidia,emc-zcal-cnt-long = <0x00000040>;
  398. nvidia,emc-cfg-periodic-qrst;
  399. nvidia,emc-configuration = < 0x00000025
  400. 0x000000ce 0x0000001a 0x00000009 0x00000005
  401. 0x0000000d 0x00000004 0x00000013 0x00000009
  402. 0x00000009 0x00000004 0x00000001 0x00000000
  403. 0x00000007 0x0000000a 0x00000009 0x0000000a
  404. 0x00000011 0x00001820 0x00000000 0x00000608
  405. 0x00000003 0x00000012 0x00000001 0x00000000
  406. 0x0000000f 0x00000018 0x000000d8 0x00000200
  407. 0x00000005 0x00000020 0x00000000 0x00000007
  408. 0x00000008 0x00001860 0x0000000b 0x00000006
  409. 0x00000000 0x00000000 0x00005088 0xf0070191
  410. 0x00008000 0x0000000a 0x0000000a 0x0000000a
  411. 0x0000000a 0x0000000a 0x0000000a 0x0000000a
  412. 0x0000000a 0x00018000 0x00018000 0x00018000
  413. 0x00018000 0x00000000 0x00000000 0x00000000
  414. 0x00000000 0x00000000 0x00000000 0x00000000
  415. 0x00000000 0x00000000 0x00000000 0x00000000
  416. 0x00000000 0x0000000a 0x0000000a 0x0000000a
  417. 0x0000000a 0x000002a0 0x0800013d 0x22220000
  418. 0x77fff884 0x01f1f501 0x07077404 0x54000000
  419. 0x080001e8 0x08000021 0x00000802 0x00020000
  420. 0x00000100 0x00f0000c 0xa0f10000 0x00000000
  421. 0x00000000 0x8000308c 0xe8000000 0xff00ff49 >;
  422. };
  423. };
  424. emc-timings-1 {
  425. /* Elpida 1GB 800MHZ */
  426. nvidia,ram-code = <1>;
  427. timing-25500000 {
  428. clock-frequency = <25500000>;
  429. nvidia,emc-auto-cal-interval = <0x001fffff>;
  430. nvidia,emc-mode-1 = <0x80100003>;
  431. nvidia,emc-mode-2 = <0x80200008>;
  432. nvidia,emc-mode-reset = <0x80001221>;
  433. nvidia,emc-zcal-cnt-long = <0x00000040>;
  434. nvidia,emc-cfg-dyn-self-ref;
  435. nvidia,emc-cfg-periodic-qrst;
  436. nvidia,emc-configuration = < 0x00000001
  437. 0x00000006 0x00000000 0x00000000 0x00000002
  438. 0x0000000a 0x00000005 0x0000000b 0x00000000
  439. 0x00000000 0x00000003 0x00000001 0x00000000
  440. 0x00000005 0x00000005 0x00000004 0x0000000a
  441. 0x0000000b 0x000000c0 0x00000000 0x00000030
  442. 0x00000002 0x00000002 0x00000001 0x00000000
  443. 0x00000007 0x0000000f 0x00000007 0x00000007
  444. 0x00000004 0x00000002 0x00000000 0x00000004
  445. 0x00000005 0x000000c7 0x00000006 0x00000004
  446. 0x00000000 0x00000000 0x00004288 0x007800a4
  447. 0x00008000 0x000fc000 0x000fc000 0x000fc000
  448. 0x000fc000 0x000fc000 0x000fc000 0x000fc000
  449. 0x000fc000 0x00000000 0x00000000 0x00000000
  450. 0x00000000 0x00000000 0x00000000 0x00000000
  451. 0x00000000 0x00000000 0x00000000 0x00000000
  452. 0x00000000 0x00000000 0x00000000 0x00000000
  453. 0x00000000 0x000fc000 0x000fc000 0x000fc000
  454. 0x000fc000 0x000002a0 0x0800211c 0x00000000
  455. 0x77fff884 0x01f1f108 0x05057404 0x54000007
  456. 0x08000168 0x08000000 0x00000802 0x00000000
  457. 0x00000040 0x000c000c 0xa0f10000 0x00000000
  458. 0x00000000 0x80000287 0xe8000000 0xff00ff00 >;
  459. };
  460. timing-51000000 {
  461. clock-frequency = <51000000>;
  462. nvidia,emc-auto-cal-interval = <0x001fffff>;
  463. nvidia,emc-mode-1 = <0x80100003>;
  464. nvidia,emc-mode-2 = <0x80200008>;
  465. nvidia,emc-mode-reset = <0x80001221>;
  466. nvidia,emc-zcal-cnt-long = <0x00000040>;
  467. nvidia,emc-cfg-dyn-self-ref;
  468. nvidia,emc-cfg-periodic-qrst;
  469. nvidia,emc-configuration = < 0x00000002
  470. 0x0000000d 0x00000001 0x00000000 0x00000002
  471. 0x0000000a 0x00000005 0x0000000b 0x00000000
  472. 0x00000000 0x00000003 0x00000001 0x00000000
  473. 0x00000005 0x00000005 0x00000004 0x0000000a
  474. 0x0000000b 0x00000181 0x00000000 0x00000060
  475. 0x00000002 0x00000002 0x00000001 0x00000000
  476. 0x00000007 0x0000000f 0x0000000e 0x0000000e
  477. 0x00000004 0x00000003 0x00000000 0x00000004
  478. 0x00000005 0x0000018e 0x00000006 0x00000004
  479. 0x00000000 0x00000000 0x00004288 0x007800a4
  480. 0x00008000 0x000fc000 0x000fc000 0x000fc000
  481. 0x000fc000 0x000fc000 0x000fc000 0x000fc000
  482. 0x000fc000 0x00000000 0x00000000 0x00000000
  483. 0x00000000 0x00000000 0x00000000 0x00000000
  484. 0x00000000 0x00000000 0x00000000 0x00000000
  485. 0x00000000 0x00000000 0x00000000 0x00000000
  486. 0x00000000 0x000fc000 0x000fc000 0x000fc000
  487. 0x000fc000 0x000002a0 0x0800211c 0x00000000
  488. 0x77fff884 0x01f1f108 0x05057404 0x54000007
  489. 0x08000168 0x08000000 0x00000802 0x00000000
  490. 0x00000040 0x000c000c 0xa0f10000 0x00000000
  491. 0x00000000 0x8000040b 0xe8000000 0xff00ff00 >;
  492. };
  493. timing-102000000 {
  494. clock-frequency = <102000000>;
  495. nvidia,emc-auto-cal-interval = <0x001fffff>;
  496. nvidia,emc-mode-1 = <0x80100003>;
  497. nvidia,emc-mode-2 = <0x80200008>;
  498. nvidia,emc-mode-reset = <0x80001221>;
  499. nvidia,emc-zcal-cnt-long = <0x00000040>;
  500. nvidia,emc-cfg-dyn-self-ref;
  501. nvidia,emc-cfg-periodic-qrst;
  502. nvidia,emc-configuration = < 0x00000004
  503. 0x0000001a 0x00000003 0x00000001 0x00000002
  504. 0x0000000a 0x00000005 0x0000000b 0x00000001
  505. 0x00000001 0x00000003 0x00000001 0x00000000
  506. 0x00000005 0x00000005 0x00000004 0x0000000a
  507. 0x0000000b 0x00000303 0x00000000 0x000000c0
  508. 0x00000002 0x00000002 0x00000001 0x00000000
  509. 0x00000007 0x0000000f 0x0000001c 0x0000001c
  510. 0x00000004 0x00000005 0x00000000 0x00000004
  511. 0x00000005 0x0000031c 0x00000006 0x00000004
  512. 0x00000000 0x00000000 0x00004288 0x007800a4
  513. 0x00008000 0x000fc000 0x000fc000 0x000fc000
  514. 0x000fc000 0x000fc000 0x000fc000 0x000fc000
  515. 0x000fc000 0x00000000 0x00000000 0x00000000
  516. 0x00000000 0x00000000 0x00000000 0x00000000
  517. 0x00000000 0x00000000 0x00000000 0x00000000
  518. 0x00000000 0x00000000 0x00000000 0x00000000
  519. 0x00000000 0x000fc000 0x000fc000 0x000fc000
  520. 0x000fc000 0x000002a0 0x0800211c 0x00000000
  521. 0x77fff884 0x01f1f108 0x05057404 0x54000007
  522. 0x08000168 0x08000000 0x00000802 0x00000000
  523. 0x00000040 0x000c000c 0xa0f10000 0x00000000
  524. 0x00000000 0x80000713 0xe8000000 0xff00ff00 >;
  525. };
  526. timing-204000000 {
  527. clock-frequency = <204000000>;
  528. nvidia,emc-auto-cal-interval = <0x001fffff>;
  529. nvidia,emc-mode-1 = <0x80100003>;
  530. nvidia,emc-mode-2 = <0x80200008>;
  531. nvidia,emc-mode-reset = <0x80001221>;
  532. nvidia,emc-zcal-cnt-long = <0x00000040>;
  533. nvidia,emc-cfg-dyn-self-ref;
  534. nvidia,emc-cfg-periodic-qrst;
  535. nvidia,emc-configuration = < 0x00000009
  536. 0x00000035 0x00000007 0x00000002 0x00000002
  537. 0x0000000a 0x00000005 0x0000000b 0x00000002
  538. 0x00000002 0x00000003 0x00000001 0x00000000
  539. 0x00000005 0x00000006 0x00000004 0x0000000a
  540. 0x0000000b 0x00000607 0x00000000 0x00000181
  541. 0x00000002 0x00000002 0x00000001 0x00000000
  542. 0x00000007 0x0000000f 0x00000038 0x00000038
  543. 0x00000004 0x00000009 0x00000000 0x00000004
  544. 0x00000005 0x00000638 0x00000007 0x00000004
  545. 0x00000000 0x00000000 0x00004288 0x004400a4
  546. 0x00008000 0x00080000 0x00080000 0x00080000
  547. 0x00080000 0x00080000 0x00080000 0x00080000
  548. 0x00080000 0x00000000 0x00000000 0x00000000
  549. 0x00000000 0x00000000 0x00000000 0x00000000
  550. 0x00000000 0x00000000 0x00000000 0x00000000
  551. 0x00000000 0x00000000 0x00000000 0x00000000
  552. 0x00000000 0x00080000 0x00080000 0x00080000
  553. 0x00080000 0x000002a0 0x0800211c 0x00000000
  554. 0x77fff884 0x01f1f108 0x05057404 0x54000007
  555. 0x08000168 0x08000000 0x00000802 0x00020000
  556. 0x00000100 0x000c000c 0xa0f10000 0x00000000
  557. 0x00000000 0x80000d22 0xe8000000 0xff00ff00 >;
  558. };
  559. timing-400000000 {
  560. clock-frequency = <400000000>;
  561. nvidia,emc-auto-cal-interval = <0x001fffff>;
  562. nvidia,emc-mode-1 = <0x80100002>;
  563. nvidia,emc-mode-2 = <0x80200000>;
  564. nvidia,emc-mode-reset = <0x80000521>;
  565. nvidia,emc-zcal-cnt-long = <0x00000040>;
  566. nvidia,emc-configuration = < 0x00000012
  567. 0x00000066 0x0000000c 0x00000004 0x00000003
  568. 0x00000008 0x00000002 0x0000000a 0x00000004
  569. 0x00000004 0x00000002 0x00000001 0x00000000
  570. 0x00000004 0x00000006 0x00000004 0x0000000a
  571. 0x0000000c 0x00000bf0 0x00000000 0x000002fc
  572. 0x00000001 0x00000008 0x00000001 0x00000000
  573. 0x00000008 0x0000000f 0x0000006c 0x00000200
  574. 0x00000004 0x00000010 0x00000000 0x00000004
  575. 0x00000005 0x00000c30 0x00000000 0x00000004
  576. 0x00000000 0x00000000 0x00007088 0x001d0084
  577. 0x00008000 0x00044000 0x00044000 0x00044000
  578. 0x00044000 0x00014000 0x00014000 0x00014000
  579. 0x00014000 0x00000000 0x00000000 0x00000000
  580. 0x00000000 0x00000000 0x00000000 0x00000000
  581. 0x00000000 0x00000000 0x00000000 0x00000000
  582. 0x00000000 0x00000000 0x00000000 0x00000000
  583. 0x00000000 0x00048000 0x00048000 0x00048000
  584. 0x00048000 0x000002a0 0x0600013d 0x00000000
  585. 0x77fff884 0x01f1f508 0x05057404 0x54000007
  586. 0x080001e8 0x08000021 0x00000802 0x00020000
  587. 0x00000100 0x0158000c 0xa0f10000 0x00000000
  588. 0x00000000 0x800018c8 0xe8000000 0xff00ff89 >;
  589. };
  590. timing-800000000 {
  591. clock-frequency = <800000000>;
  592. nvidia,emc-auto-cal-interval = <0x001fffff>;
  593. nvidia,emc-mode-1 = <0x80100002>;
  594. nvidia,emc-mode-2 = <0x80200018>;
  595. nvidia,emc-mode-reset = <0x80000d71>;
  596. nvidia,emc-zcal-cnt-long = <0x00000040>;
  597. nvidia,emc-cfg-periodic-qrst;
  598. nvidia,emc-configuration = < 0x00000025
  599. 0x000000ce 0x0000001a 0x00000009 0x00000005
  600. 0x0000000d 0x00000004 0x00000013 0x00000009
  601. 0x00000009 0x00000004 0x00000001 0x00000000
  602. 0x00000007 0x0000000a 0x00000009 0x0000000a
  603. 0x00000011 0x00001820 0x00000000 0x00000608
  604. 0x00000003 0x00000012 0x00000001 0x00000000
  605. 0x0000000f 0x00000018 0x000000d8 0x00000200
  606. 0x00000005 0x00000020 0x00000000 0x00000007
  607. 0x00000008 0x00001860 0x0000000b 0x00000006
  608. 0x00000000 0x00000000 0x00005088 0xf0070191
  609. 0x00008000 0x0000000a 0x0000000a 0x0000000a
  610. 0x0000000a 0x0000000a 0x0000000a 0x0000000a
  611. 0x0000000a 0x00018000 0x00018000 0x00018000
  612. 0x00018000 0x00000000 0x00000000 0x00000000
  613. 0x00000000 0x00000000 0x00000000 0x00000000
  614. 0x00000000 0x00000000 0x00000000 0x00000000
  615. 0x00000000 0x0000000a 0x0000000a 0x0000000a
  616. 0x0000000a 0x000002a0 0x0a00013d 0x22220000
  617. 0x77fff884 0x01f1f501 0x07077404 0x54000000
  618. 0x080001e8 0x08000021 0x00000802 0x00020000
  619. 0x00000100 0x00f0000c 0xa0f10000 0x00000000
  620. 0x00000000 0x8000308c 0xe8000000 0xff00ff49 >;
  621. };
  622. };
  623. };
  624. tc358768_refclk: clock-tc358768 {
  625. compatible = "fixed-clock";
  626. clock-frequency = <23100000>;
  627. clock-accuracy = <100>;
  628. #clock-cells = <0>;
  629. };
  630. tc358768_osc: clock-tc358768-osc-gate {
  631. compatible = "gpio-gate-clock";
  632. enable-gpios = <&gpio TEGRA_GPIO(D, 2) GPIO_ACTIVE_HIGH>;
  633. clocks = <&tc358768_refclk>;
  634. #clock-cells = <0>;
  635. };
  636. haptic-feedback {
  637. compatible = "gpio-vibrator";
  638. enable-gpios = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_HIGH>;
  639. vcc-supply = <&vdd_3v3_sys>;
  640. };
  641. i2c-mux {
  642. compatible = "i2c-mux-gpio";
  643. mux-gpios = <&gpio TEGRA_GPIO(X, 0) GPIO_ACTIVE_HIGH>;
  644. i2c-parent = <&lcd_ddc>;
  645. idle-state = <0x0>;
  646. #address-cells = <1>;
  647. #size-cells = <0>;
  648. i2c@1 {
  649. reg = <1>;
  650. #address-cells = <1>;
  651. #size-cells = <0>;
  652. dsi@7 {
  653. compatible = "toshiba,tc358768";
  654. reg = <0x7>;
  655. #address-cells = <1>;
  656. #size-cells = <0>;
  657. clocks = <&tc358768_osc>;
  658. clock-names = "refclk";
  659. reset-gpios = <&gpio TEGRA_GPIO(N, 6) GPIO_ACTIVE_LOW>;
  660. vddc-supply = <&vdd_1v2_mipi>;
  661. vddio-supply = <&vdd_1v8_vio>;
  662. vddmipi-supply = <&vdd_1v2_mipi>;
  663. ports {
  664. #address-cells = <1>;
  665. #size-cells = <0>;
  666. port@0 {
  667. reg = <0>;
  668. bridge_input: endpoint {
  669. remote-endpoint = <&dpi_output>;
  670. data-lines = <24>;
  671. };
  672. };
  673. port@1 {
  674. reg = <1>;
  675. bridge_output: endpoint {
  676. remote-endpoint = <&panel_input>;
  677. };
  678. };
  679. };
  680. /*
  681. * Panasonic VVX10F004B00 or HYDIS HV101WU1-1E1
  682. * LCD SuperIPS+ Full HD panel.
  683. */
  684. panel@1 {
  685. compatible = "panasonic,vvx10f004b00";
  686. reg = <1>;
  687. power-supply = <&vdd_pnl>;
  688. backlight = <&backlight>;
  689. port {
  690. panel_input: endpoint {
  691. remote-endpoint = <&bridge_output>;
  692. };
  693. };
  694. };
  695. };
  696. };
  697. };
  698. vdd_1v2_mipi: regulator-mipi {
  699. compatible = "regulator-fixed";
  700. regulator-name = "tc358768_1v2_vdd";
  701. regulator-min-microvolt = <1200000>;
  702. regulator-max-microvolt = <1200000>;
  703. regulator-enable-ramp-delay = <10000>;
  704. regulator-boot-on;
  705. gpio = <&gpio TEGRA_GPIO(BB, 3) GPIO_ACTIVE_HIGH>;
  706. enable-active-high;
  707. vin-supply = <&vdd_3v3_sys>;
  708. };
  709. };
  710. &emc_icc_dvfs_opp_table {
  711. /delete-node/ opp-900000000-1350;
  712. };
  713. &emc_bw_dfs_opp_table {
  714. /delete-node/ opp-900000000;
  715. };