1// SPDX-License-Identifier: GPL-2.0-or-later OR MIT 2/* 3 * Copyright 2018-2021 Toradex 4 */ 5 6/ { 7 aliases { 8 rtc0 = &rtc_i2c; 9 rtc1 = &rtc; 10 }; 11 12 reg_3v3: regulator-3v3 { 13 compatible = "regulator-fixed"; 14 regulator-max-microvolt = <3300000>; 15 regulator-min-microvolt = <3300000>; 16 regulator-name = "3.3V"; 17 }; 18}; 19 20/* Colibri Analogue Inputs */ 21&adc0 { 22 status = "okay"; 23}; 24 25/* Colibri PWM_A */ 26&adma_pwm { 27 status = "okay"; 28}; 29 30&colibri_gpio_keys { 31 status = "okay"; 32}; 33 34&extcon_usbc_det { 35 status = "okay"; 36}; 37 38/* Colibri FastEthernet */ 39&fec1 { 40 status = "okay"; 41}; 42 43/* Colibri I2C */ 44&i2c1 { 45 status = "okay"; 46 47 /* M41T0M6 real time clock on carrier board */ 48 rtc_i2c: rtc@68 { 49 compatible = "st,m41t0"; 50 reg = <0x68>; 51 }; 52}; 53 54&iomuxc { 55 pinctrl-names = "default"; 56 pinctrl-0 = <&pinctrl_gpio_iris>; 57 58 pinctrl_gpio_iris: gpioirisgrp { 59 fsl,pins = <IMX8QXP_QSPI0B_DATA3_LSIO_GPIO3_IO21 0x20>, /* SODIMM 98 */ 60 <IMX8QXP_USB_SS3_TC1_LSIO_GPIO4_IO04 0x20>, /* SODIMM 133 */ 61 <IMX8QXP_SAI0_TXD_LSIO_GPIO0_IO25 0x20>, /* SODIMM 103 */ 62 <IMX8QXP_SAI0_TXFS_LSIO_GPIO0_IO28 0x20>, /* SODIMM 101 */ 63 <IMX8QXP_SAI0_RXD_LSIO_GPIO0_IO27 0x20>, /* SODIMM 97 */ 64 <IMX8QXP_ENET0_RGMII_RXC_LSIO_GPIO5_IO03 0x06000020>, /* SODIMM 85 */ 65 <IMX8QXP_SAI0_TXC_LSIO_GPIO0_IO26 0x20>; /* SODIMM 79 */ 66 }; 67 68 pinctrl_uart1_forceoff: uart1forceoffgrp { 69 fsl,pins = <IMX8QXP_QSPI0A_SS0_B_LSIO_GPIO3_IO14 0x20>; /* SODIMM 22 */ 70 }; 71 72 pinctrl_uart23_forceoff: uart23forceoffgrp { 73 fsl,pins = <IMX8QXP_MIPI_DSI1_GPIO0_01_LSIO_GPIO2_IO00 0x20>; /* SODIMM 23 */ 74 }; 75}; 76 77/* Colibri SPI */ 78&lpspi2 { 79 status = "okay"; 80}; 81 82/* Colibri UART_B */ 83&lpuart0 { 84 status = "okay"; 85}; 86 87/* Colibri UART_C */ 88&lpuart2 { 89 status = "okay"; 90}; 91 92/* Colibri UART_A */ 93&lpuart3 { 94 status = "okay"; 95}; 96 97&lsio_gpio3 { 98 /* 99 * This turns the LVDS transceiver on. If one wants to turn the 100 * transceiver off, that property has to be deleted and the gpio handled 101 * in userspace. 102 */ 103 lvds-tx-on-hog { 104 gpio-hog; 105 gpios = <18 0>; 106 output-high; 107 }; 108}; 109 110/* Colibri PWM_B */ 111&lsio_pwm0 { 112 status = "okay"; 113}; 114 115/* Colibri PWM_C */ 116&lsio_pwm1 { 117 status = "okay"; 118}; 119 120/* Colibri PWM_D */ 121&lsio_pwm2 { 122 status = "okay"; 123}; 124 125/* USB PHY for usbotg3 */ 126&usb3_phy { 127 status = "okay"; 128}; 129 130&usbotg1 { 131 status = "okay"; 132}; 133 134&usbotg3 { 135 status = "okay"; 136}; 137 138&usbotg3_cdns3 { 139 status = "okay"; 140}; 141 142/* USB PHY for usbotg1 */ 143&usbphy1 { 144 status = "okay"; 145}; 146 147/* Colibri SD/MMC Card */ 148&usdhc2 { 149 status = "okay"; 150}; 151