am57xx-beagle-x15.dts 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699
  1. /*
  2. * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License version 2 as
  6. * published by the Free Software Foundation.
  7. */
  8. /dts-v1/;
  9. #include "dra74x.dtsi"
  10. #include <dt-bindings/gpio/gpio.h>
  11. #include <dt-bindings/interrupt-controller/irq.h>
  12. / {
  13. model = "TI AM5728 BeagleBoard-X15";
  14. compatible = "ti,am572x-beagle-x15", "ti,am5728", "ti,dra742", "ti,dra74", "ti,dra7";
  15. chosen {
  16. stdout-path = &uart3;
  17. };
  18. aliases {
  19. rtc0 = &mcp_rtc;
  20. rtc1 = &tps659038_rtc;
  21. rtc2 = &rtc;
  22. display0 = &hdmi0;
  23. };
  24. memory {
  25. device_type = "memory";
  26. reg = <0x80000000 0x80000000>;
  27. };
  28. vdd_3v3: fixedregulator-vdd_3v3 {
  29. compatible = "regulator-fixed";
  30. regulator-name = "vdd_3v3";
  31. vin-supply = <&regen1>;
  32. regulator-min-microvolt = <3300000>;
  33. regulator-max-microvolt = <3300000>;
  34. };
  35. vtt_fixed: fixedregulator-vtt {
  36. /* TPS51200 */
  37. compatible = "regulator-fixed";
  38. regulator-name = "vtt_fixed";
  39. vin-supply = <&smps3_reg>;
  40. regulator-min-microvolt = <3300000>;
  41. regulator-max-microvolt = <3300000>;
  42. regulator-always-on;
  43. regulator-boot-on;
  44. enable-active-high;
  45. gpio = <&gpio7 11 GPIO_ACTIVE_HIGH>;
  46. };
  47. leds {
  48. compatible = "gpio-leds";
  49. pinctrl-names = "default";
  50. pinctrl-0 = <&leds_pins_default>;
  51. led@0 {
  52. label = "beagle-x15:usr0";
  53. gpios = <&gpio7 9 GPIO_ACTIVE_HIGH>;
  54. linux,default-trigger = "heartbeat";
  55. default-state = "off";
  56. };
  57. led@1 {
  58. label = "beagle-x15:usr1";
  59. gpios = <&gpio7 8 GPIO_ACTIVE_HIGH>;
  60. linux,default-trigger = "cpu0";
  61. default-state = "off";
  62. };
  63. led@2 {
  64. label = "beagle-x15:usr2";
  65. gpios = <&gpio7 14 GPIO_ACTIVE_HIGH>;
  66. linux,default-trigger = "mmc0";
  67. default-state = "off";
  68. };
  69. led@3 {
  70. label = "beagle-x15:usr3";
  71. gpios = <&gpio7 15 GPIO_ACTIVE_HIGH>;
  72. linux,default-trigger = "ide-disk";
  73. default-state = "off";
  74. };
  75. };
  76. gpio_fan: gpio_fan {
  77. /* Based on 5v 500mA AFB02505HHB */
  78. compatible = "gpio-fan";
  79. gpios = <&tps659038_gpio 2 GPIO_ACTIVE_HIGH>;
  80. gpio-fan,speed-map = <0 0>,
  81. <13000 1>;
  82. #cooling-cells = <2>;
  83. };
  84. extcon_usb1: extcon_usb1 {
  85. compatible = "linux,extcon-usb-gpio";
  86. id-gpio = <&gpio7 25 GPIO_ACTIVE_HIGH>;
  87. pinctrl-names = "default";
  88. pinctrl-0 = <&extcon_usb1_pins>;
  89. };
  90. extcon_usb2: extcon_usb2 {
  91. compatible = "linux,extcon-usb-gpio";
  92. id-gpio = <&gpio7 24 GPIO_ACTIVE_HIGH>;
  93. pinctrl-names = "default";
  94. pinctrl-0 = <&extcon_usb2_pins>;
  95. };
  96. hdmi0: connector {
  97. compatible = "hdmi-connector";
  98. label = "hdmi";
  99. type = "a";
  100. port {
  101. hdmi_connector_in: endpoint {
  102. remote-endpoint = <&tpd12s015_out>;
  103. };
  104. };
  105. };
  106. tpd12s015: encoder {
  107. compatible = "ti,tpd12s015";
  108. pinctrl-names = "default";
  109. pinctrl-0 = <&tpd12s015_pins>;
  110. gpios = <&gpio7 10 GPIO_ACTIVE_HIGH>, /* gpio7_10, CT CP HPD */
  111. <&gpio6 28 GPIO_ACTIVE_HIGH>, /* gpio6_28, LS OE */
  112. <&gpio7 12 GPIO_ACTIVE_HIGH>; /* gpio7_12/sp1_cs2, HPD */
  113. ports {
  114. #address-cells = <1>;
  115. #size-cells = <0>;
  116. port@0 {
  117. reg = <0>;
  118. tpd12s015_in: endpoint {
  119. remote-endpoint = <&hdmi_out>;
  120. };
  121. };
  122. port@1 {
  123. reg = <1>;
  124. tpd12s015_out: endpoint {
  125. remote-endpoint = <&hdmi_connector_in>;
  126. };
  127. };
  128. };
  129. };
  130. };
  131. &dra7_pmx_core {
  132. leds_pins_default: leds_pins_default {
  133. pinctrl-single,pins = <
  134. 0x3a8 (PIN_OUTPUT | MUX_MODE14) /* spi1_d1.gpio7_8 */
  135. 0x3ac (PIN_OUTPUT | MUX_MODE14) /* spi1_d0.gpio7_9 */
  136. 0x3c0 (PIN_OUTPUT | MUX_MODE14) /* spi2_sclk.gpio7_14 */
  137. 0x3c4 (PIN_OUTPUT | MUX_MODE14) /* spi2_d1.gpio7_15 */
  138. >;
  139. };
  140. i2c1_pins_default: i2c1_pins_default {
  141. pinctrl-single,pins = <
  142. 0x400 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_sda.sda */
  143. 0x404 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_scl.scl */
  144. >;
  145. };
  146. hdmi_pins: pinmux_hdmi_pins {
  147. pinctrl-single,pins = <
  148. 0x408 (PIN_INPUT | MUX_MODE1) /* i2c2_sda.hdmi1_ddc_scl */
  149. 0x40c (PIN_INPUT | MUX_MODE1) /* i2c2_scl.hdmi1_ddc_sda */
  150. >;
  151. };
  152. i2c3_pins_default: i2c3_pins_default {
  153. pinctrl-single,pins = <
  154. 0x2a4 (PIN_INPUT| MUX_MODE10) /* mcasp1_aclkx.i2c3_sda */
  155. 0x2a8 (PIN_INPUT| MUX_MODE10) /* mcasp1_fsx.i2c3_scl */
  156. >;
  157. };
  158. uart3_pins_default: uart3_pins_default {
  159. pinctrl-single,pins = <
  160. 0x3f8 (PIN_INPUT_SLEW | MUX_MODE2) /* uart2_ctsn.uart3_rxd */
  161. 0x3fc (PIN_INPUT_SLEW | MUX_MODE1) /* uart2_rtsn.uart3_txd */
  162. >;
  163. };
  164. mmc1_pins_default: mmc1_pins_default {
  165. pinctrl-single,pins = <
  166. 0x36c (PIN_INPUT | MUX_MODE14) /* mmc1sdcd.gpio219 */
  167. 0x354 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_clk.clk */
  168. 0x358 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_cmd.cmd */
  169. 0x35c (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat0.dat0 */
  170. 0x360 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat1.dat1 */
  171. 0x364 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat2.dat2 */
  172. 0x368 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat3.dat3 */
  173. >;
  174. };
  175. mmc2_pins_default: mmc2_pins_default {
  176. pinctrl-single,pins = <
  177. 0x9c (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a23.mmc2_clk */
  178. 0xb0 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_cs1.mmc2_cmd */
  179. 0xa0 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a24.mmc2_dat0 */
  180. 0xa4 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a25.mmc2_dat1 */
  181. 0xa8 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a26.mmc2_dat2 */
  182. 0xac (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a27.mmc2_dat3 */
  183. 0x8c (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a19.mmc2_dat4 */
  184. 0x90 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a20.mmc2_dat5 */
  185. 0x94 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a21.mmc2_dat6 */
  186. 0x98 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a22.mmc2_dat7 */
  187. >;
  188. };
  189. cpsw_pins_default: cpsw_pins_default {
  190. pinctrl-single,pins = <
  191. /* Slave 1 */
  192. 0x250 (PIN_OUTPUT | MUX_MODE0) /* rgmii1_tclk */
  193. 0x254 (PIN_OUTPUT | MUX_MODE0) /* rgmii1_tctl */
  194. 0x258 (PIN_OUTPUT | MUX_MODE0) /* rgmii1_td3 */
  195. 0x25c (PIN_OUTPUT | MUX_MODE0) /* rgmii1_td2 */
  196. 0x260 (PIN_OUTPUT | MUX_MODE0) /* rgmii1_td1 */
  197. 0x264 (PIN_OUTPUT | MUX_MODE0) /* rgmii1_td0 */
  198. 0x268 (PIN_INPUT | MUX_MODE0) /* rgmii1_rclk */
  199. 0x26c (PIN_INPUT | MUX_MODE0) /* rgmii1_rctl */
  200. 0x270 (PIN_INPUT | MUX_MODE0) /* rgmii1_rd3 */
  201. 0x274 (PIN_INPUT | MUX_MODE0) /* rgmii1_rd2 */
  202. 0x278 (PIN_INPUT | MUX_MODE0) /* rgmii1_rd1 */
  203. 0x27c (PIN_INPUT | MUX_MODE0) /* rgmii1_rd0 */
  204. /* Slave 2 */
  205. 0x198 (PIN_OUTPUT | MUX_MODE3) /* rgmii2_tclk */
  206. 0x19c (PIN_OUTPUT | MUX_MODE3) /* rgmii2_tctl */
  207. 0x1a0 (PIN_OUTPUT | MUX_MODE3) /* rgmii2_td3 */
  208. 0x1a4 (PIN_OUTPUT | MUX_MODE3) /* rgmii2_td2 */
  209. 0x1a8 (PIN_OUTPUT | MUX_MODE3) /* rgmii2_td1 */
  210. 0x1ac (PIN_OUTPUT | MUX_MODE3) /* rgmii2_td0 */
  211. 0x1b0 (PIN_INPUT | MUX_MODE3) /* rgmii2_rclk */
  212. 0x1b4 (PIN_INPUT | MUX_MODE3) /* rgmii2_rctl */
  213. 0x1b8 (PIN_INPUT | MUX_MODE3) /* rgmii2_rd3 */
  214. 0x1bc (PIN_INPUT | MUX_MODE3) /* rgmii2_rd2 */
  215. 0x1c0 (PIN_INPUT | MUX_MODE3) /* rgmii2_rd1 */
  216. 0x1c4 (PIN_INPUT | MUX_MODE3) /* rgmii2_rd0 */
  217. >;
  218. };
  219. cpsw_pins_sleep: cpsw_pins_sleep {
  220. pinctrl-single,pins = <
  221. /* Slave 1 */
  222. 0x250 (PIN_INPUT | MUX_MODE15)
  223. 0x254 (PIN_INPUT | MUX_MODE15)
  224. 0x258 (PIN_INPUT | MUX_MODE15)
  225. 0x25c (PIN_INPUT | MUX_MODE15)
  226. 0x260 (PIN_INPUT | MUX_MODE15)
  227. 0x264 (PIN_INPUT | MUX_MODE15)
  228. 0x268 (PIN_INPUT | MUX_MODE15)
  229. 0x26c (PIN_INPUT | MUX_MODE15)
  230. 0x270 (PIN_INPUT | MUX_MODE15)
  231. 0x274 (PIN_INPUT | MUX_MODE15)
  232. 0x278 (PIN_INPUT | MUX_MODE15)
  233. 0x27c (PIN_INPUT | MUX_MODE15)
  234. /* Slave 2 */
  235. 0x198 (PIN_INPUT | MUX_MODE15)
  236. 0x19c (PIN_INPUT | MUX_MODE15)
  237. 0x1a0 (PIN_INPUT | MUX_MODE15)
  238. 0x1a4 (PIN_INPUT | MUX_MODE15)
  239. 0x1a8 (PIN_INPUT | MUX_MODE15)
  240. 0x1ac (PIN_INPUT | MUX_MODE15)
  241. 0x1b0 (PIN_INPUT | MUX_MODE15)
  242. 0x1b4 (PIN_INPUT | MUX_MODE15)
  243. 0x1b8 (PIN_INPUT | MUX_MODE15)
  244. 0x1bc (PIN_INPUT | MUX_MODE15)
  245. 0x1c0 (PIN_INPUT | MUX_MODE15)
  246. 0x1c4 (PIN_INPUT | MUX_MODE15)
  247. >;
  248. };
  249. davinci_mdio_pins_default: davinci_mdio_pins_default {
  250. pinctrl-single,pins = <
  251. /* MDIO */
  252. 0x23c (PIN_OUTPUT_PULLUP | MUX_MODE0) /* mdio_mclk */
  253. 0x240 (PIN_INPUT_PULLUP | MUX_MODE0) /* mdio_d */
  254. >;
  255. };
  256. davinci_mdio_pins_sleep: davinci_mdio_pins_sleep {
  257. pinctrl-single,pins = <
  258. 0x23c (PIN_INPUT | MUX_MODE15)
  259. 0x240 (PIN_INPUT | MUX_MODE15)
  260. >;
  261. };
  262. tps659038_pins_default: tps659038_pins_default {
  263. pinctrl-single,pins = <
  264. 0x418 (PIN_INPUT_PULLUP | MUX_MODE14) /* wakeup0.gpio1_0 */
  265. >;
  266. };
  267. tmp102_pins_default: tmp102_pins_default {
  268. pinctrl-single,pins = <
  269. 0x3C8 (PIN_INPUT_PULLUP | MUX_MODE14) /* spi2_d0.gpio7_16 */
  270. >;
  271. };
  272. mcp79410_pins_default: mcp79410_pins_default {
  273. pinctrl-single,pins = <
  274. 0x424 (PIN_INPUT_PULLUP | MUX_MODE1) /* wakeup3.sys_nirq1 */
  275. >;
  276. };
  277. usb1_pins: pinmux_usb1_pins {
  278. pinctrl-single,pins = <
  279. 0x280 (PIN_INPUT_SLEW | MUX_MODE0) /* usb1_drvvbus */
  280. >;
  281. };
  282. extcon_usb1_pins: extcon_usb1_pins {
  283. pinctrl-single,pins = <
  284. 0x3ec (PIN_INPUT_PULLUP | MUX_MODE14) /* uart1_rtsn.gpio7_25 */
  285. >;
  286. };
  287. extcon_usb2_pins: extcon_usb2_pins {
  288. pinctrl-single,pins = <
  289. 0x3e8 (PIN_INPUT_PULLUP | MUX_MODE14) /* uart1_ctsn.gpio7_24 */
  290. >;
  291. };
  292. tpd12s015_pins: pinmux_tpd12s015_pins {
  293. pinctrl-single,pins = <
  294. 0x3b0 (PIN_OUTPUT | MUX_MODE14) /* gpio7_10 CT_CP_HPD */
  295. 0x3b8 (PIN_INPUT_PULLDOWN | MUX_MODE14) /* gpio7_12 HPD */
  296. 0x370 (PIN_OUTPUT | MUX_MODE14) /* gpio6_28 LS_OE */
  297. >;
  298. };
  299. };
  300. &i2c1 {
  301. status = "okay";
  302. pinctrl-names = "default";
  303. pinctrl-0 = <&i2c1_pins_default>;
  304. clock-frequency = <400000>;
  305. tps659038: tps659038@58 {
  306. compatible = "ti,tps659038";
  307. reg = <0x58>;
  308. interrupt-parent = <&gpio1>;
  309. interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
  310. pinctrl-names = "default";
  311. pinctrl-0 = <&tps659038_pins_default>;
  312. #interrupt-cells = <2>;
  313. interrupt-controller;
  314. ti,system-power-controller;
  315. tps659038_pmic {
  316. compatible = "ti,tps659038-pmic";
  317. regulators {
  318. smps12_reg: smps12 {
  319. /* VDD_MPU */
  320. regulator-name = "smps12";
  321. regulator-min-microvolt = < 850000>;
  322. regulator-max-microvolt = <1250000>;
  323. regulator-always-on;
  324. regulator-boot-on;
  325. };
  326. smps3_reg: smps3 {
  327. /* VDD_DDR */
  328. regulator-name = "smps3";
  329. regulator-min-microvolt = <1350000>;
  330. regulator-max-microvolt = <1350000>;
  331. regulator-always-on;
  332. regulator-boot-on;
  333. };
  334. smps45_reg: smps45 {
  335. /* VDD_DSPEVE, VDD_IVA, VDD_GPU */
  336. regulator-name = "smps45";
  337. regulator-min-microvolt = < 850000>;
  338. regulator-max-microvolt = <1150000>;
  339. regulator-always-on;
  340. regulator-boot-on;
  341. };
  342. smps6_reg: smps6 {
  343. /* VDD_CORE */
  344. regulator-name = "smps6";
  345. regulator-min-microvolt = <850000>;
  346. regulator-max-microvolt = <1030000>;
  347. regulator-always-on;
  348. regulator-boot-on;
  349. };
  350. /* SMPS7 unused */
  351. smps8_reg: smps8 {
  352. /* VDD_1V8 */
  353. regulator-name = "smps8";
  354. regulator-min-microvolt = <1800000>;
  355. regulator-max-microvolt = <1800000>;
  356. regulator-always-on;
  357. regulator-boot-on;
  358. };
  359. /* SMPS9 unused */
  360. ldo1_reg: ldo1 {
  361. /* VDD_SD */
  362. regulator-name = "ldo1";
  363. regulator-min-microvolt = <1800000>;
  364. regulator-max-microvolt = <3300000>;
  365. regulator-boot-on;
  366. };
  367. ldo2_reg: ldo2 {
  368. /* VDD_SHV5 */
  369. regulator-name = "ldo2";
  370. regulator-min-microvolt = <3300000>;
  371. regulator-max-microvolt = <3300000>;
  372. regulator-always-on;
  373. regulator-boot-on;
  374. };
  375. ldo3_reg: ldo3 {
  376. /* VDDA_1V8_PHY */
  377. regulator-name = "ldo3";
  378. regulator-min-microvolt = <1800000>;
  379. regulator-max-microvolt = <1800000>;
  380. regulator-always-on;
  381. regulator-boot-on;
  382. };
  383. ldo9_reg: ldo9 {
  384. /* VDD_RTC */
  385. regulator-name = "ldo9";
  386. regulator-min-microvolt = <1050000>;
  387. regulator-max-microvolt = <1050000>;
  388. regulator-always-on;
  389. regulator-boot-on;
  390. };
  391. ldoln_reg: ldoln {
  392. /* VDDA_1V8_PLL */
  393. regulator-name = "ldoln";
  394. regulator-min-microvolt = <1800000>;
  395. regulator-max-microvolt = <1800000>;
  396. regulator-always-on;
  397. regulator-boot-on;
  398. };
  399. ldousb_reg: ldousb {
  400. /* VDDA_3V_USB: VDDA_USBHS33 */
  401. regulator-name = "ldousb";
  402. regulator-min-microvolt = <3300000>;
  403. regulator-max-microvolt = <3300000>;
  404. regulator-boot-on;
  405. };
  406. regen1: regen1 {
  407. /* VDD_3V3_ON */
  408. regulator-name = "regen1";
  409. regulator-boot-on;
  410. regulator-always-on;
  411. };
  412. };
  413. };
  414. tps659038_rtc: tps659038_rtc {
  415. compatible = "ti,palmas-rtc";
  416. interrupt-parent = <&tps659038>;
  417. interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
  418. wakeup-source;
  419. };
  420. tps659038_pwr_button: tps659038_pwr_button {
  421. compatible = "ti,palmas-pwrbutton";
  422. interrupt-parent = <&tps659038>;
  423. interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
  424. wakeup-source;
  425. ti,palmas-long-press-seconds = <12>;
  426. };
  427. tps659038_gpio: tps659038_gpio {
  428. compatible = "ti,palmas-gpio";
  429. gpio-controller;
  430. #gpio-cells = <2>;
  431. };
  432. };
  433. tmp102: tmp102@48 {
  434. compatible = "ti,tmp102";
  435. reg = <0x48>;
  436. pinctrl-names = "default";
  437. pinctrl-0 = <&tmp102_pins_default>;
  438. interrupt-parent = <&gpio7>;
  439. interrupts = <16 IRQ_TYPE_LEVEL_LOW>;
  440. #thermal-sensor-cells = <1>;
  441. };
  442. };
  443. &i2c3 {
  444. status = "okay";
  445. pinctrl-names = "default";
  446. pinctrl-0 = <&i2c3_pins_default>;
  447. clock-frequency = <400000>;
  448. mcp_rtc: rtc@6f {
  449. compatible = "microchip,mcp7941x";
  450. reg = <0x6f>;
  451. interrupts = <GIC_SPI 2 IRQ_TYPE_EDGE_RISING>; /* IRQ_SYS_1N */
  452. pinctrl-names = "default";
  453. pinctrl-0 = <&mcp79410_pins_default>;
  454. vcc-supply = <&vdd_3v3>;
  455. wakeup-source;
  456. };
  457. };
  458. &gpio7 {
  459. ti,no-reset-on-init;
  460. ti,no-idle-on-init;
  461. };
  462. &cpu0 {
  463. cpu0-supply = <&smps12_reg>;
  464. voltage-tolerance = <1>;
  465. };
  466. &uart3 {
  467. status = "okay";
  468. interrupts-extended = <&crossbar_mpu GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
  469. <&dra7_pmx_core 0x3f8>;
  470. pinctrl-names = "default";
  471. pinctrl-0 = <&uart3_pins_default>;
  472. };
  473. &mac {
  474. status = "okay";
  475. pinctrl-names = "default", "sleep";
  476. pinctrl-0 = <&cpsw_pins_default>;
  477. pinctrl-1 = <&cpsw_pins_sleep>;
  478. dual_emac;
  479. };
  480. &cpsw_emac0 {
  481. phy_id = <&davinci_mdio>, <1>;
  482. phy-mode = "rgmii";
  483. dual_emac_res_vlan = <1>;
  484. };
  485. &cpsw_emac1 {
  486. phy_id = <&davinci_mdio>, <2>;
  487. phy-mode = "rgmii";
  488. dual_emac_res_vlan = <2>;
  489. };
  490. &davinci_mdio {
  491. pinctrl-names = "default", "sleep";
  492. pinctrl-0 = <&davinci_mdio_pins_default>;
  493. pinctrl-1 = <&davinci_mdio_pins_sleep>;
  494. };
  495. &mmc1 {
  496. status = "okay";
  497. pinctrl-names = "default";
  498. pinctrl-0 = <&mmc1_pins_default>;
  499. vmmc-supply = <&ldo1_reg>;
  500. vmmc_aux-supply = <&vdd_3v3>;
  501. pbias-supply = <&pbias_mmc_reg>;
  502. bus-width = <4>;
  503. cd-gpios = <&gpio6 27 0>; /* gpio 219 */
  504. };
  505. &mmc2 {
  506. status = "okay";
  507. pinctrl-names = "default";
  508. pinctrl-0 = <&mmc2_pins_default>;
  509. vmmc-supply = <&vdd_3v3>;
  510. bus-width = <8>;
  511. ti,non-removable;
  512. cap-mmc-dual-data-rate;
  513. };
  514. &sata {
  515. status = "okay";
  516. };
  517. &usb2_phy1 {
  518. phy-supply = <&ldousb_reg>;
  519. };
  520. &usb2_phy2 {
  521. phy-supply = <&ldousb_reg>;
  522. };
  523. &usb1 {
  524. dr_mode = "host";
  525. pinctrl-names = "default";
  526. pinctrl-0 = <&usb1_pins>;
  527. };
  528. &omap_dwc3_1 {
  529. extcon = <&extcon_usb1>;
  530. };
  531. &omap_dwc3_2 {
  532. extcon = <&extcon_usb2>;
  533. };
  534. &usb2 {
  535. dr_mode = "peripheral";
  536. };
  537. &cpu_trips {
  538. cpu_alert1: cpu_alert1 {
  539. temperature = <50000>; /* millicelsius */
  540. hysteresis = <2000>; /* millicelsius */
  541. type = "active";
  542. };
  543. };
  544. &cpu_cooling_maps {
  545. map1 {
  546. trip = <&cpu_alert1>;
  547. cooling-device = <&gpio_fan THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  548. };
  549. };
  550. &thermal_zones {
  551. board_thermal: board_thermal {
  552. polling-delay-passive = <1250>; /* milliseconds */
  553. polling-delay = <1500>; /* milliseconds */
  554. /* sensor ID */
  555. thermal-sensors = <&tmp102 0>;
  556. board_trips: trips {
  557. board_alert0: board_alert {
  558. temperature = <40000>; /* millicelsius */
  559. hysteresis = <2000>; /* millicelsius */
  560. type = "active";
  561. };
  562. board_crit: board_crit {
  563. temperature = <105000>; /* millicelsius */
  564. hysteresis = <0>; /* millicelsius */
  565. type = "critical";
  566. };
  567. };
  568. board_cooling_maps: cooling-maps {
  569. map0 {
  570. trip = <&board_alert0>;
  571. cooling-device =
  572. <&gpio_fan THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
  573. };
  574. };
  575. };
  576. };
  577. &dss {
  578. status = "ok";
  579. vdda_video-supply = <&ldoln_reg>;
  580. };
  581. &hdmi {
  582. status = "ok";
  583. vdda-supply = <&ldo3_reg>;
  584. pinctrl-names = "default";
  585. pinctrl-0 = <&hdmi_pins>;
  586. port {
  587. hdmi_out: endpoint {
  588. remote-endpoint = <&tpd12s015_in>;
  589. };
  590. };
  591. };