tegra124-nyan.dtsi 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779
  1. #include <dt-bindings/input/input.h>
  2. #include "tegra124.dtsi"
  3. / {
  4. aliases {
  5. rtc0 = "/i2c@7000d000/pmic@40";
  6. rtc1 = "/rtc@7000e000";
  7. serial0 = &uarta;
  8. };
  9. chosen {
  10. stdout-path = "serial0:115200n8";
  11. };
  12. memory {
  13. reg = <0x0 0x80000000 0x0 0x80000000>;
  14. };
  15. host1x@50000000 {
  16. hdmi@54280000 {
  17. status = "okay";
  18. vdd-supply = <&vdd_3v3_hdmi>;
  19. pll-supply = <&vdd_hdmi_pll>;
  20. hdmi-supply = <&vdd_5v0_hdmi>;
  21. nvidia,ddc-i2c-bus = <&hdmi_ddc>;
  22. nvidia,hpd-gpio =
  23. <&gpio TEGRA_GPIO(N, 7) GPIO_ACTIVE_HIGH>;
  24. };
  25. sor@54540000 {
  26. status = "okay";
  27. nvidia,dpaux = <&dpaux>;
  28. nvidia,panel = <&panel>;
  29. };
  30. dpaux@545c0000 {
  31. vdd-supply = <&vdd_3v3_panel>;
  32. status = "okay";
  33. };
  34. };
  35. serial@70006000 {
  36. /* Debug connector on the bottom of the board near SD card. */
  37. status = "okay";
  38. };
  39. pwm@7000a000 {
  40. status = "okay";
  41. };
  42. i2c@7000c000 {
  43. status = "okay";
  44. clock-frequency = <100000>;
  45. acodec: audio-codec@10 {
  46. compatible = "maxim,max98090";
  47. reg = <0x10>;
  48. interrupt-parent = <&gpio>;
  49. interrupts = <TEGRA_GPIO(H, 4) GPIO_ACTIVE_HIGH>;
  50. };
  51. temperature-sensor@4c {
  52. compatible = "ti,tmp451";
  53. reg = <0x4c>;
  54. interrupt-parent = <&gpio>;
  55. interrupts = <TEGRA_GPIO(I, 6) IRQ_TYPE_LEVEL_LOW>;
  56. #thermal-sensor-cells = <1>;
  57. };
  58. };
  59. i2c@7000c400 {
  60. status = "okay";
  61. clock-frequency = <100000>;
  62. trackpad@15 {
  63. compatible = "elan,ekth3000";
  64. reg = <0x15>;
  65. interrupt-parent = <&gpio>;
  66. interrupts = <TEGRA_GPIO(W, 3) IRQ_TYPE_EDGE_FALLING>;
  67. wakeup-source;
  68. };
  69. };
  70. i2c@7000c500 {
  71. status = "okay";
  72. clock-frequency = <400000>;
  73. tpm@20 {
  74. compatible = "infineon,slb9645tt";
  75. reg = <0x20>;
  76. };
  77. };
  78. hdmi_ddc: i2c@7000c700 {
  79. status = "okay";
  80. clock-frequency = <100000>;
  81. };
  82. i2c@7000d000 {
  83. status = "okay";
  84. clock-frequency = <400000>;
  85. pmic: pmic@40 {
  86. compatible = "ams,as3722";
  87. reg = <0x40>;
  88. interrupts = <0 86 IRQ_TYPE_LEVEL_HIGH>;
  89. ams,system-power-controller;
  90. #interrupt-cells = <2>;
  91. interrupt-controller;
  92. gpio-controller;
  93. #gpio-cells = <2>;
  94. pinctrl-names = "default";
  95. pinctrl-0 = <&as3722_default>;
  96. as3722_default: pinmux {
  97. gpio0 {
  98. pins = "gpio0";
  99. function = "gpio";
  100. bias-pull-down;
  101. };
  102. gpio1 {
  103. pins = "gpio1";
  104. function = "gpio";
  105. bias-pull-up;
  106. };
  107. gpio2_4_7 {
  108. pins = "gpio2", "gpio4", "gpio7";
  109. function = "gpio";
  110. bias-pull-up;
  111. };
  112. gpio3_6 {
  113. pins = "gpio3", "gpio6";
  114. bias-high-impedance;
  115. };
  116. gpio5 {
  117. pins = "gpio5";
  118. function = "clk32k-out";
  119. bias-pull-down;
  120. };
  121. };
  122. regulators {
  123. vsup-sd2-supply = <&vdd_5v0_sys>;
  124. vsup-sd3-supply = <&vdd_5v0_sys>;
  125. vsup-sd4-supply = <&vdd_5v0_sys>;
  126. vsup-sd5-supply = <&vdd_5v0_sys>;
  127. vin-ldo0-supply = <&vdd_1v35_lp0>;
  128. vin-ldo1-6-supply = <&vdd_3v3_run>;
  129. vin-ldo2-5-7-supply = <&vddio_1v8>;
  130. vin-ldo3-4-supply = <&vdd_3v3_sys>;
  131. vin-ldo9-10-supply = <&vdd_5v0_sys>;
  132. vin-ldo11-supply = <&vdd_3v3_run>;
  133. vdd_cpu: sd0 {
  134. regulator-name = "+VDD_CPU_AP";
  135. regulator-min-microvolt = <700000>;
  136. regulator-max-microvolt = <1350000>;
  137. regulator-min-microamp = <3500000>;
  138. regulator-max-microamp = <3500000>;
  139. regulator-always-on;
  140. regulator-boot-on;
  141. ams,ext-control = <2>;
  142. };
  143. sd1 {
  144. regulator-name = "+VDD_CORE";
  145. regulator-min-microvolt = <700000>;
  146. regulator-max-microvolt = <1350000>;
  147. regulator-min-microamp = <2500000>;
  148. regulator-max-microamp = <4000000>;
  149. regulator-always-on;
  150. regulator-boot-on;
  151. ams,ext-control = <1>;
  152. };
  153. vdd_1v35_lp0: sd2 {
  154. regulator-name = "+1.35V_LP0(sd2)";
  155. regulator-min-microvolt = <1350000>;
  156. regulator-max-microvolt = <1350000>;
  157. regulator-always-on;
  158. regulator-boot-on;
  159. };
  160. sd3 {
  161. regulator-name = "+1.35V_LP0(sd3)";
  162. regulator-min-microvolt = <1350000>;
  163. regulator-max-microvolt = <1350000>;
  164. regulator-always-on;
  165. regulator-boot-on;
  166. };
  167. vdd_1v05_run: sd4 {
  168. regulator-name = "+1.05V_RUN";
  169. regulator-min-microvolt = <1050000>;
  170. regulator-max-microvolt = <1050000>;
  171. };
  172. vddio_1v8: sd5 {
  173. regulator-name = "+1.8V_VDDIO";
  174. regulator-min-microvolt = <1800000>;
  175. regulator-max-microvolt = <1800000>;
  176. regulator-always-on;
  177. };
  178. sd6 {
  179. regulator-name = "+VDD_GPU_AP";
  180. regulator-min-microvolt = <650000>;
  181. regulator-max-microvolt = <1200000>;
  182. regulator-min-microamp = <3500000>;
  183. regulator-max-microamp = <3500000>;
  184. regulator-boot-on;
  185. regulator-always-on;
  186. };
  187. avdd_1v05_run: ldo0 {
  188. regulator-name = "+1.05V_RUN_AVDD";
  189. regulator-min-microvolt = <1050000>;
  190. regulator-max-microvolt = <1050000>;
  191. regulator-boot-on;
  192. regulator-always-on;
  193. ams,ext-control = <1>;
  194. };
  195. ldo1 {
  196. regulator-name = "+1.8V_RUN_CAM";
  197. regulator-min-microvolt = <1800000>;
  198. regulator-max-microvolt = <1800000>;
  199. };
  200. ldo2 {
  201. regulator-name = "+1.2V_GEN_AVDD";
  202. regulator-min-microvolt = <1200000>;
  203. regulator-max-microvolt = <1200000>;
  204. regulator-boot-on;
  205. regulator-always-on;
  206. };
  207. ldo3 {
  208. regulator-name = "+1.00V_LP0_VDD_RTC";
  209. regulator-min-microvolt = <1000000>;
  210. regulator-max-microvolt = <1000000>;
  211. regulator-boot-on;
  212. regulator-always-on;
  213. ams,enable-tracking;
  214. };
  215. vdd_run_cam: ldo4 {
  216. regulator-name = "+3.3V_RUN_CAM";
  217. regulator-min-microvolt = <2800000>;
  218. regulator-max-microvolt = <2800000>;
  219. };
  220. ldo5 {
  221. regulator-name = "+1.2V_RUN_CAM_FRONT";
  222. regulator-min-microvolt = <1200000>;
  223. regulator-max-microvolt = <1200000>;
  224. };
  225. vddio_sdmmc3: ldo6 {
  226. regulator-name = "+VDDIO_SDMMC3";
  227. regulator-min-microvolt = <1800000>;
  228. regulator-max-microvolt = <3300000>;
  229. };
  230. ldo7 {
  231. regulator-name = "+1.05V_RUN_CAM_REAR";
  232. regulator-min-microvolt = <1050000>;
  233. regulator-max-microvolt = <1050000>;
  234. };
  235. ldo9 {
  236. regulator-name = "+2.8V_RUN_TOUCH";
  237. regulator-min-microvolt = <2800000>;
  238. regulator-max-microvolt = <2800000>;
  239. };
  240. ldo10 {
  241. regulator-name = "+2.8V_RUN_CAM_AF";
  242. regulator-min-microvolt = <2800000>;
  243. regulator-max-microvolt = <2800000>;
  244. };
  245. ldo11 {
  246. regulator-name = "+1.8V_RUN_VPP_FUSE";
  247. regulator-min-microvolt = <1800000>;
  248. regulator-max-microvolt = <1800000>;
  249. };
  250. };
  251. };
  252. };
  253. spi@7000d400 {
  254. status = "okay";
  255. cros_ec: cros-ec@0 {
  256. compatible = "google,cros-ec-spi";
  257. spi-max-frequency = <3000000>;
  258. interrupt-parent = <&gpio>;
  259. interrupts = <TEGRA_GPIO(C, 7) IRQ_TYPE_LEVEL_LOW>;
  260. reg = <0>;
  261. google,cros-ec-spi-msg-delay = <2000>;
  262. i2c-tunnel {
  263. compatible = "google,cros-ec-i2c-tunnel";
  264. #address-cells = <1>;
  265. #size-cells = <0>;
  266. google,remote-bus = <0>;
  267. charger: bq24735@9 {
  268. compatible = "ti,bq24735";
  269. reg = <0x9>;
  270. interrupt-parent = <&gpio>;
  271. interrupts = <TEGRA_GPIO(J, 0)
  272. GPIO_ACTIVE_HIGH>;
  273. ti,ac-detect-gpios = <&gpio
  274. TEGRA_GPIO(J, 0)
  275. GPIO_ACTIVE_HIGH>;
  276. };
  277. battery: sbs-battery@b {
  278. compatible = "sbs,sbs-battery";
  279. reg = <0xb>;
  280. sbs,i2c-retry-count = <2>;
  281. sbs,poll-retry-count = <10>;
  282. power-supplies = <&charger>;
  283. };
  284. };
  285. };
  286. };
  287. spi@7000da00 {
  288. status = "okay";
  289. spi-max-frequency = <25000000>;
  290. flash@0 {
  291. compatible = "winbond,w25q32dw";
  292. spi-max-frequency = <25000000>;
  293. reg = <0>;
  294. };
  295. };
  296. pmc@7000e400 {
  297. nvidia,invert-interrupt;
  298. nvidia,suspend-mode = <0>;
  299. nvidia,cpu-pwr-good-time = <500>;
  300. nvidia,cpu-pwr-off-time = <300>;
  301. nvidia,core-pwr-good-time = <641 3845>;
  302. nvidia,core-pwr-off-time = <61036>;
  303. nvidia,core-power-req-active-high;
  304. nvidia,sys-clock-req-active-high;
  305. };
  306. hda@70030000 {
  307. status = "okay";
  308. };
  309. usb@70090000 {
  310. phys = <&{/padctl@7009f000/pads/usb2/lanes/usb2-0}>, /* 1st USB A */
  311. <&{/padctl@7009f000/pads/usb2/lanes/usb2-1}>, /* Internal USB */
  312. <&{/padctl@7009f000/pads/usb2/lanes/usb2-2}>, /* 2nd USB A */
  313. <&{/padctl@7009f000/pads/pcie/lanes/pcie-0}>, /* 1st USB A */
  314. <&{/padctl@7009f000/pads/pcie/lanes/pcie-1}>; /* 2nd USB A */
  315. phy-names = "usb2-0", "usb2-1", "usb2-2", "usb3-0", "usb3-1";
  316. avddio-pex-supply = <&vdd_1v05_run>;
  317. dvddio-pex-supply = <&vdd_1v05_run>;
  318. avdd-usb-supply = <&vdd_3v3_lp0>;
  319. avdd-pll-utmip-supply = <&vddio_1v8>;
  320. avdd-pll-erefe-supply = <&avdd_1v05_run>;
  321. avdd-usb-ss-pll-supply = <&vdd_1v05_run>;
  322. hvdd-usb-ss-supply = <&vdd_3v3_lp0>;
  323. hvdd-usb-ss-pll-e-supply = <&vdd_3v3_lp0>;
  324. status = "okay";
  325. };
  326. padctl@7009f000 {
  327. status = "okay";
  328. pads {
  329. usb2 {
  330. status = "okay";
  331. lanes {
  332. usb2-0 {
  333. nvidia,function = "xusb";
  334. status = "okay";
  335. };
  336. usb2-1 {
  337. nvidia,function = "xusb";
  338. status = "okay";
  339. };
  340. usb2-2 {
  341. nvidia,function = "xusb";
  342. status = "okay";
  343. };
  344. };
  345. };
  346. pcie {
  347. status = "okay";
  348. lanes {
  349. pcie-0 {
  350. nvidia,function = "usb3-ss";
  351. status = "okay";
  352. };
  353. pcie-1 {
  354. nvidia,function = "usb3-ss";
  355. status = "okay";
  356. };
  357. };
  358. };
  359. };
  360. ports {
  361. usb2-0 {
  362. vbus-supply = <&vdd_usb1_vbus>;
  363. status = "okay";
  364. mode = "otg";
  365. };
  366. usb2-1 {
  367. vbus-supply = <&vdd_run_cam>;
  368. status = "okay";
  369. mode = "host";
  370. };
  371. usb2-2 {
  372. vbus-supply = <&vdd_usb3_vbus>;
  373. status = "okay";
  374. mode = "host";
  375. };
  376. usb3-0 {
  377. nvidia,usb2-companion = <0>;
  378. status = "okay";
  379. };
  380. usb3-1 {
  381. nvidia,usb2-companion = <1>;
  382. status = "okay";
  383. };
  384. };
  385. };
  386. sdhci0_pwrseq: sdhci0_pwrseq {
  387. compatible = "mmc-pwrseq-simple";
  388. reset-gpios = <&gpio TEGRA_GPIO(X, 7) GPIO_ACTIVE_LOW>;
  389. };
  390. sdhci@700b0000 { /* WiFi/BT on this bus */
  391. status = "okay";
  392. bus-width = <4>;
  393. no-1-8-v;
  394. non-removable;
  395. mmc-pwrseq = <&sdhci0_pwrseq>;
  396. vmmc-supply = <&vdd_3v3_lp0>;
  397. vqmmc-supply = <&vddio_1v8>;
  398. keep-power-in-suspend;
  399. };
  400. sdhci@700b0400 { /* SD Card on this bus */
  401. status = "okay";
  402. cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>;
  403. power-gpios = <&gpio TEGRA_GPIO(R, 0) GPIO_ACTIVE_HIGH>;
  404. bus-width = <4>;
  405. no-1-8-v;
  406. vqmmc-supply = <&vddio_sdmmc3>;
  407. };
  408. sdhci@700b0600 { /* eMMC on this bus */
  409. status = "okay";
  410. bus-width = <8>;
  411. no-1-8-v;
  412. non-removable;
  413. };
  414. /* CPU DFLL clock */
  415. clock@70110000 {
  416. status = "disabled";
  417. vdd-cpu-supply = <&vdd_cpu>;
  418. nvidia,i2c-fs-rate = <400000>;
  419. };
  420. ahub@70300000 {
  421. i2s@70301100 {
  422. status = "okay";
  423. };
  424. };
  425. backlight: backlight {
  426. compatible = "pwm-backlight";
  427. enable-gpios = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>;
  428. power-supply = <&vdd_led>;
  429. pwms = <&pwm 1 1000000>;
  430. default-brightness-level = <224>;
  431. brightness-levels =
  432. < 0 1 2 3 4 5 6 7
  433. 8 9 10 11 12 13 14 15
  434. 16 17 18 19 20 21 22 23
  435. 24 25 26 27 28 29 30 31
  436. 32 33 34 35 36 37 38 39
  437. 40 41 42 43 44 45 46 47
  438. 48 49 50 51 52 53 54 55
  439. 56 57 58 59 60 61 62 63
  440. 64 65 66 67 68 69 70 71
  441. 72 73 74 75 76 77 78 79
  442. 80 81 82 83 84 85 86 87
  443. 88 89 90 91 92 93 94 95
  444. 96 97 98 99 100 101 102 103
  445. 104 105 106 107 108 109 110 111
  446. 112 113 114 115 116 117 118 119
  447. 120 121 122 123 124 125 126 127
  448. 128 129 130 131 132 133 134 135
  449. 136 137 138 139 140 141 142 143
  450. 144 145 146 147 148 149 150 151
  451. 152 153 154 155 156 157 158 159
  452. 160 161 162 163 164 165 166 167
  453. 168 169 170 171 172 173 174 175
  454. 176 177 178 179 180 181 182 183
  455. 184 185 186 187 188 189 190 191
  456. 192 193 194 195 196 197 198 199
  457. 200 201 202 203 204 205 206 207
  458. 208 209 210 211 212 213 214 215
  459. 216 217 218 219 220 221 222 223
  460. 224 225 226 227 228 229 230 231
  461. 232 233 234 235 236 237 238 239
  462. 240 241 242 243 244 245 246 247
  463. 248 249 250 251 252 253 254 255
  464. 256>;
  465. };
  466. clocks {
  467. compatible = "simple-bus";
  468. #address-cells = <1>;
  469. #size-cells = <0>;
  470. clk32k_in: clock@0 {
  471. compatible = "fixed-clock";
  472. reg = <0>;
  473. #clock-cells = <0>;
  474. clock-frequency = <32768>;
  475. };
  476. };
  477. cpus {
  478. cpu@0 {
  479. vdd-cpu-supply = <&vdd_cpu>;
  480. };
  481. };
  482. gpio-keys {
  483. compatible = "gpio-keys";
  484. lid {
  485. label = "Lid";
  486. gpios = <&gpio TEGRA_GPIO(R, 4) GPIO_ACTIVE_LOW>;
  487. linux,input-type = <5>;
  488. linux,code = <KEY_RESERVED>;
  489. debounce-interval = <1>;
  490. wakeup-source;
  491. };
  492. power {
  493. label = "Power";
  494. gpios = <&gpio TEGRA_GPIO(Q, 0) GPIO_ACTIVE_LOW>;
  495. linux,code = <KEY_POWER>;
  496. debounce-interval = <30>;
  497. wakeup-source;
  498. };
  499. };
  500. regulators {
  501. compatible = "simple-bus";
  502. #address-cells = <1>;
  503. #size-cells = <0>;
  504. vdd_mux: regulator@0 {
  505. compatible = "regulator-fixed";
  506. reg = <0>;
  507. regulator-name = "+VDD_MUX";
  508. regulator-min-microvolt = <12000000>;
  509. regulator-max-microvolt = <12000000>;
  510. regulator-always-on;
  511. regulator-boot-on;
  512. };
  513. vdd_5v0_sys: regulator@1 {
  514. compatible = "regulator-fixed";
  515. reg = <1>;
  516. regulator-name = "+5V_SYS";
  517. regulator-min-microvolt = <5000000>;
  518. regulator-max-microvolt = <5000000>;
  519. regulator-always-on;
  520. regulator-boot-on;
  521. vin-supply = <&vdd_mux>;
  522. };
  523. vdd_3v3_sys: regulator@2 {
  524. compatible = "regulator-fixed";
  525. reg = <2>;
  526. regulator-name = "+3.3V_SYS";
  527. regulator-min-microvolt = <3300000>;
  528. regulator-max-microvolt = <3300000>;
  529. regulator-always-on;
  530. regulator-boot-on;
  531. vin-supply = <&vdd_mux>;
  532. };
  533. vdd_3v3_run: regulator@3 {
  534. compatible = "regulator-fixed";
  535. reg = <3>;
  536. regulator-name = "+3.3V_RUN";
  537. regulator-min-microvolt = <3300000>;
  538. regulator-max-microvolt = <3300000>;
  539. regulator-always-on;
  540. regulator-boot-on;
  541. gpio = <&pmic 1 GPIO_ACTIVE_HIGH>;
  542. enable-active-high;
  543. vin-supply = <&vdd_3v3_sys>;
  544. };
  545. vdd_3v3_hdmi: regulator@4 {
  546. compatible = "regulator-fixed";
  547. reg = <4>;
  548. regulator-name = "+3.3V_AVDD_HDMI_AP_GATED";
  549. regulator-min-microvolt = <3300000>;
  550. regulator-max-microvolt = <3300000>;
  551. vin-supply = <&vdd_3v3_run>;
  552. };
  553. vdd_led: regulator@5 {
  554. compatible = "regulator-fixed";
  555. reg = <5>;
  556. regulator-name = "+VDD_LED";
  557. gpio = <&gpio TEGRA_GPIO(P, 2) GPIO_ACTIVE_HIGH>;
  558. enable-active-high;
  559. vin-supply = <&vdd_mux>;
  560. };
  561. vdd_5v0_ts: regulator@6 {
  562. compatible = "regulator-fixed";
  563. reg = <6>;
  564. regulator-name = "+5V_VDD_TS_SW";
  565. regulator-min-microvolt = <5000000>;
  566. regulator-max-microvolt = <5000000>;
  567. regulator-boot-on;
  568. gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>;
  569. enable-active-high;
  570. vin-supply = <&vdd_5v0_sys>;
  571. };
  572. vdd_usb1_vbus: regulator@7 {
  573. compatible = "regulator-fixed";
  574. reg = <7>;
  575. regulator-name = "+5V_USB_HS";
  576. regulator-min-microvolt = <5000000>;
  577. regulator-max-microvolt = <5000000>;
  578. gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>;
  579. enable-active-high;
  580. gpio-open-drain;
  581. vin-supply = <&vdd_5v0_sys>;
  582. };
  583. vdd_usb3_vbus: regulator@8 {
  584. compatible = "regulator-fixed";
  585. reg = <8>;
  586. regulator-name = "+5V_USB_SS";
  587. regulator-min-microvolt = <5000000>;
  588. regulator-max-microvolt = <5000000>;
  589. gpio = <&gpio TEGRA_GPIO(N, 5) GPIO_ACTIVE_HIGH>;
  590. enable-active-high;
  591. gpio-open-drain;
  592. vin-supply = <&vdd_5v0_sys>;
  593. };
  594. vdd_3v3_panel: regulator@9 {
  595. compatible = "regulator-fixed";
  596. reg = <9>;
  597. regulator-name = "+3.3V_PANEL";
  598. regulator-min-microvolt = <3300000>;
  599. regulator-max-microvolt = <3300000>;
  600. gpio = <&pmic 4 GPIO_ACTIVE_HIGH>;
  601. enable-active-high;
  602. vin-supply = <&vdd_3v3_run>;
  603. };
  604. vdd_3v3_lp0: regulator@10 {
  605. compatible = "regulator-fixed";
  606. reg = <10>;
  607. regulator-name = "+3.3V_LP0";
  608. regulator-min-microvolt = <3300000>;
  609. regulator-max-microvolt = <3300000>;
  610. /*
  611. * TODO: find a way to wire this up with the USB EHCI
  612. * controllers so that it can be enabled on demand.
  613. */
  614. regulator-always-on;
  615. gpio = <&pmic 2 GPIO_ACTIVE_HIGH>;
  616. enable-active-high;
  617. vin-supply = <&vdd_3v3_sys>;
  618. };
  619. vdd_hdmi_pll: regulator@11 {
  620. compatible = "regulator-fixed";
  621. reg = <11>;
  622. regulator-name = "+1.05V_RUN_AVDD_HDMI_PLL";
  623. regulator-min-microvolt = <1050000>;
  624. regulator-max-microvolt = <1050000>;
  625. gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_LOW>;
  626. vin-supply = <&vdd_1v05_run>;
  627. };
  628. vdd_5v0_hdmi: regulator@12 {
  629. compatible = "regulator-fixed";
  630. reg = <12>;
  631. regulator-name = "+5V_HDMI_CON";
  632. regulator-min-microvolt = <5000000>;
  633. regulator-max-microvolt = <5000000>;
  634. gpio = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>;
  635. enable-active-high;
  636. vin-supply = <&vdd_5v0_sys>;
  637. };
  638. };
  639. sound {
  640. nvidia,audio-routing =
  641. "Headphones", "HPR",
  642. "Headphones", "HPL",
  643. "Speakers", "SPKR",
  644. "Speakers", "SPKL",
  645. "Mic Jack", "MICBIAS",
  646. "DMICL", "Int Mic",
  647. "DMICR", "Int Mic",
  648. "IN34", "Mic Jack";
  649. nvidia,i2s-controller = <&tegra_i2s1>;
  650. nvidia,audio-codec = <&acodec>;
  651. clocks = <&tegra_car TEGRA124_CLK_PLL_A>,
  652. <&tegra_car TEGRA124_CLK_PLL_A_OUT0>,
  653. <&tegra_car TEGRA124_CLK_EXTERN1>;
  654. clock-names = "pll_a", "pll_a_out0", "mclk";
  655. nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(I, 7) GPIO_ACTIVE_HIGH>;
  656. nvidia,mic-det-gpios =
  657. <&gpio TEGRA_GPIO(R, 7) GPIO_ACTIVE_HIGH>;
  658. };
  659. gpio-restart {
  660. compatible = "gpio-restart";
  661. gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>;
  662. priority = <200>;
  663. };
  664. };
  665. #include "cros-ec-keyboard.dtsi"