imx8mm-venice-gw7904.dts 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892
  1. // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2. /*
  3. * Copyright 2022 Gateworks Corporation
  4. */
  5. /dts-v1/;
  6. #include <dt-bindings/gpio/gpio.h>
  7. #include <dt-bindings/input/linux-event-codes.h>
  8. #include <dt-bindings/leds/common.h>
  9. #include <dt-bindings/phy/phy-imx8-pcie.h>
  10. #include "imx8mm.dtsi"
  11. / {
  12. model = "Gateworks Venice GW7904 i.MX8MM board";
  13. compatible = "gateworks,imx8mm-gw7904", "fsl,imx8mm";
  14. chosen {
  15. stdout-path = &uart2;
  16. };
  17. memory@40000000 {
  18. device_type = "memory";
  19. reg = <0x0 0x40000000 0 0x80000000>;
  20. };
  21. gpio-keys {
  22. compatible = "gpio-keys";
  23. key-0 {
  24. label = "user_pb";
  25. gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
  26. linux,code = <BTN_0>;
  27. };
  28. key-1 {
  29. label = "user_pb1x";
  30. linux,code = <BTN_1>;
  31. interrupt-parent = <&gsc>;
  32. interrupts = <0>;
  33. };
  34. key-2 {
  35. label = "key_erased";
  36. linux,code = <BTN_2>;
  37. interrupt-parent = <&gsc>;
  38. interrupts = <1>;
  39. };
  40. key-3 {
  41. label = "eeprom_wp";
  42. linux,code = <BTN_3>;
  43. interrupt-parent = <&gsc>;
  44. interrupts = <2>;
  45. };
  46. key-4 {
  47. label = "switch_hold";
  48. linux,code = <BTN_5>;
  49. interrupt-parent = <&gsc>;
  50. interrupts = <7>;
  51. };
  52. };
  53. led-controller {
  54. compatible = "gpio-leds";
  55. pinctrl-names = "default";
  56. pinctrl-0 = <&pinctrl_gpio_leds>;
  57. led-0 {
  58. function = LED_FUNCTION_STATUS;
  59. color = <LED_COLOR_ID_GREEN>;
  60. label = "led01_grn";
  61. gpios = <&gpioled 0 GPIO_ACTIVE_LOW>;
  62. default-state = "off";
  63. };
  64. led-1 {
  65. function = LED_FUNCTION_STATUS;
  66. color = <LED_COLOR_ID_YELLOW>;
  67. label = "led01_yel";
  68. gpios = <&gpioled 1 GPIO_ACTIVE_LOW>;
  69. default-state = "off";
  70. };
  71. led-2 {
  72. function = LED_FUNCTION_STATUS;
  73. color = <LED_COLOR_ID_GREEN>;
  74. label = "led02_grn";
  75. gpios = <&gpioled 2 GPIO_ACTIVE_LOW>;
  76. default-state = "off";
  77. };
  78. led-3 {
  79. function = LED_FUNCTION_STATUS;
  80. color = <LED_COLOR_ID_YELLOW>;
  81. label = "led02_yel";
  82. gpios = <&gpioled 3 GPIO_ACTIVE_LOW>;
  83. default-state = "off";
  84. };
  85. led-4 {
  86. function = LED_FUNCTION_STATUS;
  87. color = <LED_COLOR_ID_GREEN>;
  88. label = "led03_grn";
  89. gpios = <&gpioled 4 GPIO_ACTIVE_LOW>;
  90. default-state = "off";
  91. };
  92. led-5 {
  93. function = LED_FUNCTION_STATUS;
  94. color = <LED_COLOR_ID_YELLOW>;
  95. label = "led03_yel";
  96. gpios = <&gpioled 5 GPIO_ACTIVE_LOW>;
  97. default-state = "off";
  98. };
  99. led-6 {
  100. function = LED_FUNCTION_STATUS;
  101. color = <LED_COLOR_ID_GREEN>;
  102. label = "led04_grn";
  103. gpios = <&gpioled 6 GPIO_ACTIVE_LOW>;
  104. default-state = "off";
  105. };
  106. led-7 {
  107. function = LED_FUNCTION_STATUS;
  108. color = <LED_COLOR_ID_YELLOW>;
  109. label = "led04_yel";
  110. gpios = <&gpioled 7 GPIO_ACTIVE_LOW>;
  111. default-state = "off";
  112. };
  113. led-8 {
  114. function = LED_FUNCTION_STATUS;
  115. color = <LED_COLOR_ID_GREEN>;
  116. label = "led05_grn";
  117. gpios = <&gpioled 8 GPIO_ACTIVE_LOW>;
  118. default-state = "off";
  119. };
  120. led-9 {
  121. function = LED_FUNCTION_STATUS;
  122. color = <LED_COLOR_ID_YELLOW>;
  123. label = "led05_yel";
  124. gpios = <&gpioled 9 GPIO_ACTIVE_LOW>;
  125. default-state = "off";
  126. };
  127. led-10 {
  128. function = LED_FUNCTION_STATUS;
  129. color = <LED_COLOR_ID_GREEN>;
  130. label = "led06_grn";
  131. gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
  132. default-state = "off";
  133. };
  134. led-11 {
  135. function = LED_FUNCTION_STATUS;
  136. color = <LED_COLOR_ID_RED>;
  137. label = "led06_red";
  138. gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
  139. default-state = "off";
  140. };
  141. led-12 {
  142. function = LED_FUNCTION_STATUS;
  143. color = <LED_COLOR_ID_GREEN>;
  144. label = "led07_grn";
  145. gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
  146. default-state = "off";
  147. };
  148. led-13 {
  149. function = LED_FUNCTION_STATUS;
  150. color = <LED_COLOR_ID_RED>;
  151. label = "led07_red";
  152. gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
  153. default-state = "off";
  154. };
  155. led-14 {
  156. function = LED_FUNCTION_STATUS;
  157. color = <LED_COLOR_ID_GREEN>;
  158. label = "led08_grn";
  159. gpios = <&gpioled 10 GPIO_ACTIVE_LOW>;
  160. default-state = "off";
  161. };
  162. led-15 {
  163. function = LED_FUNCTION_STATUS;
  164. color = <LED_COLOR_ID_YELLOW>;
  165. label = "led08_yel";
  166. gpios = <&gpioled 11 GPIO_ACTIVE_LOW>;
  167. default-state = "off";
  168. };
  169. led-16 {
  170. function = LED_FUNCTION_STATUS;
  171. color = <LED_COLOR_ID_GREEN>;
  172. label = "led09_grn";
  173. gpios = <&gpioled 12 GPIO_ACTIVE_LOW>;
  174. default-state = "off";
  175. };
  176. led-17 {
  177. function = LED_FUNCTION_STATUS;
  178. color = <LED_COLOR_ID_YELLOW>;
  179. label = "led09_yel";
  180. gpios = <&gpioled 13 GPIO_ACTIVE_LOW>;
  181. default-state = "off";
  182. };
  183. led-18 {
  184. function = LED_FUNCTION_STATUS;
  185. color = <LED_COLOR_ID_GREEN>;
  186. label = "led10_grn";
  187. gpios = <&gpioled 14 GPIO_ACTIVE_LOW>;
  188. default-state = "off";
  189. };
  190. led-19 {
  191. function = LED_FUNCTION_STATUS;
  192. color = <LED_COLOR_ID_YELLOW>;
  193. label = "led10_yel";
  194. gpios = <&gpioled 15 GPIO_ACTIVE_LOW>;
  195. default-state = "off";
  196. };
  197. };
  198. pcie0_refclk: pcie0-refclk {
  199. compatible = "fixed-clock";
  200. #clock-cells = <0>;
  201. clock-frequency = <100000000>;
  202. };
  203. reg_3p3v: regulator-3p3v {
  204. compatible = "regulator-fixed";
  205. regulator-name = "3P3V";
  206. regulator-min-microvolt = <3300000>;
  207. regulator-max-microvolt = <3300000>;
  208. regulator-always-on;
  209. };
  210. };
  211. &A53_0 {
  212. cpu-supply = <&buck2>;
  213. };
  214. &A53_1 {
  215. cpu-supply = <&buck2>;
  216. };
  217. &A53_2 {
  218. cpu-supply = <&buck2>;
  219. };
  220. &A53_3 {
  221. cpu-supply = <&buck2>;
  222. };
  223. &ddrc {
  224. operating-points-v2 = <&ddrc_opp_table>;
  225. ddrc_opp_table: opp-table {
  226. compatible = "operating-points-v2";
  227. opp-25M {
  228. opp-hz = /bits/ 64 <25000000>;
  229. };
  230. opp-100M {
  231. opp-hz = /bits/ 64 <100000000>;
  232. };
  233. opp-750M {
  234. opp-hz = /bits/ 64 <750000000>;
  235. };
  236. };
  237. };
  238. &fec1 {
  239. pinctrl-names = "default";
  240. pinctrl-0 = <&pinctrl_fec1>;
  241. phy-mode = "rgmii-id";
  242. phy-handle = <&ethphy0>;
  243. local-mac-address = [00 00 00 00 00 00];
  244. status = "okay";
  245. mdio {
  246. #address-cells = <1>;
  247. #size-cells = <0>;
  248. ethphy0: ethernet-phy@0 {
  249. compatible = "ethernet-phy-ieee802.3-c22";
  250. reg = <0>;
  251. };
  252. };
  253. };
  254. &gpio1 {
  255. gpio-line-names = "", "", "", "", "", "", "", "",
  256. "", "", "", "", "rs232_en#", "", "", "",
  257. "", "", "", "", "", "", "", "",
  258. "", "", "", "", "", "", "", "";
  259. };
  260. &gpio5 {
  261. gpio-line-names = "", "", "", "", "", "", "", "",
  262. "", "", "", "", "pci_wdis#", "", "", "",
  263. "", "", "", "", "", "", "", "",
  264. "", "", "", "", "", "", "", "";
  265. };
  266. &i2c1 {
  267. clock-frequency = <100000>;
  268. pinctrl-names = "default";
  269. pinctrl-0 = <&pinctrl_i2c1>;
  270. status = "okay";
  271. gsc: gsc@20 {
  272. compatible = "gw,gsc";
  273. reg = <0x20>;
  274. pinctrl-0 = <&pinctrl_gsc>;
  275. interrupt-parent = <&gpio4>;
  276. interrupts = <26 IRQ_TYPE_EDGE_FALLING>;
  277. interrupt-controller;
  278. #interrupt-cells = <1>;
  279. adc {
  280. compatible = "gw,gsc-adc";
  281. #address-cells = <1>;
  282. #size-cells = <0>;
  283. channel@6 {
  284. gw,mode = <0>;
  285. reg = <0x06>;
  286. label = "temp";
  287. };
  288. channel@82 {
  289. gw,mode = <2>;
  290. reg = <0x82>;
  291. label = "vin";
  292. gw,voltage-divider-ohms = <22100 1000>;
  293. gw,voltage-offset-microvolt = <700000>;
  294. };
  295. channel@84 {
  296. gw,mode = <2>;
  297. reg = <0x84>;
  298. label = "vdd_5p0";
  299. gw,voltage-divider-ohms = <10000 10000>;
  300. };
  301. channel@86 {
  302. gw,mode = <2>;
  303. reg = <0x86>;
  304. label = "vdd_3p3";
  305. gw,voltage-divider-ohms = <10000 10000>;
  306. };
  307. channel@88 {
  308. gw,mode = <2>;
  309. reg = <0x88>;
  310. label = "vdd_0p9";
  311. };
  312. channel@8c {
  313. gw,mode = <2>;
  314. reg = <0x8c>;
  315. label = "vdd_soc";
  316. };
  317. channel@8e {
  318. gw,mode = <2>;
  319. reg = <0x8e>;
  320. label = "vdd_arm";
  321. };
  322. channel@90 {
  323. gw,mode = <2>;
  324. reg = <0x90>;
  325. label = "vdd_1p8";
  326. };
  327. channel@92 {
  328. gw,mode = <2>;
  329. reg = <0x92>;
  330. label = "vdd_dram";
  331. };
  332. channel@a2 {
  333. gw,mode = <2>;
  334. reg = <0xa2>;
  335. label = "vdd_gsc";
  336. gw,voltage-divider-ohms = <10000 10000>;
  337. };
  338. };
  339. };
  340. gpio: gpio@23 {
  341. compatible = "nxp,pca9555";
  342. reg = <0x23>;
  343. gpio-controller;
  344. #gpio-cells = <2>;
  345. interrupt-parent = <&gsc>;
  346. interrupts = <4>;
  347. };
  348. eeprom@50 {
  349. compatible = "atmel,24c02";
  350. reg = <0x50>;
  351. pagesize = <16>;
  352. };
  353. eeprom@51 {
  354. compatible = "atmel,24c02";
  355. reg = <0x51>;
  356. pagesize = <16>;
  357. };
  358. eeprom@52 {
  359. compatible = "atmel,24c02";
  360. reg = <0x52>;
  361. pagesize = <16>;
  362. };
  363. eeprom@53 {
  364. compatible = "atmel,24c02";
  365. reg = <0x53>;
  366. pagesize = <16>;
  367. };
  368. rtc@68 {
  369. compatible = "dallas,ds1672";
  370. reg = <0x68>;
  371. };
  372. };
  373. &i2c2 {
  374. clock-frequency = <400000>;
  375. pinctrl-names = "default";
  376. pinctrl-0 = <&pinctrl_i2c2>;
  377. status = "okay";
  378. pmic@4b {
  379. compatible = "rohm,bd71847";
  380. reg = <0x4b>;
  381. pinctrl-names = "default";
  382. pinctrl-0 = <&pinctrl_pmic>;
  383. interrupt-parent = <&gpio3>;
  384. interrupts = <8 IRQ_TYPE_LEVEL_LOW>;
  385. rohm,reset-snvs-powered;
  386. #clock-cells = <0>;
  387. clocks = <&osc_32k 0>;
  388. clock-output-names = "clk-32k-out";
  389. regulators {
  390. /* vdd_soc: 0.805-0.900V (typ=0.8V) */
  391. BUCK1 {
  392. regulator-name = "buck1";
  393. regulator-min-microvolt = <700000>;
  394. regulator-max-microvolt = <1300000>;
  395. regulator-boot-on;
  396. regulator-always-on;
  397. regulator-ramp-delay = <1250>;
  398. };
  399. /* vdd_arm: 0.805-1.0V (typ=0.9V) */
  400. buck2: BUCK2 {
  401. regulator-name = "buck2";
  402. regulator-min-microvolt = <700000>;
  403. regulator-max-microvolt = <1300000>;
  404. regulator-boot-on;
  405. regulator-always-on;
  406. regulator-ramp-delay = <1250>;
  407. rohm,dvs-run-voltage = <1000000>;
  408. rohm,dvs-idle-voltage = <900000>;
  409. };
  410. /* vdd_0p9: 0.805-1.0V (typ=0.9V) */
  411. BUCK3 {
  412. regulator-name = "buck3";
  413. regulator-min-microvolt = <700000>;
  414. regulator-max-microvolt = <1350000>;
  415. regulator-boot-on;
  416. regulator-always-on;
  417. };
  418. /* vdd_3p3 */
  419. BUCK4 {
  420. regulator-name = "buck4";
  421. regulator-min-microvolt = <3000000>;
  422. regulator-max-microvolt = <3300000>;
  423. regulator-boot-on;
  424. regulator-always-on;
  425. };
  426. /* vdd_1p8 */
  427. BUCK5 {
  428. regulator-name = "buck5";
  429. regulator-min-microvolt = <1605000>;
  430. regulator-max-microvolt = <1995000>;
  431. regulator-boot-on;
  432. regulator-always-on;
  433. };
  434. /* vdd_dram */
  435. BUCK6 {
  436. regulator-name = "buck6";
  437. regulator-min-microvolt = <800000>;
  438. regulator-max-microvolt = <1400000>;
  439. regulator-boot-on;
  440. regulator-always-on;
  441. };
  442. /* nvcc_snvs_1p8 */
  443. LDO1 {
  444. regulator-name = "ldo1";
  445. regulator-min-microvolt = <1600000>;
  446. regulator-max-microvolt = <1900000>;
  447. regulator-boot-on;
  448. regulator-always-on;
  449. };
  450. /* vdd_snvs_0p8 */
  451. LDO2 {
  452. regulator-name = "ldo2";
  453. regulator-min-microvolt = <800000>;
  454. regulator-max-microvolt = <900000>;
  455. regulator-boot-on;
  456. regulator-always-on;
  457. };
  458. /* vdda_1p8 */
  459. LDO3 {
  460. regulator-name = "ldo3";
  461. regulator-min-microvolt = <1800000>;
  462. regulator-max-microvolt = <3300000>;
  463. regulator-boot-on;
  464. regulator-always-on;
  465. };
  466. LDO4 {
  467. regulator-name = "ldo4";
  468. regulator-min-microvolt = <900000>;
  469. regulator-max-microvolt = <1800000>;
  470. regulator-boot-on;
  471. regulator-always-on;
  472. };
  473. LDO6 {
  474. regulator-name = "ldo6";
  475. regulator-min-microvolt = <900000>;
  476. regulator-max-microvolt = <1800000>;
  477. regulator-boot-on;
  478. regulator-always-on;
  479. };
  480. };
  481. };
  482. };
  483. &i2c3 {
  484. clock-frequency = <400000>;
  485. pinctrl-names = "default";
  486. pinctrl-0 = <&pinctrl_i2c3>;
  487. status = "okay";
  488. accelerometer@19 {
  489. pinctrl-names = "default";
  490. pinctrl-0 = <&pinctrl_accel>;
  491. compatible = "st,lis2de12";
  492. reg = <0x19>;
  493. st,drdy-int-pin = <1>;
  494. interrupt-parent = <&gpio1>;
  495. interrupts = <15 IRQ_TYPE_LEVEL_LOW>;
  496. interrupt-names = "INT1";
  497. };
  498. };
  499. &i2c4 {
  500. clock-frequency = <400000>;
  501. pinctrl-names = "default";
  502. pinctrl-0 = <&pinctrl_i2c4>;
  503. status = "okay";
  504. gpioled: gpio@27 {
  505. compatible = "nxp,pca9555";
  506. reg = <0x27>;
  507. gpio-controller;
  508. #gpio-cells = <2>;
  509. };
  510. };
  511. &pcie_phy {
  512. fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_INPUT>;
  513. fsl,clkreq-unsupported;
  514. clocks = <&pcie0_refclk>;
  515. clock-names = "ref";
  516. status = "okay";
  517. };
  518. &pcie0 {
  519. pinctrl-names = "default";
  520. pinctrl-0 = <&pinctrl_pcie0>;
  521. reset-gpio = <&gpio5 11 GPIO_ACTIVE_LOW>;
  522. clocks = <&clk IMX8MM_CLK_PCIE1_ROOT>, <&clk IMX8MM_CLK_PCIE1_AUX>,
  523. <&pcie0_refclk>;
  524. clock-names = "pcie", "pcie_aux", "pcie_bus";
  525. assigned-clocks = <&clk IMX8MM_CLK_PCIE1_AUX>,
  526. <&clk IMX8MM_CLK_PCIE1_CTRL>;
  527. assigned-clock-rates = <10000000>, <250000000>;
  528. assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_50M>,
  529. <&clk IMX8MM_SYS_PLL2_250M>;
  530. status = "okay";
  531. };
  532. &disp_blk_ctrl {
  533. status = "disabled";
  534. };
  535. &pgc_mipi {
  536. status = "disabled";
  537. };
  538. /* off-board RS232 */
  539. &uart1 {
  540. pinctrl-names = "default";
  541. pinctrl-0 = <&pinctrl_uart1>;
  542. status = "okay";
  543. };
  544. /* console */
  545. &uart2 {
  546. pinctrl-names = "default";
  547. pinctrl-0 = <&pinctrl_uart2>;
  548. status = "okay";
  549. };
  550. /* off-board RS232 */
  551. &uart3 {
  552. pinctrl-names = "default";
  553. pinctrl-0 = <&pinctrl_uart3>;
  554. status = "okay";
  555. };
  556. &usbotg1 {
  557. dr_mode = "host";
  558. disable-over-current;
  559. status = "okay";
  560. };
  561. /* microSD */
  562. &usdhc2 {
  563. pinctrl-names = "default", "state_100mhz", "state_200mhz";
  564. pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>;
  565. pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>;
  566. pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>;
  567. cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
  568. bus-width = <4>;
  569. vmmc-supply = <&reg_3p3v>;
  570. status = "okay";
  571. };
  572. /* eMMC */
  573. &usdhc3 {
  574. pinctrl-names = "default", "state_100mhz", "state_200mhz";
  575. pinctrl-0 = <&pinctrl_usdhc3>;
  576. pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
  577. pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
  578. bus-width = <8>;
  579. non-removable;
  580. status = "okay";
  581. };
  582. &wdog1 {
  583. pinctrl-names = "default";
  584. pinctrl-0 = <&pinctrl_wdog>;
  585. fsl,ext-reset-output;
  586. status = "okay";
  587. };
  588. &iomuxc {
  589. pinctrl-names = "default";
  590. pinctrl-0 = <&pinctrl_hog>;
  591. pinctrl_hog: hoggrp {
  592. fsl,pins = <
  593. MX8MM_IOMUXC_GPIO1_IO12_GPIO1_IO12 0x40000041 /* RS232# */
  594. MX8MM_IOMUXC_ECSPI2_MISO_GPIO5_IO12 0x40000041 /* PCI_WDIS# */
  595. >;
  596. };
  597. pinctrl_accel: accelgrp {
  598. fsl,pins = <
  599. MX8MM_IOMUXC_GPIO1_IO15_GPIO1_IO15 0x159
  600. >;
  601. };
  602. pinctrl_fec1: fec1grp {
  603. fsl,pins = <
  604. MX8MM_IOMUXC_ENET_MDC_ENET1_MDC 0x3
  605. MX8MM_IOMUXC_ENET_MDIO_ENET1_MDIO 0x3
  606. MX8MM_IOMUXC_ENET_TD3_ENET1_RGMII_TD3 0x1f
  607. MX8MM_IOMUXC_ENET_TD2_ENET1_RGMII_TD2 0x1f
  608. MX8MM_IOMUXC_ENET_TD1_ENET1_RGMII_TD1 0x1f
  609. MX8MM_IOMUXC_ENET_TD0_ENET1_RGMII_TD0 0x1f
  610. MX8MM_IOMUXC_ENET_RD3_ENET1_RGMII_RD3 0x91
  611. MX8MM_IOMUXC_ENET_RD2_ENET1_RGMII_RD2 0x91
  612. MX8MM_IOMUXC_ENET_RD1_ENET1_RGMII_RD1 0x91
  613. MX8MM_IOMUXC_ENET_RD0_ENET1_RGMII_RD0 0x91
  614. MX8MM_IOMUXC_ENET_TXC_ENET1_RGMII_TXC 0x1f
  615. MX8MM_IOMUXC_ENET_RXC_ENET1_RGMII_RXC 0x91
  616. MX8MM_IOMUXC_ENET_RX_CTL_ENET1_RGMII_RX_CTL 0x91
  617. MX8MM_IOMUXC_ENET_TX_CTL_ENET1_RGMII_TX_CTL 0x1f
  618. MX8MM_IOMUXC_SAI2_TXFS_GPIO4_IO24 0x19 /* IRQ# */
  619. MX8MM_IOMUXC_SAI2_TXC_GPIO4_IO25 0x19 /* RST# */
  620. >;
  621. };
  622. pinctrl_gpio_leds: gpioledsgrp {
  623. fsl,pins = <
  624. MX8MM_IOMUXC_GPIO1_IO08_GPIO1_IO8 0x40000019
  625. MX8MM_IOMUXC_GPIO1_IO09_GPIO1_IO9 0x40000019
  626. MX8MM_IOMUXC_GPIO1_IO10_GPIO1_IO10 0x40000019
  627. MX8MM_IOMUXC_GPIO1_IO11_GPIO1_IO11 0x40000019
  628. >;
  629. };
  630. pinctrl_gsc: gscgrp {
  631. fsl,pins = <
  632. MX8MM_IOMUXC_SAI2_TXD0_GPIO4_IO26 0x159
  633. >;
  634. };
  635. pinctrl_i2c1: i2c1grp {
  636. fsl,pins = <
  637. MX8MM_IOMUXC_I2C1_SCL_I2C1_SCL 0x400001c3
  638. MX8MM_IOMUXC_I2C1_SDA_I2C1_SDA 0x400001c3
  639. >;
  640. };
  641. pinctrl_i2c2: i2c2grp {
  642. fsl,pins = <
  643. MX8MM_IOMUXC_I2C2_SCL_I2C2_SCL 0x400001c3
  644. MX8MM_IOMUXC_I2C2_SDA_I2C2_SDA 0x400001c3
  645. >;
  646. };
  647. pinctrl_i2c3: i2c3grp {
  648. fsl,pins = <
  649. MX8MM_IOMUXC_I2C3_SCL_I2C3_SCL 0x400001c3
  650. MX8MM_IOMUXC_I2C3_SDA_I2C3_SDA 0x400001c3
  651. >;
  652. };
  653. pinctrl_i2c4: i2c4grp {
  654. fsl,pins = <
  655. MX8MM_IOMUXC_I2C4_SCL_I2C4_SCL 0x400001c3
  656. MX8MM_IOMUXC_I2C4_SDA_I2C4_SDA 0x400001c3
  657. >;
  658. };
  659. pinctrl_pcie0: pciegrp {
  660. fsl,pins = <
  661. MX8MM_IOMUXC_ECSPI2_MOSI_GPIO5_IO11 0x41
  662. >;
  663. };
  664. pinctrl_pmic: pmicgrp {
  665. fsl,pins = <
  666. MX8MM_IOMUXC_NAND_DATA02_GPIO3_IO8 0x41
  667. >;
  668. };
  669. pinctrl_uart1: uart1grp {
  670. fsl,pins = <
  671. MX8MM_IOMUXC_UART1_RXD_UART1_DCE_RX 0x140
  672. MX8MM_IOMUXC_UART1_TXD_UART1_DCE_TX 0x140
  673. >;
  674. };
  675. pinctrl_uart2: uart2grp {
  676. fsl,pins = <
  677. MX8MM_IOMUXC_UART2_RXD_UART2_DCE_RX 0x140
  678. MX8MM_IOMUXC_UART2_TXD_UART2_DCE_TX 0x140
  679. >;
  680. };
  681. pinctrl_uart3: uart3grp {
  682. fsl,pins = <
  683. MX8MM_IOMUXC_UART3_RXD_UART3_DCE_RX 0x140
  684. MX8MM_IOMUXC_UART3_TXD_UART3_DCE_TX 0x140
  685. >;
  686. };
  687. pinctrl_usdhc2: usdhc2grp {
  688. fsl,pins = <
  689. MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK 0x190
  690. MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD 0x1d0
  691. MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0 0x1d0
  692. MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1 0x1d0
  693. MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2 0x1d0
  694. MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3 0x1d0
  695. >;
  696. };
  697. pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp {
  698. fsl,pins = <
  699. MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK 0x194
  700. MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD 0x1d4
  701. MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0 0x1d4
  702. MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1 0x1d4
  703. MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2 0x1d4
  704. MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3 0x1d4
  705. >;
  706. };
  707. pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp {
  708. fsl,pins = <
  709. MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK 0x196
  710. MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD 0x1d6
  711. MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0 0x1d6
  712. MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1 0x1d6
  713. MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2 0x1d6
  714. MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3 0x1d6
  715. >;
  716. };
  717. pinctrl_usdhc2_gpio: usdhc2-gpiogrp {
  718. fsl,pins = <
  719. MX8MM_IOMUXC_SD2_CD_B_GPIO2_IO12 0x1c4
  720. MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0x1d0
  721. >;
  722. };
  723. pinctrl_usdhc3: usdhc3grp {
  724. fsl,pins = <
  725. MX8MM_IOMUXC_NAND_WE_B_USDHC3_CLK 0x190
  726. MX8MM_IOMUXC_NAND_WP_B_USDHC3_CMD 0x1d0
  727. MX8MM_IOMUXC_NAND_DATA04_USDHC3_DATA0 0x1d0
  728. MX8MM_IOMUXC_NAND_DATA05_USDHC3_DATA1 0x1d0
  729. MX8MM_IOMUXC_NAND_DATA06_USDHC3_DATA2 0x1d0
  730. MX8MM_IOMUXC_NAND_DATA07_USDHC3_DATA3 0x1d0
  731. MX8MM_IOMUXC_NAND_RE_B_USDHC3_DATA4 0x1d0
  732. MX8MM_IOMUXC_NAND_CE2_B_USDHC3_DATA5 0x1d0
  733. MX8MM_IOMUXC_NAND_CE3_B_USDHC3_DATA6 0x1d0
  734. MX8MM_IOMUXC_NAND_CLE_USDHC3_DATA7 0x1d0
  735. MX8MM_IOMUXC_NAND_CE1_B_USDHC3_STROBE 0x190
  736. >;
  737. };
  738. pinctrl_usdhc3_100mhz: usdhc3-100mhzgrp {
  739. fsl,pins = <
  740. MX8MM_IOMUXC_NAND_WE_B_USDHC3_CLK 0x194
  741. MX8MM_IOMUXC_NAND_WP_B_USDHC3_CMD 0x1d4
  742. MX8MM_IOMUXC_NAND_DATA04_USDHC3_DATA0 0x1d4
  743. MX8MM_IOMUXC_NAND_DATA05_USDHC3_DATA1 0x1d4
  744. MX8MM_IOMUXC_NAND_DATA06_USDHC3_DATA2 0x1d4
  745. MX8MM_IOMUXC_NAND_DATA07_USDHC3_DATA3 0x1d4
  746. MX8MM_IOMUXC_NAND_RE_B_USDHC3_DATA4 0x1d4
  747. MX8MM_IOMUXC_NAND_CE2_B_USDHC3_DATA5 0x1d4
  748. MX8MM_IOMUXC_NAND_CE3_B_USDHC3_DATA6 0x1d4
  749. MX8MM_IOMUXC_NAND_CLE_USDHC3_DATA7 0x1d4
  750. MX8MM_IOMUXC_NAND_CE1_B_USDHC3_STROBE 0x194
  751. >;
  752. };
  753. pinctrl_usdhc3_200mhz: usdhc3-200mhzgrp {
  754. fsl,pins = <
  755. MX8MM_IOMUXC_NAND_WE_B_USDHC3_CLK 0x196
  756. MX8MM_IOMUXC_NAND_WP_B_USDHC3_CMD 0x1d6
  757. MX8MM_IOMUXC_NAND_DATA04_USDHC3_DATA0 0x1d6
  758. MX8MM_IOMUXC_NAND_DATA05_USDHC3_DATA1 0x1d6
  759. MX8MM_IOMUXC_NAND_DATA06_USDHC3_DATA2 0x1d6
  760. MX8MM_IOMUXC_NAND_DATA07_USDHC3_DATA3 0x1d6
  761. MX8MM_IOMUXC_NAND_RE_B_USDHC3_DATA4 0x1d6
  762. MX8MM_IOMUXC_NAND_CE2_B_USDHC3_DATA5 0x1d6
  763. MX8MM_IOMUXC_NAND_CE3_B_USDHC3_DATA6 0x1d6
  764. MX8MM_IOMUXC_NAND_CLE_USDHC3_DATA7 0x1d6
  765. MX8MM_IOMUXC_NAND_CE1_B_USDHC3_STROBE 0x196
  766. >;
  767. };
  768. pinctrl_wdog: wdoggrp {
  769. fsl,pins = <
  770. MX8MM_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B 0xc6
  771. >;
  772. };
  773. };