Skip to content

Instantly share code, notes, and snippets.

@neuberfran
Created January 22, 2024 15:14
Show Gist options
  • Save neuberfran/2398c7c05b37599d76bded7851f8ae9f to your computer and use it in GitHub Desktop.
Save neuberfran/2398c7c05b37599d76bded7851f8ae9f to your computer and use it in GitHub Desktop.
/*
* Copyright (c) 2019, Joris Offouga
* Copyright 2022 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
/dts-v1/;
#include <nxp/nxp_imx7d_m4.dtsi>
#include "pico_pi_m4-pinctrl.dtsi"
/ {
model = "Pico-Pi IMX7D board";
compatible = "nxp,mcimx7d_m4";
aliases {
led0 = &led0;
uart6 = &uart6;
// mu-b = &mu0b;
};
chosen {
zephyr,flash = &tcml_code;
zephyr,sram = &tcmu_sys;
zephyr,console = &uart6;
// zephyr,shell-uart = &uart6;
// zephyr,led-gpios = <&led0 0 GPIO_ACTIVE_LOW>;
};
leds {
compatible = "gpio-leds";
led0: led_0 {
gpios = <&gpio2 6 GPIO_ACTIVE_LOW>;
label = "User LED";
};
};
};
&gpio2 {
status = "okay";
};
&mub {
status = "okay";
};
&ocram_code {
status = "okay";
};
&tcml_code {
status = "okay";
};
&uart2 {
pinctrl-0 = <&uart2_default>;
pinctrl-names = "default";
};
&uart5 {
pinctrl-0 = <&uart5_default>;
pinctrl-names = "default";
};
&uart6 {
status = "okay";
current-speed = <123>;
modem-mode = <0>;
pinctrl-0 = <&uart6_default>;
pinctrl-names = "default";
};
&i2c1 {
pinctrl-0 = <&i2c1_default>;
pinctrl-names = "default";
};
&i2c2 {
pinctrl-0 = <&i2c2_default>;
pinctrl-names = "default";
};
&i2c3 {
pinctrl-0 = <&i2c3_default>;
pinctrl-names = "default";
};
&i2c4 {
pinctrl-0 = <&i2c4_default>;
pinctrl-names = "default";
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment