dra7-evm.dts 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721
  1. /*
  2. * Copyright (C) 2013 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/clk/ti-dra7-atl.h>
  12. #include <dt-bindings/input/input.h>
  13. / {
  14. model = "TI DRA742";
  15. compatible = "ti,dra7-evm", "ti,dra742", "ti,dra74", "ti,dra7";
  16. memory@0 {
  17. device_type = "memory";
  18. reg = <0x0 0x80000000 0x0 0x60000000>; /* 1536 MB */
  19. };
  20. chosen {
  21. stdout-path = &uart1;
  22. };
  23. evm_3v3_sd: fixedregulator-sd {
  24. compatible = "regulator-fixed";
  25. regulator-name = "evm_3v3_sd";
  26. regulator-min-microvolt = <3300000>;
  27. regulator-max-microvolt = <3300000>;
  28. enable-active-high;
  29. gpio = <&pcf_gpio_21 5 GPIO_ACTIVE_HIGH>;
  30. };
  31. evm_3v3_sw: fixedregulator-evm_3v3_sw {
  32. compatible = "regulator-fixed";
  33. regulator-name = "evm_3v3_sw";
  34. vin-supply = <&sysen1>;
  35. regulator-min-microvolt = <3300000>;
  36. regulator-max-microvolt = <3300000>;
  37. };
  38. aic_dvdd: fixedregulator-aic_dvdd {
  39. /* TPS77018DBVT */
  40. compatible = "regulator-fixed";
  41. regulator-name = "aic_dvdd";
  42. vin-supply = <&evm_3v3_sw>;
  43. regulator-min-microvolt = <1800000>;
  44. regulator-max-microvolt = <1800000>;
  45. };
  46. extcon_usb1: extcon_usb1 {
  47. compatible = "linux,extcon-usb-gpio";
  48. id-gpio = <&pcf_gpio_21 1 GPIO_ACTIVE_HIGH>;
  49. };
  50. extcon_usb2: extcon_usb2 {
  51. compatible = "linux,extcon-usb-gpio";
  52. id-gpio = <&pcf_gpio_21 2 GPIO_ACTIVE_HIGH>;
  53. };
  54. vtt_fixed: fixedregulator-vtt {
  55. compatible = "regulator-fixed";
  56. regulator-name = "vtt_fixed";
  57. regulator-min-microvolt = <1350000>;
  58. regulator-max-microvolt = <1350000>;
  59. regulator-always-on;
  60. regulator-boot-on;
  61. enable-active-high;
  62. vin-supply = <&sysen2>;
  63. gpio = <&gpio7 11 GPIO_ACTIVE_HIGH>;
  64. };
  65. sound0: sound0 {
  66. compatible = "simple-audio-card";
  67. simple-audio-card,name = "DRA7xx-EVM";
  68. simple-audio-card,widgets =
  69. "Headphone", "Headphone Jack",
  70. "Line", "Line Out",
  71. "Microphone", "Mic Jack",
  72. "Line", "Line In";
  73. simple-audio-card,routing =
  74. "Headphone Jack", "HPLOUT",
  75. "Headphone Jack", "HPROUT",
  76. "Line Out", "LLOUT",
  77. "Line Out", "RLOUT",
  78. "MIC3L", "Mic Jack",
  79. "MIC3R", "Mic Jack",
  80. "Mic Jack", "Mic Bias",
  81. "LINE1L", "Line In",
  82. "LINE1R", "Line In";
  83. simple-audio-card,format = "dsp_b";
  84. simple-audio-card,bitclock-master = <&sound0_master>;
  85. simple-audio-card,frame-master = <&sound0_master>;
  86. simple-audio-card,bitclock-inversion;
  87. sound0_master: simple-audio-card,cpu {
  88. sound-dai = <&mcasp3>;
  89. system-clock-frequency = <5644800>;
  90. };
  91. simple-audio-card,codec {
  92. sound-dai = <&tlv320aic3106>;
  93. clocks = <&atl_clkin2_ck>;
  94. };
  95. };
  96. leds {
  97. compatible = "gpio-leds";
  98. led0 {
  99. label = "dra7:usr1";
  100. gpios = <&pcf_lcd 4 GPIO_ACTIVE_LOW>;
  101. default-state = "off";
  102. };
  103. led1 {
  104. label = "dra7:usr2";
  105. gpios = <&pcf_lcd 5 GPIO_ACTIVE_LOW>;
  106. default-state = "off";
  107. };
  108. led2 {
  109. label = "dra7:usr3";
  110. gpios = <&pcf_lcd 6 GPIO_ACTIVE_LOW>;
  111. default-state = "off";
  112. };
  113. led3 {
  114. label = "dra7:usr4";
  115. gpios = <&pcf_lcd 7 GPIO_ACTIVE_LOW>;
  116. default-state = "off";
  117. };
  118. };
  119. gpio_keys {
  120. compatible = "gpio-keys";
  121. #address-cells = <1>;
  122. #size-cells = <0>;
  123. autorepeat;
  124. USER1 {
  125. label = "btnUser1";
  126. linux,code = <BTN_0>;
  127. gpios = <&pcf_lcd 2 GPIO_ACTIVE_LOW>;
  128. };
  129. USER2 {
  130. label = "btnUser2";
  131. linux,code = <BTN_1>;
  132. gpios = <&pcf_lcd 3 GPIO_ACTIVE_LOW>;
  133. };
  134. };
  135. };
  136. &dra7_pmx_core {
  137. dcan1_pins_default: dcan1_pins_default {
  138. pinctrl-single,pins = <
  139. DRA7XX_CORE_IOPAD(0x37d0, PIN_OUTPUT_PULLUP | MUX_MODE0) /* dcan1_tx */
  140. DRA7XX_CORE_IOPAD(0x3818, PULL_UP | MUX_MODE1) /* wakeup0.dcan1_rx */
  141. >;
  142. };
  143. dcan1_pins_sleep: dcan1_pins_sleep {
  144. pinctrl-single,pins = <
  145. DRA7XX_CORE_IOPAD(0x37d0, MUX_MODE15 | PULL_UP) /* dcan1_tx.off */
  146. DRA7XX_CORE_IOPAD(0x3818, MUX_MODE15 | PULL_UP) /* wakeup0.off */
  147. >;
  148. };
  149. mmc1_pins_default: mmc1_pins_default {
  150. pinctrl-single,pins = <
  151. DRA7XX_CORE_IOPAD(0x376c, PIN_INPUT | MUX_MODE14) /* mmc1sdcd.gpio219 */
  152. DRA7XX_CORE_IOPAD(0x3754, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_clk.clk */
  153. DRA7XX_CORE_IOPAD(0x3758, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_cmd.cmd */
  154. DRA7XX_CORE_IOPAD(0x375c, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat0.dat0 */
  155. DRA7XX_CORE_IOPAD(0x3760, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat1.dat1 */
  156. DRA7XX_CORE_IOPAD(0x3764, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat2.dat2 */
  157. DRA7XX_CORE_IOPAD(0x3768, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat3.dat3 */
  158. >;
  159. };
  160. mmc2_pins_default: mmc2_pins_default {
  161. pinctrl-single,pins = <
  162. DRA7XX_CORE_IOPAD(0x349c, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a23.mmc2_clk */
  163. DRA7XX_CORE_IOPAD(0x34b0, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_cs1.mmc2_cmd */
  164. DRA7XX_CORE_IOPAD(0x34a0, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a24.mmc2_dat0 */
  165. DRA7XX_CORE_IOPAD(0x34a4, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a25.mmc2_dat1 */
  166. DRA7XX_CORE_IOPAD(0x34a8, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a26.mmc2_dat2 */
  167. DRA7XX_CORE_IOPAD(0x34ac, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a27.mmc2_dat3 */
  168. DRA7XX_CORE_IOPAD(0x348c, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a19.mmc2_dat4 */
  169. DRA7XX_CORE_IOPAD(0x3490, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a20.mmc2_dat5 */
  170. DRA7XX_CORE_IOPAD(0x3494, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a21.mmc2_dat6 */
  171. DRA7XX_CORE_IOPAD(0x3498, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a22.mmc2_dat7 */
  172. >;
  173. };
  174. };
  175. &i2c1 {
  176. status = "okay";
  177. clock-frequency = <400000>;
  178. tps659038: tps659038@58 {
  179. compatible = "ti,tps659038";
  180. reg = <0x58>;
  181. ti,palmas-override-powerhold;
  182. ti,system-power-controller;
  183. tps659038_pmic {
  184. compatible = "ti,tps659038-pmic";
  185. regulators {
  186. smps123_reg: smps123 {
  187. /* VDD_MPU */
  188. regulator-name = "smps123";
  189. regulator-min-microvolt = < 850000>;
  190. regulator-max-microvolt = <1250000>;
  191. regulator-always-on;
  192. regulator-boot-on;
  193. };
  194. smps45_reg: smps45 {
  195. /* VDD_DSPEVE */
  196. regulator-name = "smps45";
  197. regulator-min-microvolt = < 850000>;
  198. regulator-max-microvolt = <1250000>;
  199. regulator-always-on;
  200. regulator-boot-on;
  201. };
  202. smps6_reg: smps6 {
  203. /* VDD_GPU - over VDD_SMPS6 */
  204. regulator-name = "smps6";
  205. regulator-min-microvolt = <850000>;
  206. regulator-max-microvolt = <1250000>;
  207. regulator-always-on;
  208. regulator-boot-on;
  209. };
  210. smps7_reg: smps7 {
  211. /* CORE_VDD */
  212. regulator-name = "smps7";
  213. regulator-min-microvolt = <850000>;
  214. regulator-max-microvolt = <1150000>;
  215. regulator-always-on;
  216. regulator-boot-on;
  217. };
  218. smps8_reg: smps8 {
  219. /* VDD_IVAHD */
  220. regulator-name = "smps8";
  221. regulator-min-microvolt = < 850000>;
  222. regulator-max-microvolt = <1250000>;
  223. regulator-always-on;
  224. regulator-boot-on;
  225. };
  226. smps9_reg: smps9 {
  227. /* VDDS1V8 */
  228. regulator-name = "smps9";
  229. regulator-min-microvolt = <1800000>;
  230. regulator-max-microvolt = <1800000>;
  231. regulator-always-on;
  232. regulator-boot-on;
  233. };
  234. ldo1_reg: ldo1 {
  235. /* LDO1_OUT --> SDIO */
  236. regulator-name = "ldo1";
  237. regulator-min-microvolt = <1800000>;
  238. regulator-max-microvolt = <3300000>;
  239. regulator-always-on;
  240. regulator-boot-on;
  241. };
  242. ldo2_reg: ldo2 {
  243. /* VDD_RTCIO */
  244. /* LDO2 -> VDDSHV5, LDO2 also goes to CAN_PHY_3V3 */
  245. regulator-name = "ldo2";
  246. regulator-min-microvolt = <3300000>;
  247. regulator-max-microvolt = <3300000>;
  248. regulator-always-on;
  249. regulator-boot-on;
  250. };
  251. ldo3_reg: ldo3 {
  252. /* VDDA_1V8_PHY */
  253. regulator-name = "ldo3";
  254. regulator-min-microvolt = <1800000>;
  255. regulator-max-microvolt = <1800000>;
  256. regulator-always-on;
  257. regulator-boot-on;
  258. };
  259. ldo9_reg: ldo9 {
  260. /* VDD_RTC */
  261. regulator-name = "ldo9";
  262. regulator-min-microvolt = <1050000>;
  263. regulator-max-microvolt = <1050000>;
  264. regulator-always-on;
  265. regulator-boot-on;
  266. regulator-allow-bypass;
  267. };
  268. ldoln_reg: ldoln {
  269. /* VDDA_1V8_PLL */
  270. regulator-name = "ldoln";
  271. regulator-min-microvolt = <1800000>;
  272. regulator-max-microvolt = <1800000>;
  273. regulator-always-on;
  274. regulator-boot-on;
  275. };
  276. ldousb_reg: ldousb {
  277. /* VDDA_3V_USB: VDDA_USBHS33 */
  278. regulator-name = "ldousb";
  279. regulator-min-microvolt = <3300000>;
  280. regulator-max-microvolt = <3300000>;
  281. regulator-boot-on;
  282. };
  283. /* REGEN1 is unused */
  284. regen2: regen2 {
  285. /* Needed for PMIC internal resources */
  286. regulator-name = "regen2";
  287. regulator-boot-on;
  288. regulator-always-on;
  289. };
  290. /* REGEN3 is unused */
  291. sysen1: sysen1 {
  292. /* PMIC_REGEN_3V3 */
  293. regulator-name = "sysen1";
  294. regulator-boot-on;
  295. regulator-always-on;
  296. };
  297. sysen2: sysen2 {
  298. /* PMIC_REGEN_DDR */
  299. regulator-name = "sysen2";
  300. regulator-boot-on;
  301. regulator-always-on;
  302. };
  303. };
  304. };
  305. };
  306. pcf_lcd: gpio@20 {
  307. compatible = "ti,pcf8575", "nxp,pcf8575";
  308. reg = <0x20>;
  309. gpio-controller;
  310. #gpio-cells = <2>;
  311. interrupt-parent = <&gpio6>;
  312. interrupts = <11 IRQ_TYPE_EDGE_FALLING>;
  313. interrupt-controller;
  314. #interrupt-cells = <2>;
  315. };
  316. pcf_gpio_21: gpio@21 {
  317. compatible = "ti,pcf8575", "nxp,pcf8575";
  318. reg = <0x21>;
  319. lines-initial-states = <0x1408>;
  320. gpio-controller;
  321. #gpio-cells = <2>;
  322. interrupt-parent = <&gpio6>;
  323. interrupts = <11 IRQ_TYPE_EDGE_FALLING>;
  324. interrupt-controller;
  325. #interrupt-cells = <2>;
  326. };
  327. tlv320aic3106: tlv320aic3106@19 {
  328. #sound-dai-cells = <0>;
  329. compatible = "ti,tlv320aic3106";
  330. reg = <0x19>;
  331. adc-settle-ms = <40>;
  332. ai3x-micbias-vg = <1>; /* 2.0V */
  333. status = "okay";
  334. /* Regulators */
  335. AVDD-supply = <&evm_3v3_sw>;
  336. IOVDD-supply = <&evm_3v3_sw>;
  337. DRVDD-supply = <&evm_3v3_sw>;
  338. DVDD-supply = <&aic_dvdd>;
  339. };
  340. };
  341. &i2c2 {
  342. status = "okay";
  343. clock-frequency = <400000>;
  344. pcf_hdmi: gpio@26 {
  345. compatible = "ti,pcf8575", "nxp,pcf8575";
  346. reg = <0x26>;
  347. gpio-controller;
  348. #gpio-cells = <2>;
  349. p1 {
  350. /* vin6_sel_s0: high: VIN6, low: audio */
  351. gpio-hog;
  352. gpios = <1 GPIO_ACTIVE_HIGH>;
  353. output-low;
  354. line-name = "vin6_sel_s0";
  355. };
  356. };
  357. };
  358. &i2c3 {
  359. status = "okay";
  360. clock-frequency = <400000>;
  361. };
  362. &mcspi1 {
  363. status = "okay";
  364. };
  365. &mcspi2 {
  366. status = "okay";
  367. };
  368. &uart1 {
  369. status = "okay";
  370. interrupts-extended = <&crossbar_mpu GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
  371. <&dra7_pmx_core 0x3e0>;
  372. };
  373. &uart2 {
  374. status = "okay";
  375. };
  376. &uart3 {
  377. status = "okay";
  378. };
  379. &mmc1 {
  380. status = "okay";
  381. pinctrl-names = "default";
  382. pinctrl-0 = <&mmc1_pins_default>;
  383. vmmc-supply = <&evm_3v3_sd>;
  384. vmmc_aux-supply = <&ldo1_reg>;
  385. bus-width = <4>;
  386. /*
  387. * SDCD signal is not being used here - using the fact that GPIO mode
  388. * is always hardwired.
  389. */
  390. cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>;
  391. };
  392. &mmc2 {
  393. status = "okay";
  394. pinctrl-names = "default";
  395. pinctrl-0 = <&mmc2_pins_default>;
  396. vmmc-supply = <&evm_3v3_sw>;
  397. bus-width = <8>;
  398. };
  399. &cpu0 {
  400. cpu0-supply = <&smps123_reg>;
  401. };
  402. &qspi {
  403. status = "okay";
  404. spi-max-frequency = <76800000>;
  405. m25p80@0 {
  406. compatible = "s25fl256s1";
  407. spi-max-frequency = <76800000>;
  408. reg = <0>;
  409. spi-tx-bus-width = <1>;
  410. spi-rx-bus-width = <4>;
  411. #address-cells = <1>;
  412. #size-cells = <1>;
  413. /* MTD partition table.
  414. * The ROM checks the first four physical blocks
  415. * for a valid file to boot and the flash here is
  416. * 64KiB block size.
  417. */
  418. partition@0 {
  419. label = "QSPI.SPL";
  420. reg = <0x00000000 0x000010000>;
  421. };
  422. partition@1 {
  423. label = "QSPI.SPL.backup1";
  424. reg = <0x00010000 0x00010000>;
  425. };
  426. partition@2 {
  427. label = "QSPI.SPL.backup2";
  428. reg = <0x00020000 0x00010000>;
  429. };
  430. partition@3 {
  431. label = "QSPI.SPL.backup3";
  432. reg = <0x00030000 0x00010000>;
  433. };
  434. partition@4 {
  435. label = "QSPI.u-boot";
  436. reg = <0x00040000 0x00100000>;
  437. };
  438. partition@5 {
  439. label = "QSPI.u-boot-spl-os";
  440. reg = <0x00140000 0x00080000>;
  441. };
  442. partition@6 {
  443. label = "QSPI.u-boot-env";
  444. reg = <0x001c0000 0x00010000>;
  445. };
  446. partition@7 {
  447. label = "QSPI.u-boot-env.backup1";
  448. reg = <0x001d0000 0x0010000>;
  449. };
  450. partition@8 {
  451. label = "QSPI.kernel";
  452. reg = <0x001e0000 0x0800000>;
  453. };
  454. partition@9 {
  455. label = "QSPI.file-system";
  456. reg = <0x009e0000 0x01620000>;
  457. };
  458. };
  459. };
  460. &omap_dwc3_1 {
  461. extcon = <&extcon_usb1>;
  462. };
  463. &omap_dwc3_2 {
  464. extcon = <&extcon_usb2>;
  465. };
  466. &usb1 {
  467. dr_mode = "peripheral";
  468. };
  469. &usb2 {
  470. dr_mode = "host";
  471. };
  472. &elm {
  473. status = "okay";
  474. };
  475. &gpmc {
  476. /*
  477. * For the existing IOdelay configuration via U-Boot we don't
  478. * support NAND on dra7-evm. Keep it disabled. Enabling it
  479. * requires a different configuration by U-Boot.
  480. */
  481. status = "disabled";
  482. ranges = <0 0 0x08000000 0x01000000>; /* minimum GPMC partition = 16MB */
  483. nand@0,0 {
  484. compatible = "ti,omap2-nand";
  485. reg = <0 0 4>; /* device IO registers */
  486. interrupt-parent = <&gpmc>;
  487. interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
  488. <1 IRQ_TYPE_NONE>; /* termcount */
  489. rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 pin */
  490. ti,nand-ecc-opt = "bch8";
  491. ti,elm-id = <&elm>;
  492. nand-bus-width = <16>;
  493. gpmc,device-width = <2>;
  494. gpmc,sync-clk-ps = <0>;
  495. gpmc,cs-on-ns = <0>;
  496. gpmc,cs-rd-off-ns = <80>;
  497. gpmc,cs-wr-off-ns = <80>;
  498. gpmc,adv-on-ns = <0>;
  499. gpmc,adv-rd-off-ns = <60>;
  500. gpmc,adv-wr-off-ns = <60>;
  501. gpmc,we-on-ns = <10>;
  502. gpmc,we-off-ns = <50>;
  503. gpmc,oe-on-ns = <4>;
  504. gpmc,oe-off-ns = <40>;
  505. gpmc,access-ns = <40>;
  506. gpmc,wr-access-ns = <80>;
  507. gpmc,rd-cycle-ns = <80>;
  508. gpmc,wr-cycle-ns = <80>;
  509. gpmc,bus-turnaround-ns = <0>;
  510. gpmc,cycle2cycle-delay-ns = <0>;
  511. gpmc,clk-activation-ns = <0>;
  512. gpmc,wr-data-mux-bus-ns = <0>;
  513. /* MTD partition table */
  514. /* All SPL-* partitions are sized to minimal length
  515. * which can be independently programmable. For
  516. * NAND flash this is equal to size of erase-block */
  517. #address-cells = <1>;
  518. #size-cells = <1>;
  519. partition@0 {
  520. label = "NAND.SPL";
  521. reg = <0x00000000 0x000020000>;
  522. };
  523. partition@1 {
  524. label = "NAND.SPL.backup1";
  525. reg = <0x00020000 0x00020000>;
  526. };
  527. partition@2 {
  528. label = "NAND.SPL.backup2";
  529. reg = <0x00040000 0x00020000>;
  530. };
  531. partition@3 {
  532. label = "NAND.SPL.backup3";
  533. reg = <0x00060000 0x00020000>;
  534. };
  535. partition@4 {
  536. label = "NAND.u-boot-spl-os";
  537. reg = <0x00080000 0x00040000>;
  538. };
  539. partition@5 {
  540. label = "NAND.u-boot";
  541. reg = <0x000c0000 0x00100000>;
  542. };
  543. partition@6 {
  544. label = "NAND.u-boot-env";
  545. reg = <0x001c0000 0x00020000>;
  546. };
  547. partition@7 {
  548. label = "NAND.u-boot-env.backup1";
  549. reg = <0x001e0000 0x00020000>;
  550. };
  551. partition@8 {
  552. label = "NAND.kernel";
  553. reg = <0x00200000 0x00800000>;
  554. };
  555. partition@9 {
  556. label = "NAND.file-system";
  557. reg = <0x00a00000 0x0f600000>;
  558. };
  559. };
  560. };
  561. &usb2_phy1 {
  562. phy-supply = <&ldousb_reg>;
  563. };
  564. &usb2_phy2 {
  565. phy-supply = <&ldousb_reg>;
  566. };
  567. &gpio7 {
  568. ti,no-reset-on-init;
  569. ti,no-idle-on-init;
  570. };
  571. &mac {
  572. status = "okay";
  573. dual_emac;
  574. };
  575. &cpsw_emac0 {
  576. phy_id = <&davinci_mdio>, <2>;
  577. phy-mode = "rgmii";
  578. dual_emac_res_vlan = <1>;
  579. };
  580. &cpsw_emac1 {
  581. phy_id = <&davinci_mdio>, <3>;
  582. phy-mode = "rgmii";
  583. dual_emac_res_vlan = <2>;
  584. };
  585. &dcan1 {
  586. status = "ok";
  587. pinctrl-names = "default", "sleep", "active";
  588. pinctrl-0 = <&dcan1_pins_sleep>;
  589. pinctrl-1 = <&dcan1_pins_sleep>;
  590. pinctrl-2 = <&dcan1_pins_default>;
  591. };
  592. &atl {
  593. assigned-clocks = <&abe_dpll_sys_clk_mux>,
  594. <&atl_gfclk_mux>,
  595. <&dpll_abe_ck>,
  596. <&dpll_abe_m2x2_ck>,
  597. <&atl_clkin2_ck>;
  598. assigned-clock-parents = <&sys_clkin2>, <&dpll_abe_m2_ck>;
  599. assigned-clock-rates = <0>, <0>, <180633600>, <361267200>, <5644800>;
  600. status = "okay";
  601. atl2 {
  602. bws = <DRA7_ATL_WS_MCASP2_FSX>;
  603. aws = <DRA7_ATL_WS_MCASP3_FSX>;
  604. };
  605. };
  606. &mcasp3 {
  607. #sound-dai-cells = <0>;
  608. assigned-clocks = <&mcasp3_ahclkx_mux>;
  609. assigned-clock-parents = <&atl_clkin2_ck>;
  610. status = "okay";
  611. op-mode = <0>; /* MCASP_IIS_MODE */
  612. tdm-slots = <2>;
  613. /* 4 serializer */
  614. serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
  615. 1 2 0 0
  616. >;
  617. tx-num-evt = <32>;
  618. rx-num-evt = <32>;
  619. };
  620. &mailbox5 {
  621. status = "okay";
  622. mbox_ipu1_ipc3x: mbox_ipu1_ipc3x {
  623. status = "okay";
  624. };
  625. mbox_dsp1_ipc3x: mbox_dsp1_ipc3x {
  626. status = "okay";
  627. };
  628. };
  629. &mailbox6 {
  630. status = "okay";
  631. mbox_ipu2_ipc3x: mbox_ipu2_ipc3x {
  632. status = "okay";
  633. };
  634. mbox_dsp2_ipc3x: mbox_dsp2_ipc3x {
  635. status = "okay";
  636. };
  637. };