tegra124-nyan.dtsi 16 KB

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