omap5-cm-t54.dts 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Support for CompuLab CM-T54
  4. */
  5. /dts-v1/;
  6. #include "omap5.dtsi"
  7. #include <dt-bindings/interrupt-controller/irq.h>
  8. #include <dt-bindings/interrupt-controller/arm-gic.h>
  9. / {
  10. model = "CompuLab CM-T54";
  11. compatible = "compulab,omap5-cm-t54", "ti,omap5";
  12. memory@80000000 {
  13. device_type = "memory";
  14. reg = <0 0x80000000 0 0x7f000000>; /* 2048 MB */
  15. };
  16. aliases {
  17. display0 = &hdmi0;
  18. display1 = &dvi0;
  19. display2 = &lcd0;
  20. };
  21. vmmcsd_fixed: fixed-regulator-mmcsd {
  22. compatible = "regulator-fixed";
  23. regulator-name = "vmmcsd_fixed";
  24. regulator-min-microvolt = <3300000>;
  25. regulator-max-microvolt = <3300000>;
  26. };
  27. vwlan_pdn_fixed: fixed-regulator-vwlan-pdn {
  28. compatible = "regulator-fixed";
  29. regulator-name = "vwlan_pdn_fixed";
  30. regulator-min-microvolt = <3300000>;
  31. regulator-max-microvolt = <3300000>;
  32. vin-supply = <&ldo2_reg>;
  33. gpio = <&gpio4 13 GPIO_ACTIVE_HIGH>; /* gpio4_109 */
  34. startup-delay-us = <1000>;
  35. enable-active-high;
  36. };
  37. vwlan_fixed: fixed-regulator-vwlan {
  38. compatible = "regulator-fixed";
  39. regulator-name = "vwlan_fixed";
  40. regulator-min-microvolt = <3300000>;
  41. regulator-max-microvolt = <3300000>;
  42. vin-supply = <&vwlan_pdn_fixed>;
  43. gpio = <&gpio4 14 GPIO_ACTIVE_HIGH>; /* gpio4_110 */
  44. startup-delay-us = <1000>;
  45. enable-active-high;
  46. };
  47. ads7846reg: ads7846-reg {
  48. compatible = "regulator-fixed";
  49. regulator-name = "ads7846-reg";
  50. regulator-min-microvolt = <3300000>;
  51. regulator-max-microvolt = <3300000>;
  52. };
  53. /* HS USB Host PHY on PORT 2 */
  54. hsusb2_phy: hsusb2_phy {
  55. compatible = "usb-nop-xceiv";
  56. reset-gpios = <&gpio3 12 GPIO_ACTIVE_LOW>; /* gpio3_76 HUB_RESET */
  57. #phy-cells = <0>;
  58. };
  59. /* HS USB Host PHY on PORT 3 */
  60. hsusb3_phy: hsusb3_phy {
  61. compatible = "usb-nop-xceiv";
  62. reset-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>; /* gpio3_83 ETH_RESET */
  63. #phy-cells = <0>;
  64. };
  65. leds {
  66. compatible = "gpio-leds";
  67. led1 {
  68. label = "Heartbeat";
  69. gpios = <&gpio3 16 GPIO_ACTIVE_HIGH>; /* gpio3_80 ACT_LED */
  70. linux,default-trigger = "heartbeat";
  71. default-state = "off";
  72. };
  73. };
  74. lcd0: display {
  75. compatible = "startek,startek-kd050c", "panel-dpi";
  76. label = "lcd";
  77. pinctrl-names = "default";
  78. pinctrl-0 = <&lcd_pins>;
  79. enable-gpios = <&gpio8 3 GPIO_ACTIVE_HIGH>;
  80. panel-timing {
  81. clock-frequency = <33000000>;
  82. hactive = <800>;
  83. vactive = <480>;
  84. hfront-porch = <40>;
  85. hback-porch = <40>;
  86. hsync-len = <43>;
  87. vback-porch = <29>;
  88. vfront-porch = <13>;
  89. vsync-len = <3>;
  90. hsync-active = <0>;
  91. vsync-active = <0>;
  92. de-active = <1>;
  93. pixelclk-active = <1>;
  94. };
  95. port {
  96. lcd_in: endpoint {
  97. remote-endpoint = <&dpi_lcd_out>;
  98. };
  99. };
  100. };
  101. hdmi0: connector0 {
  102. compatible = "hdmi-connector";
  103. label = "hdmi";
  104. type = "a";
  105. pinctrl-names = "default";
  106. pinctrl-0 = <&hdmi_conn_pins>;
  107. hpd-gpios = <&gpio7 1 GPIO_ACTIVE_HIGH>; /* GPIO 193, HPD */
  108. port {
  109. hdmi_connector_in: endpoint {
  110. remote-endpoint = <&hdmi_out>;
  111. };
  112. };
  113. };
  114. tfp410: encoder0 {
  115. compatible = "ti,tfp410";
  116. ports {
  117. #address-cells = <1>;
  118. #size-cells = <0>;
  119. port@0 {
  120. reg = <0>;
  121. tfp410_in: endpoint {
  122. remote-endpoint = <&dpi_dvi_out>;
  123. };
  124. };
  125. port@1 {
  126. reg = <1>;
  127. tfp410_out: endpoint {
  128. remote-endpoint = <&dvi_connector_in>;
  129. };
  130. };
  131. };
  132. };
  133. dvi0: connector1 {
  134. compatible = "dvi-connector";
  135. label = "dvi";
  136. digital;
  137. ddc-i2c-bus = <&i2c2>;
  138. port {
  139. dvi_connector_in: endpoint {
  140. remote-endpoint = <&tfp410_out>;
  141. };
  142. };
  143. };
  144. };
  145. &omap5_pmx_wkup {
  146. ads7846_pins: pinmux_ads7846_pins {
  147. pinctrl-single,pins = <
  148. OMAP5_IOPAD(0x0042, PIN_INPUT_PULLDOWN | MUX_MODE6) /* llib_wakereqin.gpio1_wk15 */
  149. >;
  150. };
  151. palmas_sys_nirq_pins: pinmux_palmas_sys_nirq_pins {
  152. pinctrl-single,pins = <
  153. /* sys_nirq1 is pulled down as the SoC is inverting it for GIC */
  154. OMAP5_IOPAD(0x068, PIN_INPUT_PULLUP | MUX_MODE0)
  155. >;
  156. };
  157. };
  158. &omap5_pmx_core {
  159. pinctrl-names = "default";
  160. pinctrl-0 = <
  161. &led_gpio_pins
  162. &usbhost_pins
  163. >;
  164. led_gpio_pins: pinmux_led_gpio_pins {
  165. pinctrl-single,pins = <
  166. OMAP5_IOPAD(0x00b0, PIN_OUTPUT | MUX_MODE6) /* hsi2_caflag.gpio3_80 */
  167. >;
  168. };
  169. i2c1_pins: pinmux_i2c1_pins {
  170. pinctrl-single,pins = <
  171. OMAP5_IOPAD(0x01f2, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_pmic_scl */
  172. OMAP5_IOPAD(0x01f4, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_pmic_sda */
  173. >;
  174. };
  175. i2c2_pins: pinmux_i2c2_pins {
  176. pinctrl-single,pins = <
  177. OMAP5_IOPAD(0x01b8, PIN_INPUT | MUX_MODE0) /* i2c2_scl */
  178. OMAP5_IOPAD(0x01ba, PIN_INPUT | MUX_MODE0) /* i2c2_sda */
  179. >;
  180. };
  181. mmc1_pins: pinmux_mmc1_pins {
  182. pinctrl-single,pins = <
  183. OMAP5_IOPAD(0x01e2, PIN_INPUT_PULLUP | MUX_MODE0) /* sdcard_clk */
  184. OMAP5_IOPAD(0x01e4, PIN_INPUT_PULLUP | MUX_MODE0) /* sdcard_cmd */
  185. OMAP5_IOPAD(0x01e6, PIN_INPUT_PULLUP | MUX_MODE0) /* sdcard_data2 */
  186. OMAP5_IOPAD(0x01e8, PIN_INPUT_PULLUP | MUX_MODE0) /* sdcard_data3 */
  187. OMAP5_IOPAD(0x01ea, PIN_INPUT_PULLUP | MUX_MODE0) /* sdcard_data0 */
  188. OMAP5_IOPAD(0x01ec, PIN_INPUT_PULLUP | MUX_MODE0) /* sdcard_data1 */
  189. >;
  190. };
  191. mmc2_pins: pinmux_mmc2_pins {
  192. pinctrl-single,pins = <
  193. OMAP5_IOPAD(0x0040, PIN_INPUT_PULLUP | MUX_MODE0) /* emmc_clk */
  194. OMAP5_IOPAD(0x0042, PIN_INPUT_PULLUP | MUX_MODE0) /* emmc_cmd */
  195. OMAP5_IOPAD(0x0044, PIN_INPUT_PULLUP | MUX_MODE0) /* emmc_data0 */
  196. OMAP5_IOPAD(0x0046, PIN_INPUT_PULLUP | MUX_MODE0) /* emmc_data1 */
  197. OMAP5_IOPAD(0x0048, PIN_INPUT_PULLUP | MUX_MODE0) /* emmc_data2 */
  198. OMAP5_IOPAD(0x004a, PIN_INPUT_PULLUP | MUX_MODE0) /* emmc_data3 */
  199. OMAP5_IOPAD(0x004c, PIN_INPUT_PULLUP | MUX_MODE0) /* emmc_data4 */
  200. OMAP5_IOPAD(0x004e, PIN_INPUT_PULLUP | MUX_MODE0) /* emmc_data5 */
  201. OMAP5_IOPAD(0x0050, PIN_INPUT_PULLUP | MUX_MODE0) /* emmc_data6 */
  202. OMAP5_IOPAD(0x0052, PIN_INPUT_PULLUP | MUX_MODE0) /* emmc_data7 */
  203. >;
  204. };
  205. mmc3_pins: pinmux_mmc3_pins {
  206. pinctrl-single,pins = <
  207. OMAP5_IOPAD(0x01a4, PIN_INPUT_PULLUP | MUX_MODE0) /* wlsdio_clk */
  208. OMAP5_IOPAD(0x01a6, PIN_INPUT_PULLUP | MUX_MODE0) /* wlsdio_cmd */
  209. OMAP5_IOPAD(0x01a8, PIN_INPUT_PULLUP | MUX_MODE0) /* wlsdio_data0 */
  210. OMAP5_IOPAD(0x01aa, PIN_INPUT_PULLUP | MUX_MODE0) /* wlsdio_data1 */
  211. OMAP5_IOPAD(0x01ac, PIN_INPUT_PULLUP | MUX_MODE0) /* wlsdio_data2 */
  212. OMAP5_IOPAD(0x01ae, PIN_INPUT_PULLUP | MUX_MODE0) /* wlsdio_data3 */
  213. >;
  214. };
  215. wlan_gpios_pins: pinmux_wlan_gpios_pins {
  216. pinctrl-single,pins = <
  217. OMAP5_IOPAD(0x019c, PIN_OUTPUT_PULLDOWN | MUX_MODE6) /* abemcpdm_ul_data.gpio4_109 */
  218. OMAP5_IOPAD(0x019e, PIN_OUTPUT_PULLDOWN | MUX_MODE6) /* abemcpdm_dl_data.gpio4_110 */
  219. >;
  220. };
  221. usbhost_pins: pinmux_usbhost_pins {
  222. pinctrl-single,pins = <
  223. OMAP5_IOPAD(0x00c4, PIN_INPUT | MUX_MODE0) /* usbb2_hsic_strobe */
  224. OMAP5_IOPAD(0x00c6, PIN_INPUT | MUX_MODE0) /* usbb2_hsic_data */
  225. OMAP5_IOPAD(0x01dc, PIN_INPUT | MUX_MODE0) /* usbb3_hsic_strobe */
  226. OMAP5_IOPAD(0x01de, PIN_INPUT | MUX_MODE0) /* usbb3_hsic_data */
  227. OMAP5_IOPAD(0x00a8, PIN_OUTPUT | MUX_MODE6) /* hsi2_caready.gpio3_76 */
  228. OMAP5_IOPAD(0x00b6, PIN_OUTPUT | MUX_MODE6) /* hsi2_acdata.gpio3_83 */
  229. >;
  230. };
  231. dss_hdmi_pins: pinmux_dss_hdmi_pins {
  232. pinctrl-single,pins = <
  233. OMAP5_IOPAD(0x013c, PIN_INPUT | MUX_MODE0) /* hdmi_cec */
  234. OMAP5_IOPAD(0x0140, PIN_INPUT | MUX_MODE0) /* hdmi_ddc_scl */
  235. OMAP5_IOPAD(0x0142, PIN_INPUT | MUX_MODE0) /* hdmi_ddc_sda */
  236. >;
  237. };
  238. lcd_pins: pinmux_lcd_pins {
  239. pinctrl-single,pins = <
  240. OMAP5_IOPAD(0x0172, PIN_OUTPUT_PULLDOWN | MUX_MODE6) /* timer11_pwm_evt.gpio8_227 */
  241. >;
  242. };
  243. hdmi_conn_pins: pinmux_hdmi_conn_pins {
  244. pinctrl-single,pins = <
  245. OMAP5_IOPAD(0x013e, PIN_INPUT | MUX_MODE6) /* hdmi_hpd.gpio7_193 */
  246. >;
  247. };
  248. dss_dpi_pins: pinmux_dss_dpi_pins {
  249. pinctrl-single,pins = <
  250. OMAP5_IOPAD(0x0104, PIN_OUTPUT | MUX_MODE3) /* rfbi_data15.dispc_data15 */
  251. OMAP5_IOPAD(0x0106, PIN_OUTPUT | MUX_MODE3) /* rfbi_data14.dispc_data14 */
  252. OMAP5_IOPAD(0x0108, PIN_OUTPUT | MUX_MODE3) /* rfbi_data13.dispc_data13 */
  253. OMAP5_IOPAD(0x010a, PIN_OUTPUT | MUX_MODE3) /* rfbi_data12.dispc_data12 */
  254. OMAP5_IOPAD(0x010c, PIN_OUTPUT | MUX_MODE3) /* rfbi_data11.dispc_data11 */
  255. OMAP5_IOPAD(0x010e, PIN_OUTPUT | MUX_MODE3) /* rfbi_data10.dispc_data10 */
  256. OMAP5_IOPAD(0x0110, PIN_OUTPUT | MUX_MODE3) /* rfbi_data9.dispc_data9 */
  257. OMAP5_IOPAD(0x0112, PIN_OUTPUT | MUX_MODE3) /* rfbi_data8.dispc_data8 */
  258. OMAP5_IOPAD(0x0114, PIN_OUTPUT | MUX_MODE3) /* rfbi_data7.dispc_data7 */
  259. OMAP5_IOPAD(0x0116, PIN_OUTPUT | MUX_MODE3) /* rfbi_data6.dispc_data6 */
  260. OMAP5_IOPAD(0x0118, PIN_OUTPUT | MUX_MODE3) /* rfbi_data5.dispc_data5 */
  261. OMAP5_IOPAD(0x011a, PIN_OUTPUT | MUX_MODE3) /* rfbi_data4.dispc_data4 */
  262. OMAP5_IOPAD(0x011c, PIN_OUTPUT | MUX_MODE3) /* rfbi_data3.dispc_data3 */
  263. OMAP5_IOPAD(0x011e, PIN_OUTPUT | MUX_MODE3) /* rfbi_data2.dispc_data2 */
  264. OMAP5_IOPAD(0x0120, PIN_OUTPUT | MUX_MODE3) /* rfbi_data1.dispc_data1 */
  265. OMAP5_IOPAD(0x0122, PIN_OUTPUT | MUX_MODE3) /* rfbi_data0.dispc_data0 */
  266. OMAP5_IOPAD(0x0124, PIN_OUTPUT | MUX_MODE3) /* rfbi_we.dispc_vsync */
  267. OMAP5_IOPAD(0x0126, PIN_OUTPUT | MUX_MODE3) /* rfbi_cs0.dispc_hsync */
  268. OMAP5_IOPAD(0x0128, PIN_OUTPUT | MUX_MODE3) /* rfbi_a0.dispc_de */
  269. OMAP5_IOPAD(0x012a, PIN_OUTPUT | MUX_MODE3) /* rfbi_re.dispc_pclk */
  270. OMAP5_IOPAD(0x012c, PIN_OUTPUT | MUX_MODE3) /* rfbi_hsync0.dispc_data17 */
  271. OMAP5_IOPAD(0x012e, PIN_OUTPUT | MUX_MODE3) /* rfbi_te_vsync0.dispc_data16 */
  272. OMAP5_IOPAD(0x0130, PIN_OUTPUT | MUX_MODE3) /* gpio6_182.dispc_data18 */
  273. OMAP5_IOPAD(0x0132, PIN_OUTPUT | MUX_MODE3) /* gpio6_183.dispc_data19 */
  274. OMAP5_IOPAD(0x0134, PIN_OUTPUT | MUX_MODE3) /* gpio6_184.dispc_data20 */
  275. OMAP5_IOPAD(0x0136, PIN_OUTPUT | MUX_MODE3) /* gpio6_185.dispc_data21 */
  276. OMAP5_IOPAD(0x0138, PIN_OUTPUT | MUX_MODE3) /* gpio6_186.dispc_data22 */
  277. OMAP5_IOPAD(0x013a, PIN_OUTPUT | MUX_MODE3) /* gpio6_187.dispc_data23 */
  278. >;
  279. };
  280. mcspi2_pins: pinmux_mcspi1_pins {
  281. pinctrl-single,pins = <
  282. OMAP5_IOPAD(0x00fc, PIN_INPUT | MUX_MODE0) /* mcspi2_clk */
  283. OMAP5_IOPAD(0x00fe, PIN_INPUT | MUX_MODE0) /* mcspi2_simo */
  284. OMAP5_IOPAD(0x0100, PIN_INPUT | MUX_MODE0) /* mcspi2_somi */
  285. OMAP5_IOPAD(0x0102, PIN_INPUT | MUX_MODE0) /* mcspi2_cs0 */
  286. >;
  287. };
  288. };
  289. &mcspi2 {
  290. pinctrl-names = "default";
  291. pinctrl-0 = <&mcspi2_pins>;
  292. /* touch controller */
  293. ads7846@0 {
  294. pinctrl-names = "default";
  295. pinctrl-0 = <&ads7846_pins>;
  296. compatible = "ti,ads7846";
  297. vcc-supply = <&ads7846reg>;
  298. reg = <0>; /* CS0 */
  299. spi-max-frequency = <1500000>;
  300. interrupt-parent = <&gpio1>;
  301. interrupts = <15 0>; /* gpio1_wk15 */
  302. pendown-gpio = <&gpio1 15 GPIO_ACTIVE_LOW>;
  303. ti,x-min = /bits/ 16 <0x0>;
  304. ti,x-max = /bits/ 16 <0x0fff>;
  305. ti,y-min = /bits/ 16 <0x0>;
  306. ti,y-max = /bits/ 16 <0x0fff>;
  307. ti,x-plate-ohms = /bits/ 16 <180>;
  308. ti,pressure-max = /bits/ 16 <255>;
  309. ti,debounce-max = /bits/ 16 <30>;
  310. ti,debounce-tol = /bits/ 16 <10>;
  311. ti,debounce-rep = /bits/ 16 <1>;
  312. wakeup-source;
  313. };
  314. };
  315. &mmc1 {
  316. pinctrl-names = "default";
  317. pinctrl-0 = <&mmc1_pins>;
  318. vmmc-supply = <&ldo9_reg>;
  319. bus-width = <4>;
  320. };
  321. &mmc2 {
  322. pinctrl-names = "default";
  323. pinctrl-0 = <&mmc2_pins>;
  324. vmmc-supply = <&vmmcsd_fixed>;
  325. bus-width = <8>;
  326. ti,non-removable;
  327. };
  328. &mmc3 {
  329. pinctrl-names = "default";
  330. pinctrl-0 = <
  331. &mmc3_pins
  332. &wlan_gpios_pins
  333. >;
  334. vmmc-supply = <&vwlan_fixed>;
  335. bus-width = <4>;
  336. ti,non-removable;
  337. };
  338. &mmc4 {
  339. status = "disabled";
  340. };
  341. &mmc5 {
  342. status = "disabled";
  343. };
  344. &i2c1 {
  345. pinctrl-names = "default";
  346. pinctrl-0 = <&i2c1_pins>;
  347. clock-frequency = <400000>;
  348. at24@50 {
  349. compatible = "atmel,24c02";
  350. pagesize = <16>;
  351. reg = <0x50>;
  352. };
  353. palmas: palmas@48 {
  354. compatible = "ti,palmas";
  355. reg = <0x48>;
  356. pinctrl-0 = <&palmas_sys_nirq_pins>;
  357. pinctrl-names = "default";
  358. /* sys_nirq/ext_sys_irq pins get inverted at mpuss wakeupgen */
  359. interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_LOW>;
  360. interrupt-controller;
  361. #interrupt-cells = <2>;
  362. ti,system-power-controller;
  363. extcon_usb3: palmas_usb {
  364. compatible = "ti,palmas-usb-vid";
  365. ti,enable-vbus-detection;
  366. ti,enable-id-detection;
  367. ti,wakeup;
  368. };
  369. rtc {
  370. compatible = "ti,palmas-rtc";
  371. interrupt-parent = <&palmas>;
  372. interrupts = <8 IRQ_TYPE_NONE>;
  373. };
  374. palmas_pmic {
  375. compatible = "ti,palmas-pmic";
  376. interrupt-parent = <&palmas>;
  377. interrupts = <14 IRQ_TYPE_NONE>;
  378. interrupt-names = "short-irq";
  379. ti,ldo6-vibrator;
  380. regulators {
  381. smps123_reg: smps123 {
  382. /* VDD_OPP_MPU */
  383. regulator-name = "smps123";
  384. regulator-min-microvolt = < 600000>;
  385. regulator-max-microvolt = <1500000>;
  386. regulator-always-on;
  387. regulator-boot-on;
  388. };
  389. smps45_reg: smps45 {
  390. /* VDD_OPP_MM */
  391. regulator-name = "smps45";
  392. regulator-min-microvolt = < 600000>;
  393. regulator-max-microvolt = <1310000>;
  394. regulator-always-on;
  395. regulator-boot-on;
  396. };
  397. smps6_reg: smps6 {
  398. /* VDD_DDR3 - over VDD_SMPS6 */
  399. regulator-name = "smps6";
  400. regulator-min-microvolt = <1500000>;
  401. regulator-max-microvolt = <1500000>;
  402. regulator-always-on;
  403. regulator-boot-on;
  404. };
  405. smps7_reg: smps7 {
  406. /* VDDS_1v8_OMAP over VDDS_1v8_MAIN */
  407. regulator-name = "smps7";
  408. regulator-min-microvolt = <1800000>;
  409. regulator-max-microvolt = <1800000>;
  410. regulator-always-on;
  411. regulator-boot-on;
  412. };
  413. smps8_reg: smps8 {
  414. /* VDD_OPP_CORE */
  415. regulator-name = "smps8";
  416. regulator-min-microvolt = < 600000>;
  417. regulator-max-microvolt = <1310000>;
  418. regulator-always-on;
  419. regulator-boot-on;
  420. };
  421. smps9_reg: smps9 {
  422. /* VDDA_2v1_AUD over VDD_2v1 */
  423. regulator-name = "smps9";
  424. regulator-min-microvolt = <3300000>;
  425. regulator-max-microvolt = <3300000>;
  426. ti,smps-range = <0x80>;
  427. regulator-always-on;
  428. regulator-boot-on;
  429. };
  430. smps10_out2_reg: smps10_out2 {
  431. /* VBUS_5V_OTG */
  432. regulator-name = "smps10_out2";
  433. regulator-min-microvolt = <5000000>;
  434. regulator-max-microvolt = <5000000>;
  435. regulator-always-on;
  436. regulator-boot-on;
  437. };
  438. smps10_out1_reg: smps10_out1 {
  439. /* VBUS_5V_OTG */
  440. regulator-name = "smps10_out1";
  441. regulator-min-microvolt = <5000000>;
  442. regulator-max-microvolt = <5000000>;
  443. };
  444. ldo1_reg: ldo1 {
  445. /* VDDAPHY_CAM: vdda_csiport */
  446. regulator-name = "ldo1";
  447. regulator-min-microvolt = <1800000>;
  448. regulator-max-microvolt = <1800000>;
  449. };
  450. ldo2_reg: ldo2 {
  451. /* VDD_3V3_WLAN */
  452. regulator-name = "ldo2";
  453. regulator-min-microvolt = <3300000>;
  454. regulator-max-microvolt = <3300000>;
  455. startup-delay-us = <1000>;
  456. };
  457. ldo3_reg: ldo3 {
  458. /* VCC_1V5_AUD */
  459. regulator-name = "ldo3";
  460. regulator-min-microvolt = <1500000>;
  461. regulator-max-microvolt = <1500000>;
  462. regulator-always-on;
  463. regulator-boot-on;
  464. };
  465. ldo4_reg: ldo4 {
  466. /* VDDAPHY_DISP: vdda_dsiport/hdmi */
  467. regulator-name = "ldo4";
  468. regulator-min-microvolt = <1800000>;
  469. regulator-max-microvolt = <1800000>;
  470. };
  471. ldo5_reg: ldo5 {
  472. /* VDDA_1V8_PHY: usb/sata/hdmi.. */
  473. regulator-name = "ldo5";
  474. regulator-min-microvolt = <1800000>;
  475. regulator-max-microvolt = <1800000>;
  476. regulator-always-on;
  477. regulator-boot-on;
  478. };
  479. ldo6_reg: ldo6 {
  480. /* VDDS_1V2_WKUP: hsic/ldo_emu_wkup */
  481. regulator-name = "ldo6";
  482. regulator-min-microvolt = <1200000>;
  483. regulator-max-microvolt = <1200000>;
  484. regulator-always-on;
  485. regulator-boot-on;
  486. };
  487. ldo7_reg: ldo7 {
  488. /* VDD_VPP: vpp1 */
  489. regulator-name = "ldo7";
  490. regulator-min-microvolt = <2000000>;
  491. regulator-max-microvolt = <2000000>;
  492. /* Only for efuse reprograming! */
  493. status = "disabled";
  494. };
  495. ldo8_reg: ldo8 {
  496. /* VDD_3V_GP: act led/serial console */
  497. regulator-name = "ldo8";
  498. regulator-min-microvolt = <3000000>;
  499. regulator-max-microvolt = <3000000>;
  500. regulator-always-on;
  501. regulator-boot-on;
  502. };
  503. ldo9_reg: ldo9 {
  504. /* VCC_DV_SDIO: vdds_sdcard */
  505. regulator-name = "ldo9";
  506. regulator-min-microvolt = <1800000>;
  507. regulator-max-microvolt = <3000000>;
  508. regulator-boot-on;
  509. };
  510. ldoln_reg: ldoln {
  511. /* VDDA_1v8_REF: vdds_osc/mm_l4per.. */
  512. regulator-name = "ldoln";
  513. regulator-min-microvolt = <1800000>;
  514. regulator-max-microvolt = <1800000>;
  515. regulator-always-on;
  516. regulator-boot-on;
  517. };
  518. ldousb_reg: ldousb {
  519. /* VDDA_3V_USB: VDDA_USBHS33 */
  520. regulator-name = "ldousb";
  521. regulator-min-microvolt = <3250000>;
  522. regulator-max-microvolt = <3250000>;
  523. regulator-always-on;
  524. regulator-boot-on;
  525. };
  526. regen3_reg: regen3 {
  527. /* REGEN3 controls LDO9 supply to card */
  528. regulator-name = "regen3";
  529. regulator-always-on;
  530. regulator-boot-on;
  531. };
  532. };
  533. };
  534. };
  535. };
  536. &i2c2 {
  537. pinctrl-names = "default";
  538. pinctrl-0 = <&i2c2_pins>;
  539. clock-frequency = <100000>;
  540. };
  541. &usbhshost {
  542. port2-mode = "ehci-hsic";
  543. port3-mode = "ehci-hsic";
  544. };
  545. &usbhsehci {
  546. phys = <0 &hsusb2_phy &hsusb3_phy>;
  547. };
  548. &usb3 {
  549. extcon = <&extcon_usb3>;
  550. vbus-supply = <&smps10_out1_reg>;
  551. };
  552. &cpu0 {
  553. cpu0-supply = <&smps123_reg>;
  554. };
  555. &dss {
  556. status = "okay";
  557. pinctrl-names = "default";
  558. pinctrl-0 = <&dss_dpi_pins>;
  559. port {
  560. #address-cells = <1>;
  561. #size-cells = <0>;
  562. dpi_dvi_out: endpoint@0 {
  563. reg = <0>;
  564. remote-endpoint = <&tfp410_in>;
  565. data-lines = <24>;
  566. };
  567. dpi_lcd_out: endpoint@1 {
  568. reg = <1>;
  569. remote-endpoint = <&lcd_in>;
  570. data-lines = <24>;
  571. };
  572. };
  573. };
  574. &dsi2 {
  575. status = "okay";
  576. vdd-supply = <&ldo4_reg>;
  577. };
  578. &hdmi {
  579. status = "okay";
  580. vdda-supply = <&ldo4_reg>;
  581. pinctrl-names = "default";
  582. pinctrl-0 = <&dss_hdmi_pins>;
  583. port {
  584. hdmi_out: endpoint {
  585. remote-endpoint = <&hdmi_connector_in>;
  586. lanes = <1 0 3 2 5 4 7 6>;
  587. };
  588. };
  589. };