1// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2/*
3 * Copyright 2022 Toradex
4 */
5
6/ {
7	aliases {
8		rtc0 = &rtc_i2c;
9		rtc1 = &rtc;
10	};
11
12	reg_usb_host_vbus: regulator-usb-host-vbus {
13		regulator-name = "VCC USBH2(ABCD) / USBH(3|4)";
14	};
15};
16
17&adc0 {
18	status = "okay";
19};
20
21&adc1 {
22	status = "okay";
23};
24
25/* TODO: Audio Mixer */
26
27/* TODO: Asynchronous Sample Rate Converter (ASRC) */
28
29/* TODO: Display Controller */
30
31/* TODO: DPU */
32
33/* Apalis ETH1 */
34&fec1 {
35	status = "okay";
36};
37
38/* Apalis CAN1 */
39&flexcan1 {
40	status = "okay";
41};
42
43/* Apalis CAN2 */
44&flexcan2 {
45	status = "okay";
46};
47
48/* TODO: GPU */
49
50/* Apalis I2C1 */
51&i2c2 {
52	status = "okay";
53
54	/* M41T0M6 real time clock on carrier board */
55	rtc_i2c: rtc@68 {
56		status = "okay";
57	};
58};
59
60/* Apalis I2C3 (CAM) */
61&i2c3 {
62	status = "okay";
63};
64
65/* Apalis SPI1 */
66&lpspi0 {
67	status = "okay";
68};
69
70/* Apalis SPI2 */
71&lpspi2 {
72	status = "okay";
73};
74
75/* Apalis UART3 */
76&lpuart0 {
77	status = "okay";
78};
79
80/* Apalis UART1 */
81&lpuart1 {
82	status = "okay";
83};
84
85/* Apalis UART4 */
86&lpuart2 {
87	status = "okay";
88};
89
90/* Apalis UART2 */
91&lpuart3 {
92	status = "okay";
93};
94
95/* Apalis PWM3, MXM3 pin 6 */
96&lsio_pwm0 {
97	status = "okay";
98};
99
100/* Apalis PWM4, MXM3 pin 8 */
101&lsio_pwm1 {
102	status = "okay";
103};
104
105/* Apalis PWM1, MXM3 pin 2 */
106&lsio_pwm2 {
107	status = "okay";
108};
109
110/* Apalis PWM2, MXM3 pin 4 */
111&lsio_pwm3 {
112	status = "okay";
113};
114
115/* TODO: Apalis PCIE1 */
116
117/* TODO: Apalis BKL1_PWM */
118
119/* TODO: Apalis DAP1 */
120
121/* TODO: Apalis Analogue Audio */
122
123/* TODO: Apalis SATA1 */
124
125/* TODO: Apalis SPDIF1 */
126
127/* TODO: Apalis USBH2, Apalis USBH3 and on-module Wi-Fi via on-module HSIC Hub */
128
129/* Apalis USBO1 */
130&usbotg1 {
131	status = "okay";
132};
133
134/* TODO: Apalis USBH4 SuperSpeed */
135
136/* Apalis MMC1 */
137&usdhc2 {
138	status = "okay";
139};
140
141/* Apalis SD1 */
142&usdhc3 {
143	status = "okay";
144};
145