k3-am65-iot2050-common.dtsi 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Copyright (c) Siemens AG, 2018-2021
  4. *
  5. * Authors:
  6. * Le Jin <[email protected]>
  7. * Jan Kiszka <[email protected]>
  8. *
  9. * Common bits of the IOT2050 Basic and Advanced variants, PG1 and PG2
  10. */
  11. #include "k3-am654.dtsi"
  12. #include <dt-bindings/phy/phy.h>
  13. / {
  14. aliases {
  15. spi0 = &mcu_spi0;
  16. mmc0 = &sdhci1;
  17. mmc1 = &sdhci0;
  18. };
  19. chosen {
  20. stdout-path = "serial3:115200n8";
  21. bootargs = "earlycon=ns16550a,mmio32,0x02810000";
  22. };
  23. reserved-memory {
  24. #address-cells = <2>;
  25. #size-cells = <2>;
  26. ranges;
  27. secure_ddr: secure-ddr@9e800000 {
  28. reg = <0 0x9e800000 0 0x01800000>; /* for OP-TEE */
  29. alignment = <0x1000>;
  30. no-map;
  31. };
  32. mcu_r5fss0_core0_dma_memory_region: r5f-dma-memory@a0000000 {
  33. compatible = "shared-dma-pool";
  34. reg = <0 0xa0000000 0 0x100000>;
  35. no-map;
  36. };
  37. mcu_r5fss0_core0_memory_region: r5f-memory@a0100000 {
  38. compatible = "shared-dma-pool";
  39. reg = <0 0xa0100000 0 0xf00000>;
  40. no-map;
  41. };
  42. mcu_r5fss0_core1_dma_memory_region: r5f-dma-memory@a1000000 {
  43. compatible = "shared-dma-pool";
  44. reg = <0 0xa1000000 0 0x100000>;
  45. no-map;
  46. };
  47. mcu_r5fss0_core1_memory_region: r5f-memory@a1100000 {
  48. compatible = "shared-dma-pool";
  49. reg = <0 0xa1100000 0 0xf00000>;
  50. no-map;
  51. };
  52. rtos_ipc_memory_region: ipc-memories@a2000000 {
  53. reg = <0x00 0xa2000000 0x00 0x00200000>;
  54. alignment = <0x1000>;
  55. no-map;
  56. };
  57. };
  58. leds {
  59. compatible = "gpio-leds";
  60. pinctrl-names = "default";
  61. pinctrl-0 = <&leds_pins_default>;
  62. status-led-red {
  63. gpios = <&wkup_gpio0 32 GPIO_ACTIVE_HIGH>;
  64. panic-indicator;
  65. };
  66. status-led-green {
  67. gpios = <&wkup_gpio0 24 GPIO_ACTIVE_HIGH>;
  68. };
  69. user-led1-red {
  70. gpios = <&pcal9535_3 14 GPIO_ACTIVE_HIGH>;
  71. };
  72. user-led1-green {
  73. gpios = <&pcal9535_2 15 GPIO_ACTIVE_HIGH>;
  74. };
  75. user-led2-red {
  76. gpios = <&wkup_gpio0 17 GPIO_ACTIVE_HIGH>;
  77. };
  78. user-led2-green {
  79. gpios = <&wkup_gpio0 22 GPIO_ACTIVE_HIGH>;
  80. };
  81. };
  82. dp_refclk: clock {
  83. compatible = "fixed-clock";
  84. #clock-cells = <0>;
  85. clock-frequency = <19200000>;
  86. };
  87. };
  88. &wkup_pmx0 {
  89. wkup_i2c0_pins_default: wkup-i2c0-pins-default {
  90. pinctrl-single,pins = <
  91. /* (AC7) WKUP_I2C0_SCL */
  92. AM65X_WKUP_IOPAD(0x00e0, PIN_INPUT, 0)
  93. /* (AD6) WKUP_I2C0_SDA */
  94. AM65X_WKUP_IOPAD(0x00e4, PIN_INPUT, 0)
  95. >;
  96. };
  97. mcu_i2c0_pins_default: mcu-i2c0-pins-default {
  98. pinctrl-single,pins = <
  99. /* (AD8) MCU_I2C0_SCL */
  100. AM65X_WKUP_IOPAD(0x00e8, PIN_INPUT, 0)
  101. /* (AD7) MCU_I2C0_SDA */
  102. AM65X_WKUP_IOPAD(0x00ec, PIN_INPUT, 0)
  103. >;
  104. };
  105. arduino_i2c_aio_switch_pins_default: arduino-i2c-aio-switch-pins-default {
  106. pinctrl-single,pins = <
  107. /* (R2) WKUP_GPIO0_21 */
  108. AM65X_WKUP_IOPAD(0x0024, PIN_OUTPUT, 7)
  109. >;
  110. };
  111. push_button_pins_default: push-button-pins-default {
  112. pinctrl-single,pins = <
  113. /* (T1) MCU_OSPI1_CLK.WKUP_GPIO0_25 */
  114. AM65X_WKUP_IOPAD(0x0034, PIN_INPUT, 7)
  115. >;
  116. };
  117. arduino_uart_pins_default: arduino-uart-pins-default {
  118. pinctrl-single,pins = <
  119. /* (P4) MCU_UART0_RXD */
  120. AM65X_WKUP_IOPAD(0x0044, PIN_INPUT, 4)
  121. /* (P5) MCU_UART0_TXD */
  122. AM65X_WKUP_IOPAD(0x0048, PIN_OUTPUT, 4)
  123. >;
  124. };
  125. arduino_io_d2_to_d3_pins_default: arduino-io-d2-to-d3-pins-default {
  126. pinctrl-single,pins = <
  127. /* (P1) WKUP_GPIO0_31 */
  128. AM65X_WKUP_IOPAD(0x004C, PIN_OUTPUT, 7)
  129. /* (N3) WKUP_GPIO0_33 */
  130. AM65X_WKUP_IOPAD(0x0054, PIN_OUTPUT, 7)
  131. >;
  132. };
  133. arduino_io_oe_pins_default: arduino-io-oe-pins-default {
  134. pinctrl-single,pins = <
  135. /* (N4) WKUP_GPIO0_34 */
  136. AM65X_WKUP_IOPAD(0x0058, PIN_OUTPUT, 7)
  137. /* (M2) WKUP_GPIO0_36 */
  138. AM65X_WKUP_IOPAD(0x0060, PIN_OUTPUT, 7)
  139. /* (M3) WKUP_GPIO0_37 */
  140. AM65X_WKUP_IOPAD(0x0064, PIN_OUTPUT, 7)
  141. /* (M4) WKUP_GPIO0_38 */
  142. AM65X_WKUP_IOPAD(0x0068, PIN_OUTPUT, 7)
  143. /* (M1) WKUP_GPIO0_41 */
  144. AM65X_WKUP_IOPAD(0x0074, PIN_OUTPUT, 7)
  145. >;
  146. };
  147. mcu_fss0_ospi0_pins_default: mcu-fss0-ospi0-pins-default {
  148. pinctrl-single,pins = <
  149. /* (V1) MCU_OSPI0_CLK */
  150. AM65X_WKUP_IOPAD(0x0000, PIN_OUTPUT, 0)
  151. /* (U2) MCU_OSPI0_DQS */
  152. AM65X_WKUP_IOPAD(0x0008, PIN_INPUT, 0)
  153. /* (U4) MCU_OSPI0_D0 */
  154. AM65X_WKUP_IOPAD(0x000c, PIN_INPUT, 0)
  155. /* (U5) MCU_OSPI0_D1 */
  156. AM65X_WKUP_IOPAD(0x0010, PIN_INPUT, 0)
  157. /* (R4) MCU_OSPI0_CSn0 */
  158. AM65X_WKUP_IOPAD(0x002c, PIN_OUTPUT, 0)
  159. >;
  160. };
  161. db9_com_mode_pins_default: db9-com-mode-pins-default {
  162. pinctrl-single,pins = <
  163. /* (AD3) WKUP_GPIO0_5, used as uart0 mode 0 */
  164. AM65X_WKUP_IOPAD(0x00c4, PIN_OUTPUT, 7)
  165. /* (AC3) WKUP_GPIO0_4, used as uart0 mode 1 */
  166. AM65X_WKUP_IOPAD(0x00c0, PIN_OUTPUT, 7)
  167. /* (AC1) WKUP_GPIO0_7, used as uart0 term */
  168. AM65X_WKUP_IOPAD(0x00cc, PIN_OUTPUT, 7)
  169. /* (AC2) WKUP_GPIO0_6, used as uart0 en */
  170. AM65X_WKUP_IOPAD(0x00c8, PIN_OUTPUT, 7)
  171. >;
  172. };
  173. leds_pins_default: leds-pins-default {
  174. pinctrl-single,pins = <
  175. /* (T2) WKUP_GPIO0_17, used as user led1 red */
  176. AM65X_WKUP_IOPAD(0x0014, PIN_OUTPUT, 7)
  177. /* (R3) WKUP_GPIO0_22, used as user led1 green */
  178. AM65X_WKUP_IOPAD(0x0028, PIN_OUTPUT, 7)
  179. /* (R5) WKUP_GPIO0_24, used as status led red */
  180. AM65X_WKUP_IOPAD(0x0030, PIN_OUTPUT, 7)
  181. /* (N2) WKUP_GPIO0_32, used as status led green */
  182. AM65X_WKUP_IOPAD(0x0050, PIN_OUTPUT, 7)
  183. >;
  184. };
  185. mcu_spi0_pins_default: mcu-spi0-pins-default {
  186. pinctrl-single,pins = <
  187. /* (Y1) MCU_SPI0_CLK */
  188. AM65X_WKUP_IOPAD(0x0090, PIN_INPUT, 0)
  189. /* (Y3) MCU_SPI0_D0 */
  190. AM65X_WKUP_IOPAD(0x0094, PIN_INPUT, 0)
  191. /* (Y2) MCU_SPI0_D1 */
  192. AM65X_WKUP_IOPAD(0x0098, PIN_INPUT, 0)
  193. /* (Y4) MCU_SPI0_CS0 */
  194. AM65X_WKUP_IOPAD(0x009c, PIN_OUTPUT, 0)
  195. >;
  196. };
  197. minipcie_pins_default: minipcie-pins-default {
  198. pinctrl-single,pins = <
  199. /* (P2) MCU_OSPI1_DQS.WKUP_GPIO0_27 */
  200. AM65X_WKUP_IOPAD(0x003C, PIN_OUTPUT, 7)
  201. >;
  202. };
  203. };
  204. &main_pmx0 {
  205. main_uart1_pins_default: main-uart1-pins-default {
  206. pinctrl-single,pins = <
  207. AM65X_IOPAD(0x0174, PIN_INPUT, 6) /* (AE23) UART1_RXD */
  208. AM65X_IOPAD(0x014c, PIN_OUTPUT, 6) /* (AD23) UART1_TXD */
  209. AM65X_IOPAD(0x0178, PIN_INPUT, 6) /* (AD22) UART1_CTSn */
  210. AM65X_IOPAD(0x017c, PIN_OUTPUT, 6) /* (AC21) UART1_RTSn */
  211. >;
  212. };
  213. main_i2c3_pins_default: main-i2c3-pins-default {
  214. pinctrl-single,pins = <
  215. AM65X_IOPAD(0x01c0, PIN_INPUT, 2) /* (AF13) I2C3_SCL */
  216. AM65X_IOPAD(0x01d4, PIN_INPUT, 2) /* (AG12) I2C3_SDA */
  217. >;
  218. };
  219. main_mmc1_pins_default: main-mmc1-pins-default {
  220. pinctrl-single,pins = <
  221. AM65X_IOPAD(0x02d4, PIN_INPUT_PULLDOWN, 0) /* (C27) MMC1_CLK */
  222. AM65X_IOPAD(0x02d8, PIN_INPUT_PULLUP, 0) /* (C28) MMC1_CMD */
  223. AM65X_IOPAD(0x02d0, PIN_INPUT_PULLUP, 0) /* (D28) MMC1_DAT0 */
  224. AM65X_IOPAD(0x02cc, PIN_INPUT_PULLUP, 0) /* (E27) MMC1_DAT1 */
  225. AM65X_IOPAD(0x02c8, PIN_INPUT_PULLUP, 0) /* (D26) MMC1_DAT2 */
  226. AM65X_IOPAD(0x02c4, PIN_INPUT_PULLUP, 0) /* (D27) MMC1_DAT3 */
  227. AM65X_IOPAD(0x02dc, PIN_INPUT_PULLUP, 0) /* (B24) MMC1_SDCD */
  228. AM65X_IOPAD(0x02e0, PIN_INPUT_PULLUP, 0) /* (C24) MMC1_SDWP */
  229. >;
  230. };
  231. usb0_pins_default: usb0-pins-default {
  232. pinctrl-single,pins = <
  233. AM65X_IOPAD(0x02bc, PIN_OUTPUT, 0) /* (AD9) USB0_DRVVBUS */
  234. >;
  235. };
  236. usb1_pins_default: usb1-pins-default {
  237. pinctrl-single,pins = <
  238. AM65X_IOPAD(0x02c0, PIN_OUTPUT, 0) /* (AC8) USB1_DRVVBUS */
  239. >;
  240. };
  241. arduino_io_d4_to_d9_pins_default: arduino-io-d4-to-d9-pins-default {
  242. pinctrl-single,pins = <
  243. AM65X_IOPAD(0x0084, PIN_OUTPUT, 7) /* (AG18) GPIO0_33 */
  244. AM65X_IOPAD(0x008C, PIN_OUTPUT, 7) /* (AF17) GPIO0_35 */
  245. AM65X_IOPAD(0x0098, PIN_OUTPUT, 7) /* (AH16) GPIO0_38 */
  246. AM65X_IOPAD(0x00AC, PIN_OUTPUT, 7) /* (AH15) GPIO0_43 */
  247. AM65X_IOPAD(0x00C0, PIN_OUTPUT, 7) /* (AG15) GPIO0_48 */
  248. AM65X_IOPAD(0x00CC, PIN_OUTPUT, 7) /* (AD15) GPIO0_51 */
  249. >;
  250. };
  251. dss_vout1_pins_default: dss-vout1-pins-default {
  252. pinctrl-single,pins = <
  253. AM65X_IOPAD(0x0000, PIN_OUTPUT, 1) /* VOUT1_DATA0 */
  254. AM65X_IOPAD(0x0004, PIN_OUTPUT, 1) /* VOUT1_DATA1 */
  255. AM65X_IOPAD(0x0008, PIN_OUTPUT, 1) /* VOUT1_DATA2 */
  256. AM65X_IOPAD(0x000c, PIN_OUTPUT, 1) /* VOUT1_DATA3 */
  257. AM65X_IOPAD(0x0010, PIN_OUTPUT, 1) /* VOUT1_DATA4 */
  258. AM65X_IOPAD(0x0014, PIN_OUTPUT, 1) /* VOUT1_DATA5 */
  259. AM65X_IOPAD(0x0018, PIN_OUTPUT, 1) /* VOUT1_DATA6 */
  260. AM65X_IOPAD(0x001c, PIN_OUTPUT, 1) /* VOUT1_DATA7 */
  261. AM65X_IOPAD(0x0020, PIN_OUTPUT, 1) /* VOUT1_DATA8 */
  262. AM65X_IOPAD(0x0024, PIN_OUTPUT, 1) /* VOUT1_DATA9 */
  263. AM65X_IOPAD(0x0028, PIN_OUTPUT, 1) /* VOUT1_DATA10 */
  264. AM65X_IOPAD(0x002c, PIN_OUTPUT, 1) /* VOUT1_DATA11 */
  265. AM65X_IOPAD(0x0030, PIN_OUTPUT, 1) /* VOUT1_DATA12 */
  266. AM65X_IOPAD(0x0034, PIN_OUTPUT, 1) /* VOUT1_DATA13 */
  267. AM65X_IOPAD(0x0038, PIN_OUTPUT, 1) /* VOUT1_DATA14 */
  268. AM65X_IOPAD(0x003c, PIN_OUTPUT, 1) /* VOUT1_DATA15 */
  269. AM65X_IOPAD(0x0040, PIN_OUTPUT, 1) /* VOUT1_DATA16 */
  270. AM65X_IOPAD(0x0044, PIN_OUTPUT, 1) /* VOUT1_DATA17 */
  271. AM65X_IOPAD(0x0048, PIN_OUTPUT, 1) /* VOUT1_DATA18 */
  272. AM65X_IOPAD(0x004c, PIN_OUTPUT, 1) /* VOUT1_DATA19 */
  273. AM65X_IOPAD(0x0050, PIN_OUTPUT, 1) /* VOUT1_DATA20 */
  274. AM65X_IOPAD(0x0054, PIN_OUTPUT, 1) /* VOUT1_DATA21 */
  275. AM65X_IOPAD(0x0058, PIN_OUTPUT, 1) /* VOUT1_DATA22 */
  276. AM65X_IOPAD(0x005c, PIN_OUTPUT, 1) /* VOUT1_DATA23 */
  277. AM65X_IOPAD(0x0060, PIN_OUTPUT, 1) /* VOUT1_VSYNC */
  278. AM65X_IOPAD(0x0064, PIN_OUTPUT, 1) /* VOUT1_HSYNC */
  279. AM65X_IOPAD(0x0068, PIN_OUTPUT, 1) /* VOUT1_PCLK */
  280. AM65X_IOPAD(0x006c, PIN_OUTPUT, 1) /* VOUT1_DE */
  281. >;
  282. };
  283. dp_pins_default: dp-pins-default {
  284. pinctrl-single,pins = <
  285. AM65X_IOPAD(0x0078, PIN_OUTPUT, 7) /* (AF18) DP rst_n */
  286. >;
  287. };
  288. main_i2c2_pins_default: main-i2c2-pins-default {
  289. pinctrl-single,pins = <
  290. AM65X_IOPAD(0x0074, PIN_INPUT, 5) /* (T27) I2C2_SCL */
  291. AM65X_IOPAD(0x0070, PIN_INPUT, 5) /* (R25) I2C2_SDA */
  292. >;
  293. };
  294. };
  295. &main_pmx1 {
  296. main_i2c0_pins_default: main-i2c0-pins-default {
  297. pinctrl-single,pins = <
  298. AM65X_IOPAD(0x0000, PIN_INPUT, 0) /* (D20) I2C0_SCL */
  299. AM65X_IOPAD(0x0004, PIN_INPUT, 0) /* (C21) I2C0_SDA */
  300. >;
  301. };
  302. main_i2c1_pins_default: main-i2c1-pins-default {
  303. pinctrl-single,pins = <
  304. AM65X_IOPAD(0x0008, PIN_INPUT, 0) /* (B21) I2C1_SCL */
  305. AM65X_IOPAD(0x000c, PIN_INPUT, 0) /* (E21) I2C1_SDA */
  306. >;
  307. };
  308. ecap0_pins_default: ecap0-pins-default {
  309. pinctrl-single,pins = <
  310. AM65X_IOPAD(0x0010, PIN_INPUT, 0) /* (D21) ECAP0_IN_APWM_OUT */
  311. >;
  312. };
  313. };
  314. &wkup_uart0 {
  315. /* Wakeup UART is used by System firmware */
  316. status = "reserved";
  317. };
  318. &main_uart1 {
  319. pinctrl-names = "default";
  320. pinctrl-0 = <&main_uart1_pins_default>;
  321. };
  322. &main_uart2 {
  323. status = "disabled";
  324. };
  325. &mcu_uart0 {
  326. pinctrl-names = "default";
  327. pinctrl-0 = <&arduino_uart_pins_default>;
  328. };
  329. &main_gpio0 {
  330. pinctrl-names = "default";
  331. pinctrl-0 = <&arduino_io_d4_to_d9_pins_default>;
  332. gpio-line-names =
  333. "main_gpio0-base", "", "", "", "", "", "", "", "", "",
  334. "", "", "", "", "", "", "", "", "", "",
  335. "", "", "", "", "", "", "", "", "", "",
  336. "", "", "", "IO4", "", "IO5", "", "", "IO6", "",
  337. "", "", "", "IO7", "", "", "", "", "IO8", "",
  338. "", "IO9";
  339. };
  340. &wkup_gpio0 {
  341. pinctrl-names = "default";
  342. pinctrl-0 = <
  343. &arduino_io_d2_to_d3_pins_default
  344. &arduino_i2c_aio_switch_pins_default
  345. &arduino_io_oe_pins_default
  346. &push_button_pins_default
  347. &db9_com_mode_pins_default
  348. >;
  349. gpio-line-names =
  350. /* 0..9 */
  351. "wkup_gpio0-base", "", "", "", "UART0-mode1", "UART0-mode0",
  352. "UART0-enable", "UART0-terminate", "", "WIFI-disable",
  353. /* 10..19 */
  354. "", "", "", "", "", "", "", "", "", "",
  355. /* 20..29 */
  356. "", "A4A5-I2C-mux", "", "", "", "USER-button", "", "", "","IO0",
  357. /* 30..39 */
  358. "IO1", "IO2", "", "IO3", "IO17-direction", "A5",
  359. "IO16-direction", "IO15-direction", "IO14-direction", "A3",
  360. /* 40..49 */
  361. "", "IO18-direction", "A4", "A2", "A1", "A0", "", "", "IO13",
  362. "IO11",
  363. /* 50..51 */
  364. "IO12", "IO10";
  365. };
  366. &wkup_i2c0 {
  367. pinctrl-names = "default";
  368. pinctrl-0 = <&wkup_i2c0_pins_default>;
  369. clock-frequency = <400000>;
  370. };
  371. &mcu_i2c0 {
  372. pinctrl-names = "default";
  373. pinctrl-0 = <&mcu_i2c0_pins_default>;
  374. clock-frequency = <400000>;
  375. psu: regulator@60 {
  376. compatible = "ti,tps62363";
  377. reg = <0x60>;
  378. regulator-name = "tps62363-vout";
  379. regulator-min-microvolt = <500000>;
  380. regulator-max-microvolt = <1500000>;
  381. regulator-boot-on;
  382. ti,vsel0-state-high;
  383. ti,vsel1-state-high;
  384. ti,enable-vout-discharge;
  385. };
  386. /* D4200 */
  387. pcal9535_1: gpio@20 {
  388. compatible = "nxp,pcal9535";
  389. reg = <0x20>;
  390. #gpio-cells = <2>;
  391. gpio-controller;
  392. gpio-line-names =
  393. "A0-pull", "A1-pull", "A2-pull", "A3-pull", "A4-pull",
  394. "A5-pull", "", "",
  395. "IO14-enable", "IO15-enable", "IO16-enable",
  396. "IO17-enable", "IO18-enable", "IO19-enable";
  397. };
  398. /* D4201 */
  399. pcal9535_2: gpio@21 {
  400. compatible = "nxp,pcal9535";
  401. reg = <0x21>;
  402. #gpio-cells = <2>;
  403. gpio-controller;
  404. gpio-line-names =
  405. "IO0-direction", "IO1-direction", "IO2-direction",
  406. "IO3-direction", "IO4-direction", "IO5-direction",
  407. "IO6-direction", "IO7-direction",
  408. "IO8-direction", "IO9-direction", "IO10-direction",
  409. "IO11-direction", "IO12-direction", "IO13-direction",
  410. "IO19-direction";
  411. };
  412. /* D4202 */
  413. pcal9535_3: gpio@25 {
  414. compatible = "nxp,pcal9535";
  415. reg = <0x25>;
  416. #gpio-cells = <2>;
  417. gpio-controller;
  418. gpio-line-names =
  419. "IO0-pull", "IO1-pull", "IO2-pull", "IO3-pull",
  420. "IO4-pull", "IO5-pull", "IO6-pull", "IO7-pull",
  421. "IO8-pull", "IO9-pull", "IO10-pull", "IO11-pull",
  422. "IO12-pull", "IO13-pull";
  423. };
  424. };
  425. &main_i2c0 {
  426. pinctrl-names = "default";
  427. pinctrl-0 = <&main_i2c0_pins_default>;
  428. clock-frequency = <400000>;
  429. rtc: rtc8564@51 {
  430. compatible = "nxp,pcf8563";
  431. reg = <0x51>;
  432. };
  433. eeprom: eeprom@54 {
  434. compatible = "atmel,24c08";
  435. reg = <0x54>;
  436. pagesize = <16>;
  437. };
  438. };
  439. &main_i2c1 {
  440. pinctrl-names = "default";
  441. pinctrl-0 = <&main_i2c1_pins_default>;
  442. clock-frequency = <400000>;
  443. };
  444. &main_i2c2 {
  445. pinctrl-names = "default";
  446. pinctrl-0 = <&main_i2c2_pins_default>;
  447. clock-frequency = <400000>;
  448. };
  449. &main_i2c3 {
  450. pinctrl-names = "default";
  451. pinctrl-0 = <&main_i2c3_pins_default>;
  452. clock-frequency = <400000>;
  453. #address-cells = <1>;
  454. #size-cells = <0>;
  455. edp-bridge@f {
  456. compatible = "toshiba,tc358767";
  457. reg = <0x0f>;
  458. pinctrl-names = "default";
  459. pinctrl-0 = <&dp_pins_default>;
  460. reset-gpios = <&main_gpio0 30 GPIO_ACTIVE_HIGH>;
  461. clock-names = "ref";
  462. clocks = <&dp_refclk>;
  463. toshiba,hpd-pin = <0>;
  464. ports {
  465. #address-cells = <1>;
  466. #size-cells = <0>;
  467. port@1 {
  468. reg = <1>;
  469. bridge_in: endpoint {
  470. remote-endpoint = <&dpi_out>;
  471. };
  472. };
  473. };
  474. };
  475. };
  476. &mcu_cpsw {
  477. status = "disabled";
  478. };
  479. &ecap0 {
  480. pinctrl-names = "default";
  481. pinctrl-0 = <&ecap0_pins_default>;
  482. };
  483. &sdhci1 {
  484. pinctrl-names = "default";
  485. pinctrl-0 = <&main_mmc1_pins_default>;
  486. ti,driver-strength-ohm = <50>;
  487. disable-wp;
  488. };
  489. &usb0 {
  490. pinctrl-names = "default";
  491. pinctrl-0 = <&usb0_pins_default>;
  492. dr_mode = "host";
  493. };
  494. &usb1 {
  495. pinctrl-names = "default";
  496. pinctrl-0 = <&usb1_pins_default>;
  497. dr_mode = "host";
  498. };
  499. &mcu_spi0 {
  500. pinctrl-names = "default";
  501. pinctrl-0 = <&mcu_spi0_pins_default>;
  502. #address-cells = <1>;
  503. #size-cells = <0>;
  504. ti,pindir-d0-out-d1-in;
  505. };
  506. &tscadc0 {
  507. status = "disabled";
  508. };
  509. &tscadc1 {
  510. adc {
  511. ti,adc-channels = <0 1 2 3 4 5>;
  512. };
  513. };
  514. &ospi0 {
  515. pinctrl-names = "default";
  516. pinctrl-0 = <&mcu_fss0_ospi0_pins_default>;
  517. flash@0 {
  518. compatible = "jedec,spi-nor";
  519. reg = <0x0>;
  520. spi-tx-bus-width = <1>;
  521. spi-rx-bus-width = <1>;
  522. spi-max-frequency = <50000000>;
  523. cdns,tshsl-ns = <60>;
  524. cdns,tsd2d-ns = <60>;
  525. cdns,tchsh-ns = <60>;
  526. cdns,tslch-ns = <60>;
  527. cdns,read-delay = <2>;
  528. };
  529. };
  530. &dss {
  531. pinctrl-names = "default";
  532. pinctrl-0 = <&dss_vout1_pins_default>;
  533. assigned-clocks = <&k3_clks 67 2>;
  534. assigned-clock-parents = <&k3_clks 67 5>;
  535. };
  536. &dss_ports {
  537. #address-cells = <1>;
  538. #size-cells = <0>;
  539. port@1 {
  540. reg = <1>;
  541. dpi_out: endpoint {
  542. remote-endpoint = <&bridge_in>;
  543. };
  544. };
  545. };
  546. &pcie0_rc {
  547. status = "disabled";
  548. };
  549. &pcie0_ep {
  550. status = "disabled";
  551. };
  552. &pcie1_rc {
  553. pinctrl-names = "default";
  554. pinctrl-0 = <&minipcie_pins_default>;
  555. num-lanes = <1>;
  556. phys = <&serdes1 PHY_TYPE_PCIE 0>;
  557. phy-names = "pcie-phy0";
  558. reset-gpios = <&wkup_gpio0 27 GPIO_ACTIVE_HIGH>;
  559. };
  560. &m_can0 {
  561. status = "disabled";
  562. };
  563. &m_can1 {
  564. status = "disabled";
  565. };
  566. &pcie1_ep {
  567. status = "disabled";
  568. };
  569. &mailbox0_cluster0 {
  570. interrupts = <436>;
  571. mbox_mcu_r5fss0_core0: mbox-mcu-r5fss0-core0 {
  572. ti,mbox-tx = <1 0 0>;
  573. ti,mbox-rx = <0 0 0>;
  574. };
  575. };
  576. &mailbox0_cluster1 {
  577. interrupts = <432>;
  578. mbox_mcu_r5fss0_core1: mbox-mcu-r5fss0-core1 {
  579. ti,mbox-tx = <1 0 0>;
  580. ti,mbox-rx = <0 0 0>;
  581. };
  582. };
  583. &mailbox0_cluster2 {
  584. status = "disabled";
  585. };
  586. &mailbox0_cluster3 {
  587. status = "disabled";
  588. };
  589. &mailbox0_cluster4 {
  590. status = "disabled";
  591. };
  592. &mailbox0_cluster5 {
  593. status = "disabled";
  594. };
  595. &mailbox0_cluster6 {
  596. status = "disabled";
  597. };
  598. &mailbox0_cluster7 {
  599. status = "disabled";
  600. };
  601. &mailbox0_cluster8 {
  602. status = "disabled";
  603. };
  604. &mailbox0_cluster9 {
  605. status = "disabled";
  606. };
  607. &mailbox0_cluster10 {
  608. status = "disabled";
  609. };
  610. &mailbox0_cluster11 {
  611. status = "disabled";
  612. };
  613. &mcu_r5fss0_core0 {
  614. memory-region = <&mcu_r5fss0_core0_dma_memory_region>,
  615. <&mcu_r5fss0_core0_memory_region>;
  616. mboxes = <&mailbox0_cluster0 &mbox_mcu_r5fss0_core0>;
  617. };
  618. &mcu_r5fss0_core1 {
  619. memory-region = <&mcu_r5fss0_core1_dma_memory_region>,
  620. <&mcu_r5fss0_core1_memory_region>;
  621. mboxes = <&mailbox0_cluster1 &mbox_mcu_r5fss0_core1>;
  622. };
  623. &icssg0_mdio {
  624. status = "disabled";
  625. };
  626. &icssg1_mdio {
  627. status = "disabled";
  628. };
  629. &icssg2_mdio {
  630. status = "disabled";
  631. };
  632. &mcasp0 {
  633. status = "disabled";
  634. };
  635. &mcasp1 {
  636. status = "disabled";
  637. };
  638. &mcasp2 {
  639. status = "disabled";
  640. };