xref: /freebsd/sys/contrib/device-tree/src/arm64/freescale/imx8qxp-colibri-eval-v3.dtsi (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
1// SPDX-License-Identifier: GPL-2.0+ 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	gpio-keys {
15		compatible = "gpio-keys";
16		pinctrl-names = "default";
17		pinctrl-0 = <&pinctrl_gpiokeys>;
18
19		key-wakeup {
20			label = "Wake-Up";
21			gpios = <&lsio_gpio3 10 GPIO_ACTIVE_HIGH>;
22			linux,code = <KEY_WAKEUP>;
23			debounce-interval = <10>;
24			wakeup-source;
25		};
26	};
27};
28
29&i2c1 {
30	status = "okay";
31
32	/* M41T0M6 real time clock on carrier board */
33	rtc_i2c: rtc@68 {
34		compatible = "st,m41t0";
35		reg = <0x68>;
36	};
37};
38
39/* Colibri UART_B */
40&lpuart0 {
41	status = "okay";
42};
43
44/* Colibri UART_C */
45&lpuart2 {
46	status = "okay";
47};
48
49/* Colibri UART_A */
50&lpuart3 {
51	status = "okay";
52};
53
54/* Colibri FastEthernet */
55&fec1 {
56	status = "okay";
57};
58
59/* Colibri SD/MMC Card */
60&usdhc2 {
61	status = "okay";
62};
63