omap5-cm-t54.dts 17 KB

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