Linux Audio

Check our new training course

Loading...
/*
 * 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;
		zephyr,shell-uart = &uart2;
	};

	gpio_keys {
		compatible = "gpio-keys";
		user_switch_1: user_sw_1 {
			gpios = <&gpio7 1 GPIO_ACTIVE_LOW>;
			label = "User SW1";
		};
	};
};

&uart2 {
	status = "okay";
	current-speed = <115200>;
	modem-mode = <0>;
};

&uart6 {
	status = "okay";
	current-speed = <115200>;
	modem-mode = <0>;
};

&gpio7 {
	status = "okay";
};

&i2c4 {
	status = "okay";

	fxos8700@1e {
		compatible = "nxp,fxos8700";
		reg = <0x1e>;
		label = "FXOS8700";
		int1-gpios = <&gpio7 0 GPIO_ACTIVE_LOW>;
	};

	fxas21002@20 {
		compatible = "nxp,fxas21002";
		reg = <0x20>;
		label = "FXAS21002";
		int1-gpios = <&gpio7 0 GPIO_ACTIVE_LOW>;
	};

};

&mub {
	status = "okay";
};