/* * Copyright (c) 2018, Diego Sueiro * * SPDX-License-Identifier: Apache-2.0 */ /dts-v1/; #include / { 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; mu-b = &mub; }; chosen { zephyr,flash = &tcml_code; zephyr,sram = &tcmu_sys; zephyr,console = &uart2; zephyr,shell-uart = &uart2; }; gpio_keys { compatible = "gpio-keys"; user_switch_1: user_sw_1 { 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>; }; }; &mub { status = "ok"; };