1/* 2 * Copyright (c) 2018, Diego Sueiro 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/dts-v1/; 8 9#include <nxp/nxp_imx7d_m4.dtsi> 10#include "warp7_m4-pinctrl.dtsi" 11#include <zephyr/dt-bindings/input/input-event-codes.h> 12 13/ { 14 model = "WaRP7 IMX7S board"; 15 compatible = "nxp,mcimx7d_m4"; 16 17 aliases { 18 sw0 = &user_switch_1; 19 magn0 = &fxos8700; 20 accel0 = &fxos8700; 21 }; 22 23 chosen { 24 zephyr,flash = &tcml_code; 25 zephyr,sram = &tcmu_sys; 26 zephyr,console = &uart2; 27 zephyr,shell-uart = &uart2; 28 }; 29 30 gpio_keys { 31 compatible = "gpio-keys"; 32 user_switch_1: user_sw_1 { 33 gpios = <&gpio7 1 GPIO_ACTIVE_LOW>; 34 label = "User SW1"; 35 zephyr,code = <INPUT_KEY_0>; 36 }; 37 }; 38}; 39 40&uart2 { 41 status = "okay"; 42 current-speed = <115200>; 43 modem-mode = <0>; 44 pinctrl-0 = <&uart2_default>; 45 pinctrl-names = "default"; 46}; 47 48&uart6 { 49 status = "okay"; 50 current-speed = <115200>; 51 modem-mode = <0>; 52 pinctrl-0 = <&uart6_default>; 53 pinctrl-names = "default"; 54}; 55 56&gpio7 { 57 status = "okay"; 58}; 59 60&i2c1 { 61 pinctrl-0 = <&i2c1_default>; 62 pinctrl-names = "default"; 63}; 64 65&i2c2 { 66 pinctrl-0 = <&i2c2_default>; 67 pinctrl-names = "default"; 68}; 69 70&i2c3 { 71 pinctrl-0 = <&i2c3_default>; 72 pinctrl-names = "default"; 73}; 74 75&i2c4 { 76 status = "okay"; 77 pinctrl-0 = <&i2c4_default>; 78 pinctrl-names = "default"; 79 80 fxos8700: fxos8700@1e { 81 compatible = "nxp,fxos8700"; 82 reg = <0x1e>; 83 int1-gpios = <&gpio7 0 GPIO_ACTIVE_LOW>; 84 }; 85 86 fxas21002@20 { 87 compatible = "nxp,fxas21002"; 88 reg = <0x20>; 89 int1-gpios = <&gpio7 0 GPIO_ACTIVE_LOW>; 90 }; 91 92}; 93 94&mub { 95 status = "okay"; 96}; 97