75 lines
1003 B
Plaintext
75 lines
1003 B
Plaintext
/*
|
|
* Copyright (c) 2017, NXP
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include <nxp/nxp_imx7d_m4.dtsi>
|
|
|
|
/ {
|
|
model = "TORADEX Colibri IMX7D board";
|
|
compatible = "nxp,mcimx7d_m4";
|
|
|
|
aliases {
|
|
gpio-1 = &gpio1;
|
|
gpio-2 = &gpio2;
|
|
uart-2 = &uart2;
|
|
led0 = &green_led;
|
|
sw0 = &user_switch_1;
|
|
i2c-4 = &i2c4;
|
|
pwm-1 = &pwm1;
|
|
mu-b = &mub;
|
|
};
|
|
|
|
chosen {
|
|
zephyr,flash = &tcml_code;
|
|
zephyr,sram = &tcmu_sys;
|
|
zephyr,console = &uart2;
|
|
zephyr,shell-uart = &uart2;
|
|
};
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
green_led: led_0 {
|
|
gpios = <&gpio1 2 GPIO_INT_ACTIVE_LOW>;
|
|
label = "User LED1";
|
|
};
|
|
};
|
|
|
|
gpio_keys {
|
|
compatible = "gpio-keys";
|
|
user_switch_1: user_sw_1 {
|
|
gpios = <&gpio2 26 GPIO_INT_ACTIVE_LOW>;
|
|
label = "User SW1";
|
|
};
|
|
};
|
|
};
|
|
|
|
&uart2 {
|
|
status = "ok";
|
|
current-speed = <115200>;
|
|
modem-mode = <64>;
|
|
};
|
|
|
|
&gpio1 {
|
|
status = "ok";
|
|
};
|
|
|
|
&gpio2 {
|
|
status = "ok";
|
|
};
|
|
|
|
&i2c4 {
|
|
status = "ok";
|
|
};
|
|
|
|
&pwm1 {
|
|
status = "ok";
|
|
};
|
|
|
|
&mub {
|
|
status = "ok";
|
|
};
|