tegra20-colibri.dtsi 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776
  1. // SPDX-License-Identifier: GPL-2.0
  2. #include "tegra20.dtsi"
  3. /*
  4. * Toradex Colibri T20 Module Device Tree
  5. * Compatible for Revisions Colibri T20 256MB V1.1B, V1.2A;
  6. * Colibri T20 256MB IT V1.2A; Colibri T20 512MB V1.1C, V1.2A;
  7. * Colibri T20 512MB IT V1.2A
  8. */
  9. / {
  10. memory@0 {
  11. /*
  12. * Set memory to 256 MB to be safe as this could be used on
  13. * 256 or 512 MB module. It is expected from bootloader
  14. * to fix this up for 512 MB version.
  15. */
  16. reg = <0x00000000 0x10000000>;
  17. };
  18. host1x@50000000 {
  19. hdmi@54280000 {
  20. nvidia,ddc-i2c-bus = <&hdmi_ddc>;
  21. nvidia,hpd-gpio =
  22. <&gpio TEGRA_GPIO(N, 7) GPIO_ACTIVE_HIGH>;
  23. pll-supply = <&reg_1v8_avdd_hdmi_pll>;
  24. vdd-supply = <&reg_3v3_avdd_hdmi>;
  25. };
  26. };
  27. pinmux@70000014 {
  28. pinctrl-names = "default";
  29. pinctrl-0 = <&state_default>;
  30. state_default: pinmux {
  31. /* Analogue Audio AC97 to WM9712 (On-module) */
  32. audio-refclk {
  33. nvidia,pins = "cdev1";
  34. nvidia,function = "plla_out";
  35. nvidia,pull = <TEGRA_PIN_PULL_NONE>;
  36. nvidia,tristate = <TEGRA_PIN_DISABLE>;
  37. };
  38. dap3 {
  39. nvidia,pins = "dap3";
  40. nvidia,function = "dap3";
  41. nvidia,pull = <TEGRA_PIN_PULL_NONE>;
  42. nvidia,tristate = <TEGRA_PIN_DISABLE>;
  43. };
  44. /*
  45. * AC97_RESET, ULPI_RESET, AC97_INT aka WM9712 GENIRQ
  46. * (All on-module), SODIMM Pin 45 Wakeup
  47. */
  48. gpio-uac {
  49. nvidia,pins = "uac";
  50. nvidia,function = "rsvd2";
  51. nvidia,pull = <TEGRA_PIN_PULL_NONE>;
  52. nvidia,tristate = <TEGRA_PIN_DISABLE>;
  53. };
  54. /*
  55. * Buffer Enables for nPWE and RDnWR (On-module,
  56. * see GPIO hogging further down below)
  57. */
  58. gpio-pta {
  59. nvidia,pins = "pta";
  60. nvidia,function = "rsvd4";
  61. nvidia,pull = <TEGRA_PIN_PULL_NONE>;
  62. nvidia,tristate = <TEGRA_PIN_DISABLE>;
  63. };
  64. /*
  65. * CLK_32K_OUT, CORE_PWR_REQ, CPU_PWR_REQ, PWR_INT_N,
  66. * SYS_CLK_REQ (All on-module)
  67. */
  68. pmc {
  69. nvidia,pins = "pmc";
  70. nvidia,function = "pwr_on";
  71. nvidia,tristate = <TEGRA_PIN_DISABLE>;
  72. };
  73. /*
  74. * Colibri Address/Data Bus (GMI)
  75. * Note: spid and spie optionally used for SPI1
  76. */
  77. gmi {
  78. nvidia,pins = "atc", "atd", "ate", "dap1",
  79. "dap2", "dap4", "gmd", "gpu",
  80. "irrx", "irtx", "spia", "spib",
  81. "spic", "spid", "spie", "uca",
  82. "ucb";
  83. nvidia,function = "gmi";
  84. nvidia,pull = <TEGRA_PIN_PULL_NONE>;
  85. nvidia,tristate = <TEGRA_PIN_ENABLE>;
  86. };
  87. /* Further pins may be used as GPIOs */
  88. gmi-gpio1 {
  89. nvidia,pins = "lpw0", "lsc1", "lsck", "lsda";
  90. nvidia,function = "hdmi";
  91. nvidia,tristate = <TEGRA_PIN_ENABLE>;
  92. };
  93. gmi-gpio2 {
  94. nvidia,pins = "lcsn", "ldc", "lm0", "lsdi";
  95. nvidia,function = "rsvd4";
  96. nvidia,tristate = <TEGRA_PIN_ENABLE>;
  97. };
  98. /* Colibri BL_ON */
  99. bl-on {
  100. nvidia,pins = "dta";
  101. nvidia,function = "rsvd1";
  102. nvidia,pull = <TEGRA_PIN_PULL_NONE>;
  103. nvidia,tristate = <TEGRA_PIN_ENABLE>;
  104. };
  105. /* Colibri Backlight PWM<A>, PWM<B> */
  106. sdc {
  107. nvidia,pins = "sdc";
  108. nvidia,function = "pwm";
  109. nvidia,tristate = <TEGRA_PIN_ENABLE>;
  110. };
  111. /* Colibri DDC */
  112. ddc {
  113. nvidia,pins = "ddc";
  114. nvidia,function = "i2c2";
  115. nvidia,pull = <TEGRA_PIN_PULL_UP>;
  116. nvidia,tristate = <TEGRA_PIN_ENABLE>;
  117. };
  118. /*
  119. * Colibri EXT_IO*
  120. * Note: dtf optionally used for I2C3
  121. */
  122. ext-io {
  123. nvidia,pins = "dtf", "spdi";
  124. nvidia,function = "rsvd2";
  125. nvidia,pull = <TEGRA_PIN_PULL_NONE>;
  126. nvidia,tristate = <TEGRA_PIN_ENABLE>;
  127. };
  128. /*
  129. * Colibri Ethernet (On-module)
  130. * ULPI EHCI instance 1 USB2_DP/N -> AX88772B
  131. */
  132. ulpi {
  133. nvidia,pins = "uaa", "uab", "uda";
  134. nvidia,function = "ulpi";
  135. nvidia,pull = <TEGRA_PIN_PULL_NONE>;
  136. nvidia,tristate = <TEGRA_PIN_DISABLE>;
  137. };
  138. ulpi-refclk {
  139. nvidia,pins = "cdev2";
  140. nvidia,function = "pllp_out4";
  141. nvidia,pull = <TEGRA_PIN_PULL_NONE>;
  142. nvidia,tristate = <TEGRA_PIN_DISABLE>;
  143. };
  144. /* Colibri HOTPLUG_DETECT (HDMI) */
  145. hotplug-detect {
  146. nvidia,pins = "hdint";
  147. nvidia,function = "hdmi";
  148. nvidia,tristate = <TEGRA_PIN_ENABLE>;
  149. };
  150. /* Colibri I2C */
  151. i2c {
  152. nvidia,pins = "rm";
  153. nvidia,function = "i2c1";
  154. nvidia,pull = <TEGRA_PIN_PULL_NONE>;
  155. nvidia,tristate = <TEGRA_PIN_ENABLE>;
  156. };
  157. /*
  158. * Colibri L_BIAS, LCD_M1 is muxed with LCD_DE
  159. * today's display need DE, disable LCD_M1
  160. */
  161. lm1 {
  162. nvidia,pins = "lm1";
  163. nvidia,function = "rsvd3";
  164. nvidia,tristate = <TEGRA_PIN_ENABLE>;
  165. };
  166. /* Colibri LCD (L_* resp. LDD<*>) */
  167. lcd {
  168. nvidia,pins = "ld0", "ld1", "ld2", "ld3",
  169. "ld4", "ld5", "ld6", "ld7",
  170. "ld8", "ld9", "ld10", "ld11",
  171. "ld12", "ld13", "ld14", "ld15",
  172. "ld16", "ld17", "lhs", "lsc0",
  173. "lspi", "lvs";
  174. nvidia,function = "displaya";
  175. nvidia,tristate = <TEGRA_PIN_ENABLE>;
  176. };
  177. /* Colibri LCD (Optional 24 BPP Support) */
  178. lcd-24 {
  179. nvidia,pins = "ldi", "lhp0", "lhp1", "lhp2",
  180. "lpp", "lvp1";
  181. nvidia,function = "displaya";
  182. nvidia,tristate = <TEGRA_PIN_ENABLE>;
  183. };
  184. /* Colibri MMC */
  185. mmc {
  186. nvidia,pins = "atb", "gma";
  187. nvidia,function = "sdio4";
  188. nvidia,pull = <TEGRA_PIN_PULL_NONE>;
  189. nvidia,tristate = <TEGRA_PIN_ENABLE>;
  190. };
  191. /* Colibri MMCCD */
  192. mmccd {
  193. nvidia,pins = "gmb";
  194. nvidia,function = "gmi_int";
  195. nvidia,pull = <TEGRA_PIN_PULL_NONE>;
  196. nvidia,tristate = <TEGRA_PIN_ENABLE>;
  197. };
  198. /* Colibri MMC (Optional 8-bit) */
  199. mmc-8bit {
  200. nvidia,pins = "gme";
  201. nvidia,function = "sdio4";
  202. nvidia,pull = <TEGRA_PIN_PULL_NONE>;
  203. nvidia,tristate = <TEGRA_PIN_ENABLE>;
  204. };
  205. /*
  206. * Colibri Parallel Camera (Optional)
  207. * pins multiplexed with others and therefore disabled
  208. * Note: dta used for BL_ON by default
  209. */
  210. cif-mclk {
  211. nvidia,pins = "csus";
  212. nvidia,function = "vi_sensor_clk";
  213. nvidia,pull = <TEGRA_PIN_PULL_NONE>;
  214. nvidia,tristate = <TEGRA_PIN_ENABLE>;
  215. };
  216. cif {
  217. nvidia,pins = "dtb", "dtc", "dtd";
  218. nvidia,function = "vi";
  219. nvidia,pull = <TEGRA_PIN_PULL_NONE>;
  220. nvidia,tristate = <TEGRA_PIN_ENABLE>;
  221. };
  222. /* Colibri PWM<C>, PWM<D> */
  223. sdb_sdd {
  224. nvidia,pins = "sdb", "sdd";
  225. nvidia,function = "pwm";
  226. nvidia,tristate = <TEGRA_PIN_ENABLE>;
  227. };
  228. /* Colibri SSP */
  229. ssp {
  230. nvidia,pins = "slxa", "slxc", "slxd", "slxk";
  231. nvidia,function = "spi4";
  232. nvidia,pull = <TEGRA_PIN_PULL_NONE>;
  233. nvidia,tristate = <TEGRA_PIN_ENABLE>;
  234. };
  235. /* Colibri UART-A */
  236. uart-a {
  237. nvidia,pins = "sdio1";
  238. nvidia,function = "uarta";
  239. nvidia,pull = <TEGRA_PIN_PULL_NONE>;
  240. nvidia,tristate = <TEGRA_PIN_ENABLE>;
  241. };
  242. uart-a-dsr {
  243. nvidia,pins = "lpw1";
  244. nvidia,function = "rsvd3";
  245. nvidia,tristate = <TEGRA_PIN_ENABLE>;
  246. };
  247. uart-a-dcd {
  248. nvidia,pins = "lpw2";
  249. nvidia,function = "hdmi";
  250. nvidia,tristate = <TEGRA_PIN_ENABLE>;
  251. };
  252. /* Colibri UART-B */
  253. uart-b {
  254. nvidia,pins = "gmc";
  255. nvidia,function = "uartd";
  256. nvidia,pull = <TEGRA_PIN_PULL_NONE>;
  257. nvidia,tristate = <TEGRA_PIN_ENABLE>;
  258. };
  259. /* Colibri UART-C */
  260. uart-c {
  261. nvidia,pins = "uad";
  262. nvidia,function = "irda";
  263. nvidia,pull = <TEGRA_PIN_PULL_NONE>;
  264. nvidia,tristate = <TEGRA_PIN_ENABLE>;
  265. };
  266. /* Colibri USB_CDET */
  267. usb-cdet {
  268. nvidia,pins = "spdo";
  269. nvidia,function = "rsvd2";
  270. nvidia,pull = <TEGRA_PIN_PULL_NONE>;
  271. nvidia,tristate = <TEGRA_PIN_ENABLE>;
  272. };
  273. /* Colibri USBH_OC */
  274. usbh-oc {
  275. nvidia,pins = "spih";
  276. nvidia,function = "spi2_alt";
  277. nvidia,pull = <TEGRA_PIN_PULL_NONE>;
  278. nvidia,tristate = <TEGRA_PIN_ENABLE>;
  279. };
  280. /* Colibri USBH_PEN */
  281. usbh-pen {
  282. nvidia,pins = "spig";
  283. nvidia,function = "spi2_alt";
  284. nvidia,pull = <TEGRA_PIN_PULL_NONE>;
  285. nvidia,tristate = <TEGRA_PIN_ENABLE>;
  286. };
  287. /* Colibri VGA not supported */
  288. vga {
  289. nvidia,pins = "crtp";
  290. nvidia,function = "crt";
  291. nvidia,pull = <TEGRA_PIN_PULL_NONE>;
  292. nvidia,tristate = <TEGRA_PIN_ENABLE>;
  293. };
  294. /* I2C3 (Optional) */
  295. i2c3 {
  296. nvidia,pins = "dtf";
  297. nvidia,function = "i2c3";
  298. nvidia,pull = <TEGRA_PIN_PULL_NONE>;
  299. nvidia,tristate = <TEGRA_PIN_ENABLE>;
  300. };
  301. /* JTAG_RTCK */
  302. jtag-rtck {
  303. nvidia,pins = "gpu7";
  304. nvidia,function = "rtck";
  305. nvidia,pull = <TEGRA_PIN_PULL_NONE>;
  306. nvidia,tristate = <TEGRA_PIN_ENABLE>;
  307. };
  308. /*
  309. * LAN_RESET, LAN_EXT_WAKEUP and LAN_PME
  310. * (All On-module)
  311. */
  312. gpio-gpv {
  313. nvidia,pins = "gpv";
  314. nvidia,function = "rsvd2";
  315. nvidia,pull = <TEGRA_PIN_PULL_NONE>;
  316. nvidia,tristate = <TEGRA_PIN_DISABLE>;
  317. };
  318. /*
  319. * LAN_V_BUS, VDD_FAULT, BATT_FAULT, WM9712 PENDOWN
  320. * (All On-module); Colibri CAN_INT
  321. */
  322. gpio-dte {
  323. nvidia,pins = "dte";
  324. nvidia,function = "rsvd1";
  325. nvidia,pull = <TEGRA_PIN_PULL_NONE>;
  326. nvidia,tristate = <TEGRA_PIN_DISABLE>;
  327. };
  328. /* NAND (On-module) */
  329. nand {
  330. nvidia,pins = "kbca", "kbcb", "kbcc", "kbcd",
  331. "kbce", "kbcf";
  332. nvidia,function = "nand";
  333. nvidia,pull = <TEGRA_PIN_PULL_NONE>;
  334. nvidia,tristate = <TEGRA_PIN_DISABLE>;
  335. };
  336. /* Onewire (Optional) */
  337. owr {
  338. nvidia,pins = "owc";
  339. nvidia,function = "owr";
  340. nvidia,pull = <TEGRA_PIN_PULL_NONE>;
  341. nvidia,tristate = <TEGRA_PIN_ENABLE>;
  342. };
  343. /* Power I2C (On-module) */
  344. i2cp {
  345. nvidia,pins = "i2cp";
  346. nvidia,function = "i2cp";
  347. nvidia,pull = <TEGRA_PIN_PULL_NONE>;
  348. nvidia,tristate = <TEGRA_PIN_DISABLE>;
  349. };
  350. /* RESET_OUT */
  351. reset-out {
  352. nvidia,pins = "ata";
  353. nvidia,function = "gmi";
  354. nvidia,pull = <TEGRA_PIN_PULL_NONE>;
  355. nvidia,tristate = <TEGRA_PIN_DISABLE>;
  356. };
  357. /*
  358. * SPI1 (Optional)
  359. * Note: spid and spie used for Colibri Address/Data
  360. * Bus (GMI)
  361. */
  362. spi1 {
  363. nvidia,pins = "spid", "spie", "spif";
  364. nvidia,function = "spi1";
  365. nvidia,pull = <TEGRA_PIN_PULL_NONE>;
  366. nvidia,tristate = <TEGRA_PIN_ENABLE>;
  367. };
  368. /*
  369. * THERMD_ALERT# (On-module), unlatched I2C address pin
  370. * of LM95245 temperature sensor therefore requires
  371. * disabling for now
  372. */
  373. lvp0 {
  374. nvidia,pins = "lvp0";
  375. nvidia,function = "rsvd3";
  376. nvidia,tristate = <TEGRA_PIN_ENABLE>;
  377. };
  378. };
  379. };
  380. tegra_ac97: ac97@70002000 {
  381. status = "okay";
  382. nvidia,codec-reset-gpio =
  383. <&gpio TEGRA_GPIO(V, 0) GPIO_ACTIVE_HIGH>;
  384. nvidia,codec-sync-gpio =
  385. <&gpio TEGRA_GPIO(P, 0) GPIO_ACTIVE_HIGH>;
  386. };
  387. serial@70006040 {
  388. compatible = "nvidia,tegra20-hsuart";
  389. /delete-property/ reg-shift;
  390. };
  391. serial@70006300 {
  392. compatible = "nvidia,tegra20-hsuart";
  393. /delete-property/ reg-shift;
  394. };
  395. nand-controller@70008000 {
  396. status = "okay";
  397. nand@0 {
  398. reg = <0>;
  399. #address-cells = <1>;
  400. #size-cells = <1>;
  401. nand-bus-width = <8>;
  402. nand-on-flash-bbt;
  403. nand-ecc-algo = "bch";
  404. nand-is-boot-medium;
  405. nand-ecc-maximize;
  406. wp-gpios = <&gpio TEGRA_GPIO(S, 0) GPIO_ACTIVE_LOW>;
  407. };
  408. };
  409. /*
  410. * GEN1_I2C: I2C_SDA/SCL on SODIMM pin 194/196 (e.g. RTC on carrier
  411. * board)
  412. */
  413. i2c@7000c000 {
  414. clock-frequency = <400000>;
  415. };
  416. /* DDC_SCL/SDA on X3 pin 15/16 (e.g. display EDID) */
  417. hdmi_ddc: i2c@7000c400 {
  418. clock-frequency = <10000>;
  419. };
  420. /* GEN2_I2C: unused */
  421. /* CAM/GEN3_I2C: used as EXT_IO1/2 GPIOs on SODIMM pin 133/127 */
  422. /* PWR_I2C: power I2C to PMIC and temperature sensor (On-module) */
  423. i2c@7000d000 {
  424. status = "okay";
  425. clock-frequency = <100000>;
  426. pmic@34 {
  427. compatible = "ti,tps6586x";
  428. reg = <0x34>;
  429. interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
  430. ti,system-power-controller;
  431. #gpio-cells = <2>;
  432. gpio-controller;
  433. sys-supply = <&reg_module_3v3>;
  434. vin-sm0-supply = <&reg_3v3_vsys>;
  435. vin-sm1-supply = <&reg_3v3_vsys>;
  436. vin-sm2-supply = <&reg_3v3_vsys>;
  437. vinldo01-supply = <&reg_1v8_vdd_ddr2>;
  438. vinldo23-supply = <&reg_module_3v3>;
  439. vinldo4-supply = <&reg_module_3v3>;
  440. vinldo678-supply = <&reg_module_3v3>;
  441. vinldo9-supply = <&reg_module_3v3>;
  442. regulators {
  443. reg_3v3_vsys: sys {
  444. regulator-name = "VSYS_3.3V";
  445. regulator-always-on;
  446. };
  447. vdd_core: sm0 {
  448. regulator-name = "VDD_CORE_1.2V";
  449. regulator-min-microvolt = <1200000>;
  450. regulator-max-microvolt = <1200000>;
  451. regulator-always-on;
  452. };
  453. sm1 {
  454. regulator-name = "VDD_CPU_1.0V";
  455. regulator-min-microvolt = <1000000>;
  456. regulator-max-microvolt = <1000000>;
  457. regulator-always-on;
  458. };
  459. reg_1v8_vdd_ddr2: sm2 {
  460. regulator-name = "VDD_DDR2_1.8V";
  461. regulator-min-microvolt = <1800000>;
  462. regulator-max-microvolt = <1800000>;
  463. regulator-always-on;
  464. };
  465. /* LDO0 is not connected to anything */
  466. /*
  467. * +3.3V_ENABLE_N switching via FET:
  468. * AVDD_AUDIO_S and +3.3V
  469. * see also +3.3V fixed supply
  470. */
  471. ldo1 {
  472. regulator-name = "AVDD_PLL_1.1V";
  473. regulator-min-microvolt = <1100000>;
  474. regulator-max-microvolt = <1100000>;
  475. regulator-always-on;
  476. };
  477. ldo2 {
  478. regulator-name = "VDD_RTC_1.2V";
  479. regulator-min-microvolt = <1200000>;
  480. regulator-max-microvolt = <1200000>;
  481. };
  482. /* LDO3 is not connected to anything */
  483. ldo4 {
  484. regulator-name = "VDDIO_SYS_1.8V";
  485. regulator-min-microvolt = <1800000>;
  486. regulator-max-microvolt = <1800000>;
  487. regulator-always-on;
  488. };
  489. /* Switched via FET from regular +3.3V */
  490. ldo5 {
  491. regulator-name = "+3.3V_USB";
  492. regulator-min-microvolt = <3300000>;
  493. regulator-max-microvolt = <3300000>;
  494. regulator-always-on;
  495. };
  496. ldo6 {
  497. regulator-name = "AVDD_VDAC_2.85V";
  498. regulator-min-microvolt = <2850000>;
  499. regulator-max-microvolt = <2850000>;
  500. };
  501. reg_3v3_avdd_hdmi: ldo7 {
  502. regulator-name = "AVDD_HDMI_3.3V";
  503. regulator-min-microvolt = <3300000>;
  504. regulator-max-microvolt = <3300000>;
  505. };
  506. reg_1v8_avdd_hdmi_pll: ldo8 {
  507. regulator-name = "AVDD_HDMI_PLL_1.8V";
  508. regulator-min-microvolt = <1800000>;
  509. regulator-max-microvolt = <1800000>;
  510. };
  511. ldo9 {
  512. regulator-name = "VDDIO_RX_DDR_2.85V";
  513. regulator-min-microvolt = <2850000>;
  514. regulator-max-microvolt = <2850000>;
  515. regulator-always-on;
  516. };
  517. ldo_rtc {
  518. regulator-name = "VCC_BATT";
  519. regulator-min-microvolt = <3300000>;
  520. regulator-max-microvolt = <3300000>;
  521. regulator-always-on;
  522. };
  523. };
  524. };
  525. /* LM95245 temperature sensor */
  526. temp-sensor@4c {
  527. compatible = "national,lm95245";
  528. reg = <0x4c>;
  529. };
  530. };
  531. pmc@7000e400 {
  532. nvidia,suspend-mode = <1>;
  533. nvidia,cpu-pwr-good-time = <5000>;
  534. nvidia,cpu-pwr-off-time = <5000>;
  535. nvidia,core-pwr-good-time = <3845 3845>;
  536. nvidia,core-pwr-off-time = <3875>;
  537. nvidia,sys-clock-req-active-high;
  538. core-supply = <&vdd_core>;
  539. /* Set SLEEP MODE bit in SUPPLYENE register of TPS658643 PMIC */
  540. i2c-thermtrip {
  541. nvidia,i2c-controller-id = <3>;
  542. nvidia,bus-addr = <0x34>;
  543. nvidia,reg-addr = <0x14>;
  544. nvidia,reg-data = <0x8>;
  545. };
  546. };
  547. memory-controller@7000f400 {
  548. emc-table@83250 {
  549. reg = <83250>;
  550. compatible = "nvidia,tegra20-emc-table";
  551. clock-frequency = <83250>;
  552. nvidia,emc-registers = <0x00000005 0x00000011
  553. 0x00000004 0x00000002 0x00000004 0x00000004
  554. 0x00000001 0x0000000a 0x00000002 0x00000002
  555. 0x00000001 0x00000001 0x00000003 0x00000004
  556. 0x00000003 0x00000009 0x0000000c 0x0000025f
  557. 0x00000000 0x00000003 0x00000003 0x00000002
  558. 0x00000002 0x00000001 0x00000008 0x000000c8
  559. 0x00000003 0x00000005 0x00000003 0x0000000c
  560. 0x00000002 0x00000000 0x00000000 0x00000002
  561. 0x00000000 0x00000000 0x00000083 0x00520006
  562. 0x00000010 0x00000008 0x00000000 0x00000000
  563. 0x00000000 0x00000000 0x00000000 0x00000000>;
  564. };
  565. emc-table@133200 {
  566. reg = <133200>;
  567. compatible = "nvidia,tegra20-emc-table";
  568. clock-frequency = <133200>;
  569. nvidia,emc-registers = <0x00000008 0x00000019
  570. 0x00000006 0x00000002 0x00000004 0x00000004
  571. 0x00000001 0x0000000a 0x00000002 0x00000002
  572. 0x00000002 0x00000001 0x00000003 0x00000004
  573. 0x00000003 0x00000009 0x0000000c 0x0000039f
  574. 0x00000000 0x00000003 0x00000003 0x00000002
  575. 0x00000002 0x00000001 0x00000008 0x000000c8
  576. 0x00000003 0x00000007 0x00000003 0x0000000c
  577. 0x00000002 0x00000000 0x00000000 0x00000002
  578. 0x00000000 0x00000000 0x00000083 0x00510006
  579. 0x00000010 0x00000008 0x00000000 0x00000000
  580. 0x00000000 0x00000000 0x00000000 0x00000000>;
  581. };
  582. emc-table@166500 {
  583. reg = <166500>;
  584. compatible = "nvidia,tegra20-emc-table";
  585. clock-frequency = <166500>;
  586. nvidia,emc-registers = <0x0000000a 0x00000021
  587. 0x00000008 0x00000003 0x00000004 0x00000004
  588. 0x00000002 0x0000000a 0x00000003 0x00000003
  589. 0x00000002 0x00000001 0x00000003 0x00000004
  590. 0x00000003 0x00000009 0x0000000c 0x000004df
  591. 0x00000000 0x00000003 0x00000003 0x00000003
  592. 0x00000003 0x00000001 0x00000009 0x000000c8
  593. 0x00000003 0x00000009 0x00000004 0x0000000c
  594. 0x00000002 0x00000000 0x00000000 0x00000002
  595. 0x00000000 0x00000000 0x00000083 0x004f0006
  596. 0x00000010 0x00000008 0x00000000 0x00000000
  597. 0x00000000 0x00000000 0x00000000 0x00000000>;
  598. };
  599. emc-table@333000 {
  600. reg = <333000>;
  601. compatible = "nvidia,tegra20-emc-table";
  602. clock-frequency = <333000>;
  603. nvidia,emc-registers = <0x00000014 0x00000041
  604. 0x0000000f 0x00000005 0x00000004 0x00000005
  605. 0x00000003 0x0000000a 0x00000005 0x00000005
  606. 0x00000004 0x00000001 0x00000003 0x00000004
  607. 0x00000003 0x00000009 0x0000000c 0x000009ff
  608. 0x00000000 0x00000003 0x00000003 0x00000005
  609. 0x00000005 0x00000001 0x0000000e 0x000000c8
  610. 0x00000003 0x00000011 0x00000006 0x0000000c
  611. 0x00000002 0x00000000 0x00000000 0x00000002
  612. 0x00000000 0x00000000 0x00000083 0x00380006
  613. 0x00000010 0x00000008 0x00000000 0x00000000
  614. 0x00000000 0x00000000 0x00000000 0x00000000>;
  615. };
  616. };
  617. /* EHCI instance 1: ULPI PHY -> AX88772B (On-module) */
  618. usb@c5004000 {
  619. status = "okay";
  620. #address-cells = <1>;
  621. #size-cells = <0>;
  622. ethernet@1 {
  623. compatible = "usbb95,772b";
  624. reg = <1>;
  625. local-mac-address = [00 00 00 00 00 00];
  626. };
  627. };
  628. usb-phy@c5004000 {
  629. status = "okay";
  630. nvidia,phy-reset-gpio =
  631. <&gpio TEGRA_GPIO(V, 1) GPIO_ACTIVE_LOW>;
  632. vbus-supply = <&reg_lan_v_bus>;
  633. };
  634. clk32k_in: xtal3 {
  635. compatible = "fixed-clock";
  636. #clock-cells = <0>;
  637. clock-frequency = <32768>;
  638. };
  639. reg_lan_v_bus: regulator-lan-v-bus {
  640. compatible = "regulator-fixed";
  641. regulator-name = "LAN_V_BUS";
  642. regulator-min-microvolt = <5000000>;
  643. regulator-max-microvolt = <5000000>;
  644. enable-active-high;
  645. gpio = <&gpio TEGRA_GPIO(BB, 1) GPIO_ACTIVE_HIGH>;
  646. };
  647. reg_module_3v3: regulator-module-3v3 {
  648. compatible = "regulator-fixed";
  649. regulator-name = "+V3.3";
  650. regulator-min-microvolt = <3300000>;
  651. regulator-max-microvolt = <3300000>;
  652. regulator-always-on;
  653. };
  654. sound {
  655. compatible = "nvidia,tegra-audio-wm9712-colibri_t20",
  656. "nvidia,tegra-audio-wm9712";
  657. nvidia,model = "Toradex Colibri T20";
  658. nvidia,audio-routing =
  659. "Headphone", "HPOUTL",
  660. "Headphone", "HPOUTR",
  661. "LineIn", "LINEINL",
  662. "LineIn", "LINEINR",
  663. "Mic", "MIC1";
  664. nvidia,ac97-controller = <&tegra_ac97>;
  665. clocks = <&tegra_car TEGRA20_CLK_PLL_A>,
  666. <&tegra_car TEGRA20_CLK_PLL_A_OUT0>,
  667. <&tegra_car TEGRA20_CLK_CDEV1>;
  668. clock-names = "pll_a", "pll_a_out0", "mclk";
  669. };
  670. };
  671. &emc_icc_dvfs_opp_table {
  672. /delete-node/ opp-760000000;
  673. };
  674. &gpio {
  675. lan-reset-n-hog {
  676. gpio-hog;
  677. gpios = <TEGRA_GPIO(V, 4) GPIO_ACTIVE_HIGH>;
  678. output-high;
  679. line-name = "LAN_RESET#";
  680. };
  681. /* Tri-stating GMI_WR_N on SODIMM pin 99 nPWE */
  682. npwe-hog {
  683. gpio-hog;
  684. gpios = <TEGRA_GPIO(T, 5) GPIO_ACTIVE_HIGH>;
  685. output-high;
  686. line-name = "Tri-state nPWE";
  687. };
  688. /* Not tri-stating GMI_WR_N on SODIMM pin 93 RDnWR */
  689. rdnwr-hog {
  690. gpio-hog;
  691. gpios = <TEGRA_GPIO(T, 6) GPIO_ACTIVE_HIGH>;
  692. output-low;
  693. line-name = "Not tri-state RDnWR";
  694. };
  695. };