blob: e8190d902d8191569ce70eb8da4240c11835109f [file] [log] [blame]
/*
* Copyright (c) 2018, Diego Sueiro
*
* SPDX-License-Identifier: Apache-2.0
*/
/dts-v1/;
#include <nxp/nxp_imx7d_m4.dtsi>
/ {
model = "WaRP7 IMX7S board";
compatible = "nxp,mcimx7d_m4";
aliases {
gpio-7 = &gpio7;
uart-2 = &uart2;
uart-6 = &uart6;
sw0 = &user_switch_1;
i2c-4 = &i2c4;
};
chosen {
#if defined(CONFIG_XIP)
zephyr,flash = &tcml_code;
#endif
zephyr,sram = &tcmu_sys;
zephyr,console = &uart2;
};
gpio_keys {
compatible = "gpio-keys";
user_switch_1: sw@0 {
gpios = <&gpio7 1 GPIO_INT_ACTIVE_LOW>;
label = "User SW1";
};
};
};
&uart2 {
status = "ok";
current-speed = <115200>;
modem-mode = <0>;
};
&uart6 {
status = "ok";
current-speed = <115200>;
modem-mode = <0>;
};
&gpio7 {
status = "ok";
};
&i2c4 {
status = "ok";
fxos8700@1e {
compatible = "nxp,fxos8700";
reg = <0x1e>;
label = "FXOS8700";
int1-gpios = <&gpio7 0 0>;
};
fxas21002@20 {
compatible = "nxp,fxas21002";
reg = <0x20>;
label = "FXAS21002";
int1-gpios = <&gpio7 0 0>;
};
};