1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 2 /* 3 * Copyright 2019 Toradex 4 */ 5 6 #include <dt-bindings/input/linux-event-codes.h> 7 8 / { 9 aliases { 10 rtc0 = &rtc_i2c; 11 rtc1 = &rtc; 12 }; 13 14 /* fixed crystal dedicated to mcp25xx */ 15 clk16m: clock-16mhz { 16 compatible = "fixed-clock"; 17 #clock-cells = <0>; 18 clock-frequency = <16000000>; 19 }; 20 }; 21 22 /* Colibri Analogue Inputs */ 23 &adc0 { 24 status = "okay"; 25 }; 26 27 /* Colibri PWM_A */ 28 &adma_pwm { 29 status = "okay"; 30 }; 31 32 &colibri_gpio_keys { 33 status = "okay"; 34 }; 35 36 &extcon_usbc_det { 37 status = "okay"; 38 }; 39 40 &i2c1 { 41 status = "okay"; 42 43 /* M41T0M6 real time clock on carrier board */ 44 rtc_i2c: rtc@68 { 45 compatible = "st,m41t0"; 46 reg = <0x68>; 47 }; 48 }; 49 50 &iomuxc { 51 pinctrl-names = "default"; 52 pinctrl-0 = <&pinctrl_ext_io0>, <&pinctrl_hog0>, <&pinctrl_hog1>, 53 <&pinctrl_lpspi2_cs2>; 54 }; 55 56 /* Colibri SPI */ 57 &lpspi2 { 58 status = "okay"; 59 60 mcp2515: can@0 { 61 compatible = "microchip,mcp2515"; 62 reg = <0>; 63 interrupt-parent = <&lsio_gpio3>; 64 interrupts = <13 IRQ_TYPE_EDGE_FALLING>; 65 pinctrl-0 = <&pinctrl_can_int>; 66 pinctrl-names = "default"; 67 clocks = <&clk16m>; 68 spi-max-frequency = <10000000>; 69 }; 70 }; 71 72 /* Colibri UART_B */ 73 &lpuart0 { 74 status = "okay"; 75 }; 76 77 /* Colibri UART_C */ 78 &lpuart2 { 79 status = "okay"; 80 }; 81 82 /* Colibri PWM_B */ 83 &lsio_pwm0 { 84 status = "okay"; 85 }; 86 87 /* Colibri PWM_C */ 88 &lsio_pwm1 { 89 status = "okay"; 90 }; 91 92 /* Colibri PWM_D */ 93 &lsio_pwm2 { 94 status = "okay"; 95 }; 96 97 /* Colibri UART_A */ 98 &lpuart3 { 99 status = "okay"; 100 }; 101 102 /* Colibri FastEthernet */ 103 &fec1 { 104 status = "okay"; 105 }; 106 107 /* USB PHY for usbotg3 */ 108 &usb3_phy { 109 status = "okay"; 110 }; 111 112 &usbotg1 { 113 status = "okay"; 114 }; 115 116 &usbotg3 { 117 status = "okay"; 118 }; 119 120 &usbotg3_cdns3 { 121 status = "okay"; 122 }; 123 124 /* USB PHY for usbotg1 */ 125 &usbphy1 { 126 status = "okay"; 127 }; 128 129 /* Colibri SD/MMC Card */ 130 &usdhc2 { 131 status = "okay"; 132 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.