imx6qdl-gw5904.dtsi 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815
  1. /*
  2. * Copyright 2017 Gateworks Corporation
  3. *
  4. * This file is dual-licensed: you can use it either under the terms
  5. * of the GPL or the X11 license, at your option. Note that this dual
  6. * licensing only applies to this file, and not this project as a
  7. * whole.
  8. *
  9. * a) This file is free software; you can redistribute it and/or
  10. * modify it under the terms of the GNU General Public License as
  11. * published by the Free Software Foundation; either version 2 of
  12. * the License, or (at your option) any later version.
  13. *
  14. * This file is distributed in the hope that it will be useful,
  15. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  17. * GNU General Public License for more details.
  18. *
  19. * You should have received a copy of the GNU General Public
  20. * License along with this file; if not, write to the Free
  21. * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
  22. * MA 02110-1301 USA
  23. *
  24. * Or, alternatively,
  25. *
  26. * b) Permission is hereby granted, free of charge, to any person
  27. * obtaining a copy of this software and associated documentation
  28. * files (the "Software"), to deal in the Software without
  29. * restriction, including without limitation the rights to use,
  30. * copy, modify, merge, publish, distribute, sublicense, and/or
  31. * sell copies of the Software, and to permit persons to whom the
  32. * Software is furnished to do so, subject to the following
  33. * conditions:
  34. *
  35. * The above copyright notice and this permission notice shall be
  36. * included in all copies or substantial portions of the Software.
  37. *
  38. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  39. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
  40. * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  41. * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
  42. * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
  43. * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  44. * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  45. * OTHER DEALINGS IN THE SOFTWARE.
  46. */
  47. #include <dt-bindings/gpio/gpio.h>
  48. #include <dt-bindings/input/linux-event-codes.h>
  49. #include <dt-bindings/interrupt-controller/irq.h>
  50. / {
  51. /* these are used by bootloader for disabling nodes */
  52. aliases {
  53. led0 = &led0;
  54. led1 = &led1;
  55. led2 = &led2;
  56. usb0 = &usbh1;
  57. usb1 = &usbotg;
  58. };
  59. chosen {
  60. stdout-path = &uart2;
  61. };
  62. backlight {
  63. compatible = "pwm-backlight";
  64. pwms = <&pwm4 0 5000000>;
  65. brightness-levels = <0 4 8 16 32 64 128 255>;
  66. default-brightness-level = <7>;
  67. };
  68. gpio-keys {
  69. compatible = "gpio-keys";
  70. user-pb {
  71. label = "user_pb";
  72. gpios = <&gsc_gpio 0 GPIO_ACTIVE_LOW>;
  73. linux,code = <BTN_0>;
  74. };
  75. user-pb1x {
  76. label = "user_pb1x";
  77. linux,code = <BTN_1>;
  78. interrupt-parent = <&gsc>;
  79. interrupts = <0>;
  80. };
  81. key-erased {
  82. label = "key-erased";
  83. linux,code = <BTN_2>;
  84. interrupt-parent = <&gsc>;
  85. interrupts = <1>;
  86. };
  87. eeprom-wp {
  88. label = "eeprom_wp";
  89. linux,code = <BTN_3>;
  90. interrupt-parent = <&gsc>;
  91. interrupts = <2>;
  92. };
  93. tamper {
  94. label = "tamper";
  95. linux,code = <BTN_4>;
  96. interrupt-parent = <&gsc>;
  97. interrupts = <5>;
  98. };
  99. switch-hold {
  100. label = "switch_hold";
  101. linux,code = <BTN_5>;
  102. interrupt-parent = <&gsc>;
  103. interrupts = <7>;
  104. };
  105. };
  106. leds {
  107. compatible = "gpio-leds";
  108. pinctrl-names = "default";
  109. pinctrl-0 = <&pinctrl_gpio_leds>;
  110. led0: led-user1 {
  111. label = "user1";
  112. gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDG */
  113. default-state = "on";
  114. linux,default-trigger = "heartbeat";
  115. };
  116. led1: led-user2 {
  117. label = "user2";
  118. gpios = <&gpio4 7 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDR */
  119. default-state = "off";
  120. };
  121. led2: led-user3 {
  122. label = "user3";
  123. gpios = <&gpio4 15 GPIO_ACTIVE_LOW>; /* MX6_LOCLED# */
  124. default-state = "off";
  125. };
  126. };
  127. memory@10000000 {
  128. device_type = "memory";
  129. reg = <0x10000000 0x40000000>;
  130. };
  131. pps {
  132. compatible = "pps-gpio";
  133. pinctrl-names = "default";
  134. pinctrl-0 = <&pinctrl_pps>;
  135. gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>;
  136. };
  137. reg_1p0v: regulator-1p0v {
  138. compatible = "regulator-fixed";
  139. regulator-name = "1P0V";
  140. regulator-min-microvolt = <1000000>;
  141. regulator-max-microvolt = <1000000>;
  142. regulator-always-on;
  143. };
  144. reg_3p3v: regulator-3p3v {
  145. compatible = "regulator-fixed";
  146. regulator-name = "3P3V";
  147. regulator-min-microvolt = <3300000>;
  148. regulator-max-microvolt = <3300000>;
  149. regulator-always-on;
  150. };
  151. reg_usb_h1_vbus: regulator-usb-h1-vbus {
  152. compatible = "regulator-fixed";
  153. regulator-name = "usb_h1_vbus";
  154. regulator-min-microvolt = <5000000>;
  155. regulator-max-microvolt = <5000000>;
  156. regulator-always-on;
  157. };
  158. reg_usb_otg_vbus: regulator-usb-otg-vbus {
  159. compatible = "regulator-fixed";
  160. regulator-name = "usb_otg_vbus";
  161. regulator-min-microvolt = <5000000>;
  162. regulator-max-microvolt = <5000000>;
  163. gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
  164. enable-active-high;
  165. };
  166. };
  167. &clks {
  168. assigned-clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>,
  169. <&clks IMX6QDL_CLK_LDB_DI1_SEL>;
  170. assigned-clock-parents = <&clks IMX6QDL_CLK_PLL3_USB_OTG>,
  171. <&clks IMX6QDL_CLK_PLL3_USB_OTG>;
  172. };
  173. &fec {
  174. pinctrl-names = "default";
  175. pinctrl-0 = <&pinctrl_enet>;
  176. phy-mode = "rgmii-id";
  177. status = "okay";
  178. fixed-link {
  179. speed = <1000>;
  180. full-duplex;
  181. };
  182. mdio {
  183. #address-cells = <1>;
  184. #size-cells = <0>;
  185. switch@0 {
  186. compatible = "marvell,mv88e6085";
  187. reg = <0>;
  188. ports {
  189. #address-cells = <1>;
  190. #size-cells = <0>;
  191. port@0 {
  192. reg = <0>;
  193. label = "lan4";
  194. };
  195. port@1 {
  196. reg = <1>;
  197. label = "lan3";
  198. };
  199. port@2 {
  200. reg = <2>;
  201. label = "lan2";
  202. };
  203. port@3 {
  204. reg = <3>;
  205. label = "lan1";
  206. };
  207. port@5 {
  208. reg = <5>;
  209. label = "cpu";
  210. ethernet = <&fec>;
  211. };
  212. };
  213. };
  214. };
  215. };
  216. &i2c1 {
  217. clock-frequency = <100000>;
  218. pinctrl-names = "default";
  219. pinctrl-0 = <&pinctrl_i2c1>;
  220. status = "okay";
  221. gsc: gsc@20 {
  222. compatible = "gw,gsc";
  223. reg = <0x20>;
  224. interrupt-parent = <&gpio1>;
  225. interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
  226. interrupt-controller;
  227. #interrupt-cells = <1>;
  228. #size-cells = <0>;
  229. adc {
  230. compatible = "gw,gsc-adc";
  231. #address-cells = <1>;
  232. #size-cells = <0>;
  233. channel@0 {
  234. gw,mode = <0>;
  235. reg = <0x00>;
  236. label = "temp";
  237. };
  238. channel@2 {
  239. gw,mode = <1>;
  240. reg = <0x02>;
  241. label = "vdd_vin";
  242. };
  243. channel@5 {
  244. gw,mode = <1>;
  245. reg = <0x05>;
  246. label = "vdd_3p3";
  247. };
  248. channel@8 {
  249. gw,mode = <1>;
  250. reg = <0x08>;
  251. label = "vdd_bat";
  252. };
  253. channel@b {
  254. gw,mode = <1>;
  255. reg = <0x0b>;
  256. label = "vdd_5p0";
  257. };
  258. channel@e {
  259. gw,mode = <1>;
  260. reg = <0xe>;
  261. label = "vdd_arm";
  262. };
  263. channel@11 {
  264. gw,mode = <1>;
  265. reg = <0x11>;
  266. label = "vdd_soc";
  267. };
  268. channel@14 {
  269. gw,mode = <1>;
  270. reg = <0x14>;
  271. label = "vdd_3p0";
  272. };
  273. channel@17 {
  274. gw,mode = <1>;
  275. reg = <0x17>;
  276. label = "vdd_1p5";
  277. };
  278. channel@1d {
  279. gw,mode = <1>;
  280. reg = <0x1d>;
  281. label = "vdd_1p8";
  282. };
  283. channel@20 {
  284. gw,mode = <1>;
  285. reg = <0x20>;
  286. label = "vdd_an1";
  287. };
  288. channel@23 {
  289. gw,mode = <1>;
  290. reg = <0x23>;
  291. label = "vdd_2p5";
  292. };
  293. };
  294. };
  295. gsc_gpio: gpio@23 {
  296. compatible = "nxp,pca9555";
  297. reg = <0x23>;
  298. gpio-controller;
  299. #gpio-cells = <2>;
  300. interrupt-parent = <&gsc>;
  301. interrupts = <4>;
  302. };
  303. eeprom1: eeprom@50 {
  304. compatible = "atmel,24c02";
  305. reg = <0x50>;
  306. pagesize = <16>;
  307. };
  308. eeprom2: eeprom@51 {
  309. compatible = "atmel,24c02";
  310. reg = <0x51>;
  311. pagesize = <16>;
  312. };
  313. eeprom3: eeprom@52 {
  314. compatible = "atmel,24c02";
  315. reg = <0x52>;
  316. pagesize = <16>;
  317. };
  318. eeprom4: eeprom@53 {
  319. compatible = "atmel,24c02";
  320. reg = <0x53>;
  321. pagesize = <16>;
  322. };
  323. dts1672: rtc@68 {
  324. compatible = "dallas,ds1672";
  325. reg = <0x68>;
  326. };
  327. };
  328. &i2c2 {
  329. clock-frequency = <100000>;
  330. pinctrl-names = "default";
  331. pinctrl-0 = <&pinctrl_i2c2>;
  332. status = "okay";
  333. magn@1c {
  334. compatible = "st,lsm9ds1-magn";
  335. reg = <0x1c>;
  336. pinctrl-names = "default";
  337. pinctrl-0 = <&pinctrl_mag>;
  338. interrupt-parent = <&gpio5>;
  339. interrupts = <17 IRQ_TYPE_EDGE_RISING>;
  340. };
  341. ltc3676: pmic@3c {
  342. compatible = "lltc,ltc3676";
  343. reg = <0x3c>;
  344. interrupt-parent = <&gpio1>;
  345. interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
  346. regulators {
  347. /* VDD_SOC (1+R1/R2 = 1.635) */
  348. reg_vdd_soc: sw1 {
  349. regulator-name = "vddsoc";
  350. regulator-min-microvolt = <674400>;
  351. regulator-max-microvolt = <1308000>;
  352. lltc,fb-voltage-divider = <127000 200000>;
  353. regulator-ramp-delay = <7000>;
  354. regulator-boot-on;
  355. regulator-always-on;
  356. };
  357. /* VDD_1P8 (1+R1/R2 = 2.505): GbE switch */
  358. reg_1p8v: sw2 {
  359. regulator-name = "vdd1p8";
  360. regulator-min-microvolt = <1033310>;
  361. regulator-max-microvolt = <2004000>;
  362. lltc,fb-voltage-divider = <301000 200000>;
  363. regulator-ramp-delay = <7000>;
  364. regulator-boot-on;
  365. regulator-always-on;
  366. };
  367. /* VDD_ARM (1+R1/R2 = 1.635) */
  368. reg_vdd_arm: sw3 {
  369. regulator-name = "vddarm";
  370. regulator-min-microvolt = <674400>;
  371. regulator-max-microvolt = <1308000>;
  372. lltc,fb-voltage-divider = <127000 200000>;
  373. regulator-ramp-delay = <7000>;
  374. regulator-boot-on;
  375. regulator-always-on;
  376. };
  377. /* VDD_DDR (1+R1/R2 = 2.105) */
  378. reg_vdd_ddr: sw4 {
  379. regulator-name = "vddddr";
  380. regulator-min-microvolt = <868310>;
  381. regulator-max-microvolt = <1684000>;
  382. lltc,fb-voltage-divider = <221000 200000>;
  383. regulator-ramp-delay = <7000>;
  384. regulator-boot-on;
  385. regulator-always-on;
  386. };
  387. /* VDD_2P5 (1+R1/R2 = 3.435): PCIe/ENET-PHY */
  388. reg_2p5v: ldo2 {
  389. regulator-name = "vdd2p5";
  390. regulator-min-microvolt = <2490375>;
  391. regulator-max-microvolt = <2490375>;
  392. lltc,fb-voltage-divider = <487000 200000>;
  393. regulator-boot-on;
  394. regulator-always-on;
  395. };
  396. /* VDD_HIGH (1+R1/R2 = 4.17) */
  397. reg_3p0v: ldo4 {
  398. regulator-name = "vdd3p0";
  399. regulator-min-microvolt = <3023250>;
  400. regulator-max-microvolt = <3023250>;
  401. lltc,fb-voltage-divider = <634000 200000>;
  402. regulator-boot-on;
  403. regulator-always-on;
  404. };
  405. };
  406. };
  407. crypto@60 {
  408. compatible = "atmel,atecc508a";
  409. reg = <0x60>;
  410. };
  411. imu@6a {
  412. compatible = "st,lsm9ds1-imu";
  413. reg = <0x6a>;
  414. st,drdy-int-pin = <1>;
  415. pinctrl-names = "default";
  416. pinctrl-0 = <&pinctrl_imu>;
  417. interrupt-parent = <&gpio4>;
  418. interrupts = <18 IRQ_TYPE_LEVEL_HIGH>;
  419. };
  420. };
  421. &i2c3 {
  422. clock-frequency = <100000>;
  423. pinctrl-names = "default";
  424. pinctrl-0 = <&pinctrl_i2c3>;
  425. status = "okay";
  426. egalax_ts: touchscreen@4 {
  427. compatible = "eeti,egalax_ts";
  428. reg = <0x04>;
  429. interrupt-parent = <&gpio1>;
  430. interrupts = <11 IRQ_TYPE_EDGE_FALLING>;
  431. wakeup-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
  432. };
  433. };
  434. &ldb {
  435. status = "okay";
  436. lvds-channel@0 {
  437. fsl,data-mapping = "spwg";
  438. fsl,data-width = <18>;
  439. status = "okay";
  440. display-timings {
  441. native-mode = <&timing0>;
  442. timing0: hsd100pxn1 {
  443. clock-frequency = <65000000>;
  444. hactive = <1024>;
  445. vactive = <768>;
  446. hback-porch = <220>;
  447. hfront-porch = <40>;
  448. vback-porch = <21>;
  449. vfront-porch = <7>;
  450. hsync-len = <60>;
  451. vsync-len = <10>;
  452. };
  453. };
  454. };
  455. };
  456. &pcie {
  457. pinctrl-names = "default";
  458. pinctrl-0 = <&pinctrl_pcie>;
  459. reset-gpio = <&gpio1 0 GPIO_ACTIVE_LOW>;
  460. status = "okay";
  461. };
  462. &pwm2 {
  463. pinctrl-names = "default";
  464. pinctrl-0 = <&pinctrl_pwm2>; /* MX6_DIO1 */
  465. status = "disabled";
  466. };
  467. &pwm3 {
  468. pinctrl-names = "default";
  469. pinctrl-0 = <&pinctrl_pwm3>; /* MX6_DIO2 */
  470. status = "disabled";
  471. };
  472. &pwm4 {
  473. #pwm-cells = <2>;
  474. pinctrl-names = "default";
  475. pinctrl-0 = <&pinctrl_pwm4>;
  476. status = "okay";
  477. };
  478. &uart1 {
  479. pinctrl-names = "default";
  480. pinctrl-0 = <&pinctrl_uart1>;
  481. status = "okay";
  482. };
  483. &uart2 {
  484. pinctrl-names = "default";
  485. pinctrl-0 = <&pinctrl_uart2>;
  486. status = "okay";
  487. };
  488. &uart3 {
  489. pinctrl-names = "default";
  490. pinctrl-0 = <&pinctrl_uart3>;
  491. uart-has-rtscts;
  492. status = "okay";
  493. };
  494. &uart4 {
  495. pinctrl-names = "default";
  496. pinctrl-0 = <&pinctrl_uart4>;
  497. uart-has-rtscts;
  498. status = "okay";
  499. };
  500. &uart5 {
  501. pinctrl-names = "default";
  502. pinctrl-0 = <&pinctrl_uart5>;
  503. status = "okay";
  504. };
  505. &usbotg {
  506. vbus-supply = <&reg_usb_otg_vbus>;
  507. pinctrl-names = "default";
  508. pinctrl-0 = <&pinctrl_usbotg>;
  509. disable-over-current;
  510. status = "okay";
  511. };
  512. &usbh1 {
  513. vbus-supply = <&reg_usb_h1_vbus>;
  514. status = "okay";
  515. };
  516. &usdhc3 {
  517. pinctrl-names = "default", "state_100mhz", "state_200mhz";
  518. pinctrl-0 = <&pinctrl_usdhc3>;
  519. pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
  520. pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
  521. non-removable;
  522. vmmc-supply = <&reg_3p3v>;
  523. keep-power-in-suspend;
  524. status = "okay";
  525. };
  526. &wdog1 {
  527. pinctrl-names = "default";
  528. pinctrl-0 = <&pinctrl_wdog>;
  529. fsl,ext-reset-output;
  530. };
  531. &iomuxc {
  532. pinctrl_enet: enetgrp {
  533. fsl,pins = <
  534. MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b030
  535. MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b030
  536. MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b030
  537. MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b030
  538. MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b030
  539. MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b030
  540. MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x1b030
  541. MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x1b030
  542. MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x1b030
  543. MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x1b030
  544. MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x1b030
  545. MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x1b030
  546. MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x1b0b0
  547. MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0
  548. MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0
  549. MX6QDL_PAD_GPIO_16__ENET_REF_CLK 0x4001b0a8
  550. MX6QDL_PAD_ENET_TXD0__GPIO1_IO30 0x4001b0b0 /* PHY_RST# */
  551. >;
  552. };
  553. pinctrl_gpio_leds: gpioledsgrp {
  554. fsl,pins = <
  555. MX6QDL_PAD_KEY_COL0__GPIO4_IO06 0x1b0b0
  556. MX6QDL_PAD_KEY_ROW0__GPIO4_IO07 0x1b0b0
  557. MX6QDL_PAD_KEY_ROW4__GPIO4_IO15 0x1b0b0
  558. >;
  559. };
  560. pinctrl_i2c1: i2c1grp {
  561. fsl,pins = <
  562. MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1
  563. MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1
  564. MX6QDL_PAD_GPIO_4__GPIO1_IO04 0x0001b0b0 /* GSC_IRQ# */
  565. >;
  566. };
  567. pinctrl_i2c2: i2c2grp {
  568. fsl,pins = <
  569. MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1
  570. MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1
  571. >;
  572. };
  573. pinctrl_i2c3: i2c3grp {
  574. fsl,pins = <
  575. MX6QDL_PAD_GPIO_3__I2C3_SCL 0x4001b8b1
  576. MX6QDL_PAD_GPIO_6__I2C3_SDA 0x4001b8b1
  577. >;
  578. };
  579. pinctrl_imu: imugrp {
  580. fsl,pins = <
  581. MX6QDL_PAD_DI0_PIN2__GPIO4_IO18 0x1b0b0
  582. >;
  583. };
  584. pinctrl_mag: maggrp {
  585. fsl,pins = <
  586. MX6QDL_PAD_DISP0_DAT23__GPIO5_IO17 0x1b0b0
  587. >;
  588. };
  589. pinctrl_pcie: pciegrp {
  590. fsl,pins = <
  591. MX6QDL_PAD_GPIO_0__GPIO1_IO00 0x1b0b0 /* PCIE RST */
  592. >;
  593. };
  594. pinctrl_pmic: pmicgrp {
  595. fsl,pins = <
  596. MX6QDL_PAD_GPIO_8__GPIO1_IO08 0x1b0b0 /* PMIC_IRQ# */
  597. >;
  598. };
  599. pinctrl_pps: ppsgrp {
  600. fsl,pins = <
  601. MX6QDL_PAD_ENET_RXD1__GPIO1_IO26 0x1b0b1
  602. >;
  603. };
  604. pinctrl_pwm2: pwm2grp {
  605. fsl,pins = <
  606. MX6QDL_PAD_SD1_DAT2__PWM2_OUT 0x1b0b1
  607. >;
  608. };
  609. pinctrl_pwm3: pwm3grp {
  610. fsl,pins = <
  611. MX6QDL_PAD_SD1_DAT1__PWM3_OUT 0x1b0b1
  612. >;
  613. };
  614. pinctrl_pwm4: pwm4grp {
  615. fsl,pins = <
  616. MX6QDL_PAD_SD1_CMD__PWM4_OUT 0x1b0b1
  617. >;
  618. };
  619. pinctrl_uart1: uart1grp {
  620. fsl,pins = <
  621. MX6QDL_PAD_CSI0_DAT10__UART1_TX_DATA 0x1b0b1
  622. MX6QDL_PAD_CSI0_DAT11__UART1_RX_DATA 0x1b0b1
  623. >;
  624. };
  625. pinctrl_uart2: uart2grp {
  626. fsl,pins = <
  627. MX6QDL_PAD_SD4_DAT7__UART2_TX_DATA 0x1b0b1
  628. MX6QDL_PAD_SD4_DAT4__UART2_RX_DATA 0x1b0b1
  629. >;
  630. };
  631. pinctrl_uart3: uart3grp {
  632. fsl,pins = <
  633. MX6QDL_PAD_EIM_D23__UART3_CTS_B 0x1b0b1
  634. MX6QDL_PAD_EIM_D24__UART3_TX_DATA 0x1b0b1
  635. MX6QDL_PAD_EIM_D25__UART3_RX_DATA 0x1b0b1
  636. MX6QDL_PAD_EIM_D31__UART3_RTS_B 0x1b0b1
  637. >;
  638. };
  639. pinctrl_uart4: uart4grp {
  640. fsl,pins = <
  641. MX6QDL_PAD_CSI0_DAT12__UART4_TX_DATA 0x1b0b1
  642. MX6QDL_PAD_CSI0_DAT13__UART4_RX_DATA 0x1b0b1
  643. MX6QDL_PAD_CSI0_DAT16__UART4_RTS_B 0x1b0b1
  644. MX6QDL_PAD_CSI0_DAT17__UART4_CTS_B 0x1b0b1
  645. >;
  646. };
  647. pinctrl_uart5: uart5grp {
  648. fsl,pins = <
  649. MX6QDL_PAD_KEY_COL1__UART5_TX_DATA 0x1b0b1
  650. MX6QDL_PAD_KEY_ROW1__UART5_RX_DATA 0x1b0b1
  651. >;
  652. };
  653. pinctrl_usbotg: usbotggrp {
  654. fsl,pins = <
  655. MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059
  656. MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x1b0b0 /* PWR_EN */
  657. MX6QDL_PAD_KEY_COL4__GPIO4_IO14 0x1b0b0 /* OC */
  658. >;
  659. };
  660. pinctrl_usdhc3: usdhc3grp {
  661. fsl,pins = <
  662. MX6QDL_PAD_SD3_CMD__SD3_CMD 0x17059
  663. MX6QDL_PAD_SD3_CLK__SD3_CLK 0x10059
  664. MX6QDL_PAD_SD3_RST__SD3_RESET 0x10059
  665. MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x17059
  666. MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059
  667. MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059
  668. MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059
  669. MX6QDL_PAD_SD3_DAT4__SD3_DATA4 0x17059
  670. MX6QDL_PAD_SD3_DAT5__SD3_DATA5 0x17059
  671. MX6QDL_PAD_SD3_DAT6__SD3_DATA6 0x17059
  672. MX6QDL_PAD_SD3_DAT7__SD3_DATA7 0x17059
  673. >;
  674. };
  675. pinctrl_usdhc3_100mhz: usdhc3grp100mhz {
  676. fsl,pins = <
  677. MX6QDL_PAD_SD3_CMD__SD3_CMD 0x170b9
  678. MX6QDL_PAD_SD3_CLK__SD3_CLK 0x100b9
  679. MX6QDL_PAD_SD3_RST__SD3_RESET 0x100b9
  680. MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x170b9
  681. MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x170b9
  682. MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x170b9
  683. MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x170b9
  684. MX6QDL_PAD_SD3_DAT4__SD3_DATA4 0x170b9
  685. MX6QDL_PAD_SD3_DAT5__SD3_DATA5 0x170b9
  686. MX6QDL_PAD_SD3_DAT6__SD3_DATA6 0x170b9
  687. MX6QDL_PAD_SD3_DAT7__SD3_DATA7 0x170b9
  688. >;
  689. };
  690. pinctrl_usdhc3_200mhz: usdhc3grp200mhz {
  691. fsl,pins = <
  692. MX6QDL_PAD_SD3_CMD__SD3_CMD 0x170f9
  693. MX6QDL_PAD_SD3_CLK__SD3_CLK 0x100f9
  694. MX6QDL_PAD_SD3_RST__SD3_RESET 0x100f9
  695. MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x170f9
  696. MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x170f9
  697. MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x170f9
  698. MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x170f9
  699. MX6QDL_PAD_SD3_DAT4__SD3_DATA4 0x170f9
  700. MX6QDL_PAD_SD3_DAT5__SD3_DATA5 0x170f9
  701. MX6QDL_PAD_SD3_DAT6__SD3_DATA6 0x170f9
  702. MX6QDL_PAD_SD3_DAT7__SD3_DATA7 0x170f9
  703. >;
  704. };
  705. pinctrl_wdog: wdoggrp {
  706. fsl,pins = <
  707. MX6QDL_PAD_DISP0_DAT8__WDOG1_B 0x1b0b0
  708. >;
  709. };
  710. };