2018-08-16 10:59:16 +08:00
|
|
|
/*
|
|
|
|
* 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 {
|
|
|
|
sw0 = &user_switch_1;
|
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
zephyr,flash = &tcml_code;
|
|
|
|
zephyr,sram = &tcmu_sys;
|
|
|
|
zephyr,console = &uart2;
|
2018-11-27 19:11:04 +08:00
|
|
|
zephyr,shell-uart = &uart2;
|
2018-08-16 10:59:16 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
gpio_keys {
|
|
|
|
compatible = "gpio-keys";
|
2018-09-18 21:44:58 +08:00
|
|
|
user_switch_1: user_sw_1 {
|
2019-10-03 16:52:25 +08:00
|
|
|
gpios = <&gpio7 1 GPIO_ACTIVE_LOW>;
|
2018-08-16 10:59:16 +08:00
|
|
|
label = "User SW1";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&uart2 {
|
2019-06-15 01:31:16 +08:00
|
|
|
status = "okay";
|
2018-08-16 10:59:16 +08:00
|
|
|
current-speed = <115200>;
|
|
|
|
modem-mode = <0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&uart6 {
|
2019-06-15 01:31:16 +08:00
|
|
|
status = "okay";
|
2018-08-16 10:59:16 +08:00
|
|
|
current-speed = <115200>;
|
|
|
|
modem-mode = <0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&gpio7 {
|
2019-06-15 01:31:16 +08:00
|
|
|
status = "okay";
|
2018-08-16 10:59:16 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
&i2c4 {
|
2019-06-15 01:31:16 +08:00
|
|
|
status = "okay";
|
2018-08-16 10:59:16 +08:00
|
|
|
|
|
|
|
fxos8700@1e {
|
|
|
|
compatible = "nxp,fxos8700";
|
|
|
|
reg = <0x1e>;
|
|
|
|
label = "FXOS8700";
|
2019-12-12 05:14:11 +08:00
|
|
|
int1-gpios = <&gpio7 0 GPIO_ACTIVE_LOW>;
|
2018-08-16 10:59:16 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
fxas21002@20 {
|
|
|
|
compatible = "nxp,fxas21002";
|
|
|
|
reg = <0x20>;
|
|
|
|
label = "FXAS21002";
|
2019-12-13 03:01:01 +08:00
|
|
|
int1-gpios = <&gpio7 0 GPIO_ACTIVE_LOW>;
|
2018-08-16 10:59:16 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
};
|
2018-11-20 01:44:27 +08:00
|
|
|
|
|
|
|
&mub {
|
2019-06-15 01:31:16 +08:00
|
|
|
status = "okay";
|
2018-11-20 01:44:27 +08:00
|
|
|
};
|