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