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

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/nxp/imx/imx7-colibri-iris.dtsi

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 /* Colibri AD0 to AD3 */
  7 &adc1 {
  8         status = "okay";
  9 };
 10 
 11 /*
 12  * The Atmel maxtouch controller uses SODIMM 28/30, also used for PWM<B>, PWM<C>, aka pwm2, pwm3.
 13  * So if you enable following capacitive touch controller, disable pwm2/pwm3 first.
 14  */
 15 &atmel_mxt_ts {
 16         interrupt-parent = <&gpio1>;
 17         interrupts = <9 IRQ_TYPE_EDGE_FALLING>;         /* SODIMM 28 / INT */
 18         pinctrl-0 = <&pinctrl_atmel_adapter>;
 19         reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;      /* SODIMM 30 / RST */
 20 };
 21 
 22 /* Colibri SSP */
 23 &ecspi3 {
 24         status = "okay";
 25 };
 26 
 27 /* Colibri Fast Ethernet */
 28 &fec1 {
 29         status = "okay";
 30 };
 31 
 32 &gpio2 {
 33         /*
 34          * uart25 turns the UART transceiver for UART2 and 5 on. If one wants to turn the
 35          * transceiver off, that property has to be deleted and the gpio handled in userspace.
 36          * The same applies to uart1_tx_on where the UART1 transceiver is turned on.
 37          */
 38         uart25-tx-on-hog {
 39                 gpio-hog;
 40                 gpios = <27 GPIO_ACTIVE_HIGH>; /* SODIMM 104 */
 41                 output-high;
 42         };
 43 };
 44 
 45 &gpio5 {
 46         uart1-tx-on-hog {
 47                 gpio-hog;
 48                 gpios = <17 GPIO_ACTIVE_HIGH>; /* SODIMM 102 */
 49                 output-high;
 50         };
 51 };
 52 
 53 /* Colibri I2C: I2C3_SDA/SCL on SODIMM 194/196 */
 54 &i2c4 {
 55         status = "okay";
 56 };
 57 
 58 /* Colibri PWM<A> */
 59 &pwm1 {
 60         status = "okay";
 61 };
 62 
 63 /* Colibri PWM<B> */
 64 &pwm2 {
 65         /* The pwm2 should be disabled to enable atmel_mxt_ts touchscreen for adapter. */
 66         status = "okay";
 67 };
 68 
 69 /* Colibri PWM<C> */
 70 &pwm3 {
 71         /* The pwm3 should be disabled to enable atmel_mxt_ts touchscreen for adapter. */
 72         status = "okay";
 73 };
 74 
 75 /* Colibri PWM<D> */
 76 &pwm4 {
 77         status = "okay";
 78 };
 79 
 80 /* M41T0M6 real time clock */
 81 &rtc {
 82         status = "okay";
 83 };
 84 
 85 /* Colibri UART_A */
 86 &uart1 {
 87         status = "okay";
 88 };
 89 
 90 /* Colibri UART_B */
 91 &uart2 {
 92         status = "okay";
 93 };
 94 
 95 /* Colibri UART_C */
 96 &uart3 {
 97         status = "okay";
 98 };
 99 
100 /* Colibri USBC */
101 &usbotg1 {
102         disable-over-current;
103         status = "okay";
104 };
105 
106 /* Colibri MMC/SD */
107 &usdhc1 {
108         status = "okay";
109 };

~ [ 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