1// SPDX-License-Identifier: GPL-2.0-or-later OR MIT 2/* 3 * Copyright 2016-2022 Toradex 4 */ 5 6/ { 7 /* Fixed crystal dedicated to MCP2515. */ 8 clk16m: clk16m { 9 compatible = "fixed-clock"; 10 #clock-cells = <0>; 11 clock-frequency = <16000000>; 12 }; 13}; 14 15/* Colibri AD0 to AD3 */ 16&adc1 { 17 status = "okay"; 18}; 19 20/* 21 * The Atmel maxtouch controller uses SODIMM 28/30, also used for PWM<B>, PWM<C>, aka pwm2, pwm3. 22 * So if you enable following capacitive touch controller, disable pwm2/pwm3 first. 23 */ 24&atmel_mxt_ts { 25 interrupt-parent = <&gpio1>; 26 interrupts = <9 IRQ_TYPE_EDGE_FALLING>; /* SODIMM 28 / INT */ 27 pinctrl-0 = <&pinctrl_atmel_adapter>; 28 reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>; /* SODIMM 30 / RST */ 29 status = "disabled"; 30}; 31 32/* Colibri SSP */ 33&ecspi3 { 34 status = "okay"; 35 36 mcp2515: can@0 { 37 clocks = <&clk16m>; 38 compatible = "microchip,mcp2515"; 39 interrupt-parent = <&gpio5>; 40 interrupts = <2 IRQ_TYPE_EDGE_FALLING>; 41 pinctrl-names = "default"; 42 pinctrl-0 = <&pinctrl_can_int>; 43 reg = <0>; 44 spi-max-frequency = <10000000>; 45 vdd-supply = <®_3v3>; 46 xceiver-supply = <®_5v0>; 47 }; 48}; 49 50/* Colibri Fast Ethernet */ 51&fec1 { 52 status = "okay"; 53}; 54 55/* Colibri I2C: I2C3_SDA/SCL on SODIMM 194/196 */ 56&i2c4 { 57 status = "okay"; 58}; 59 60/* Colibri PWM<A> */ 61&pwm1 { 62 status = "okay"; 63}; 64 65/* Colibri PWM<B> */ 66&pwm2 { 67 /* The pwm2 should be disabled to enable atmel_mxt_ts touchscreen for adapter. */ 68 status = "okay"; 69}; 70 71/* Colibri PWM<C> */ 72&pwm3 { 73 /* The pwm3 should be disabled to enable atmel_mxt_ts touchscreen for adapter. */ 74 status = "okay"; 75}; 76 77/* Colibri PWM<D> */ 78&pwm4 { 79 status = "okay"; 80}; 81 82/* M41T0M6 real time clock */ 83&rtc { 84 status = "okay"; 85}; 86 87/* Colibri UART_A */ 88&uart1 { 89 status = "okay"; 90}; 91 92/* Colibri UART_B */ 93&uart2 { 94 status = "okay"; 95}; 96 97/* Colibri UART_C */ 98&uart3 { 99 status = "okay"; 100}; 101 102/* Colibri USBC */ 103&usbotg1 { 104 disable-over-current; 105 status = "okay"; 106}; 107 108/* Colibri MMC/SD */ 109&usdhc1 { 110 status = "okay"; 111}; 112