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