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