63 lines
882 B
Plaintext
63 lines
882 B
Plaintext
|
// SPDX-License-Identifier: GPL-2.0+ OR MIT
|
||
|
/*
|
||
|
* Copyright 2019 Toradex
|
||
|
*/
|
||
|
|
||
|
#include <dt-bindings/input/linux-event-codes.h>
|
||
|
|
||
|
/ {
|
||
|
aliases {
|
||
|
rtc0 = &rtc_i2c;
|
||
|
rtc1 = &rtc;
|
||
|
};
|
||
|
|
||
|
gpio-keys {
|
||
|
compatible = "gpio-keys";
|
||
|
pinctrl-names = "default";
|
||
|
pinctrl-0 = <&pinctrl_gpiokeys>;
|
||
|
|
||
|
key-wakeup {
|
||
|
label = "Wake-Up";
|
||
|
gpios = <&lsio_gpio3 10 GPIO_ACTIVE_HIGH>;
|
||
|
linux,code = <KEY_WAKEUP>;
|
||
|
debounce-interval = <10>;
|
||
|
wakeup-source;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
|
||
|
&i2c1 {
|
||
|
status = "okay";
|
||
|
|
||
|
/* M41T0M6 real time clock on carrier board */
|
||
|
rtc_i2c: rtc@68 {
|
||
|
compatible = "st,m41t0";
|
||
|
reg = <0x68>;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
/* Colibri UART_B */
|
||
|
&lpuart0 {
|
||
|
status = "okay";
|
||
|
};
|
||
|
|
||
|
/* Colibri UART_C */
|
||
|
&lpuart2 {
|
||
|
status = "okay";
|
||
|
};
|
||
|
|
||
|
/* Colibri UART_A */
|
||
|
&lpuart3 {
|
||
|
status = "okay";
|
||
|
};
|
||
|
|
||
|
/* Colibri FastEthernet */
|
||
|
&fec1 {
|
||
|
status = "okay";
|
||
|
};
|
||
|
|
||
|
/* Colibri SD/MMC Card */
|
||
|
&usdhc2 {
|
||
|
status = "okay";
|
||
|
};
|