~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/nxp/imx/imx6dl-colibri-iris.dts

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
  2 /*
  3  * Copyright 2022 Toradex
  4  */
  5 
  6 /dts-v1/;
  7 
  8 #include <dt-bindings/input/input.h>
  9 #include <dt-bindings/interrupt-controller/irq.h>
 10 #include "imx6dl.dtsi"
 11 #include "imx6qdl-colibri.dtsi"
 12 
 13 / {
 14         model = "Toradex Colibri iMX6DL/S on Colibri Iris Board";
 15         compatible = "toradex,colibri_imx6dl-iris", "toradex,colibri_imx6dl",
 16                      "fsl,imx6dl";
 17 
 18         aliases {
 19                 i2c0 = &i2c2;
 20                 i2c1 = &i2c3;
 21         };
 22 
 23         aliases {
 24                 rtc0 = &rtc_i2c;
 25                 rtc1 = &snvs_rtc;
 26         };
 27 
 28         chosen {
 29                 stdout-path = "serial0:115200n8";
 30         };
 31 };
 32 
 33 /* Colibri SSP */
 34 &ecspi4 {
 35         status = "okay";
 36 };
 37 
 38 &gpio2 {
 39         pinctrl-names = "default";
 40         pinctrl-0 = <&pinctrl_uart1_forceoff &pinctrl_uart23_forceoff>;
 41 
 42         /*
 43          * uart-a-on-x13-enable turns the UART transceiver for UART_A on. If one
 44          * wants to turn the transceiver off, that property has to be deleted
 45          * and the gpio handled in userspace.
 46          * The same applies to uart-b-c-on-x14-enable where the UART_B and
 47          * UART_C transceiver is turned on.
 48          */
 49         uart-a-on-x13-enable-hog {
 50                 gpio-hog;
 51                 gpios = <4 GPIO_ACTIVE_HIGH>; /* SODIMM 102 */
 52                 output-high;
 53         };
 54 
 55         uart-b-c-on-x14-enable-hog {
 56                 gpio-hog;
 57                 gpios = <8 GPIO_ACTIVE_HIGH>; /* SODIMM 104 */
 58                 output-high;
 59         };
 60 };
 61 
 62 /*
 63  * Colibri I2C: I2C3_SDA/SCL on SODIMM 194/196 (e.g. RTC on carrier board)
 64  */
 65 &i2c3 {
 66         status = "okay";
 67 
 68         rtc_i2c: rtc@68 {
 69                 compatible = "st,m41t0";
 70                 reg = <0x68>;
 71         };
 72 };
 73 
 74 &iomuxc {
 75         pinctrl-names = "default";
 76         pinctrl-0 = <
 77                 &pinctrl_gpio_iris
 78                 &pinctrl_usbh_oc_1
 79                 &pinctrl_usbc_id_1
 80         >;
 81 
 82         pinctrl_gpio_iris: gpioirisgrp {
 83                 fsl,pins = <
 84                         MX6QDL_PAD_EIM_A17__GPIO2_IO21  0x1b0b0
 85                         MX6QDL_PAD_EIM_A18__GPIO2_IO20  0x1b0b0
 86                         MX6QDL_PAD_EIM_A19__GPIO2_IO19  0x1b0b0
 87                         MX6QDL_PAD_EIM_A20__GPIO2_IO18  0x1b0b0
 88                         MX6QDL_PAD_EIM_A23__GPIO6_IO06  0x1b0b0
 89                         MX6QDL_PAD_EIM_D27__GPIO3_IO27  0x1b0b0
 90                         MX6QDL_PAD_NANDF_D3__GPIO2_IO03 0x1b0b0
 91                         MX6QDL_PAD_SD2_DAT0__GPIO1_IO15 0x1b0b0
 92                 >;
 93         };
 94 
 95         pinctrl_uart1_forceoff: uart1forceoffgrp {
 96                 fsl,pins = <
 97                         MX6QDL_PAD_NANDF_D4__GPIO2_IO04 0x1b0b0
 98                 >;
 99         };
100 
101         pinctrl_uart23_forceoff: uart23forceoffgrp {
102                 fsl,pins = <
103                         MX6QDL_PAD_SD4_DAT0__GPIO2_IO08 0x1b0b0
104                 >;
105         };
106 };
107 
108 &pwm1 {
109         status = "okay";
110 };
111 
112 &pwm2 {
113         status = "okay";
114 };
115 
116 &pwm3 {
117         status = "okay";
118 };
119 
120 &pwm4 {
121         status = "okay";
122 };
123 
124 &reg_usb_host_vbus {
125         status = "okay";
126 };
127 
128 &uart1 {
129         status = "okay";
130 };
131 
132 &uart2 {
133         status = "okay";
134 };
135 
136 &uart3 {
137         status = "okay";
138 };
139 
140 &usbh1 {
141         disable-over-current;
142         status = "okay";
143 };
144 
145 &usbotg {
146         disable-over-current;
147         status = "okay";
148 };
149 
150 /* Colibri MMC */
151 &usdhc1 {
152         status = "okay";
153 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php