summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi
blob: f75499765d85dc78808af9ddadc92e133b0c3499 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/*
 * Copyright 2019 Toradex
 */

#include <dt-bindings/input/linux-event-codes.h>

/ {
	aliases {
		rtc0 = &rtc_i2c;
		rtc1 = &rtc;
	};

	/* fixed crystal dedicated to mcp25xx */
	clk16m: clock-16mhz {
		compatible = "fixed-clock";
		#clock-cells = <0>;
		clock-frequency = <16000000>;
	};
};

/* Colibri Analogue Inputs */
&adc0 {
	status = "okay";
};

/* Colibri PWM_A */
&adma_pwm {
	status = "okay";
};

&colibri_gpio_keys {
	status = "okay";
};

&extcon_usbc_det {
	status = "okay";
};

&i2c1 {
	status = "okay";

	/* M41T0M6 real time clock on carrier board */
	rtc_i2c: rtc@68 {
		compatible = "st,m41t0";
		reg = <0x68>;
	};
};

&iomuxc {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_ext_io0>, <&pinctrl_hog0>, <&pinctrl_hog1>,
		    <&pinctrl_lpspi2_cs2>;
};

/* Colibri SPI */
&lpspi2 {
	status = "okay";

	mcp2515: can@0 {
		compatible = "microchip,mcp2515";
		reg = <0>;
		interrupt-parent = <&lsio_gpio3>;
		interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
		pinctrl-0 = <&pinctrl_can_int>;
		pinctrl-names = "default";
		clocks = <&clk16m>;
		spi-max-frequency = <10000000>;
	};
};

/* Colibri UART_B */
&lpuart0 {
	status = "okay";
};

/* Colibri UART_C */
&lpuart2 {
	status = "okay";
};

/* Colibri PWM_B */
&lsio_pwm0 {
	status = "okay";
};

/* Colibri PWM_C */
&lsio_pwm1 {
	status = "okay";
};

/* Colibri PWM_D */
&lsio_pwm2 {
	status = "okay";
};

/* Colibri UART_A */
&lpuart3 {
	status = "okay";
};

/* Colibri FastEthernet */
&fec1 {
	status = "okay";
};

/* USB PHY for usbotg3 */
&usb3_phy {
	status = "okay";
};

&usbotg1 {
	status = "okay";
};

&usbotg3 {
	status = "okay";
};

&usbotg3_cdns3 {
	status = "okay";
};

/* USB PHY for usbotg1 */
&usbphy1 {
	status = "okay";
};

/* Colibri SD/MMC Card */
&usdhc2 {
	status = "okay";
};