Skip to content

Instantly share code, notes, and snippets.

@neuberfran
Last active January 30, 2024 18:08
Show Gist options
  • Save neuberfran/389a5eb620ccad6e5694816d3ba43de8 to your computer and use it in GitHub Desktop.
Save neuberfran/389a5eb620ccad6e5694816d3ba43de8 to your computer and use it in GitHub Desktop.
/*
* Copyright 2018 TechNexion Ltd.
*
* Author: Tapani Utriainen <tapani@technexion.com>
* Richard Hu <richard.hu@technexion.com>
* Ray Chang <ray.chang@technexion.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
*/
#include "imx7d-pico-pi-qca.dts"
/ {
memory {
linux,usable-memory = <0x80000000 0x1ff00000>;
};
reserved-memory {
#address-cells = <1>;
#size-cells = <1>;
ranges;
rpmsg_vrings: vrings0@8ff00000 {
reg = <0x8ff00000 0x100000>;
no-map;
};
cm4tcmcode: cm4tcmcode@0x7f8000 {
compatible = "shared-dma-pool";
reg = <0x007f8000 0x8000>;
no-map;
};
cm4sramcode: cm4sramcode@0x900000 {
compatible = "shared-dma-pool";
reg = <0x00900000 0x40000>;
no-map;
};
};
imx7d-cm4 {
compatible = "fsl,imx7d-cm4";
clocks = <&clks IMX7D_ARM_M4_ROOT_CLK>;
fsl,auto-boot;
mbox-names = "tx", "rx", "rxdb";
mboxes = <&mub 0 1
&mub 1 1
&mub 3 1>;
memory-region = <&rpmsg_vrings>, <&cm4tcmcode>, <&cm4sramcode>;
syscon = <&src>;
// status = "okay";
};
m4_tcm: tcml@007f8000 {
compatible = "fsl, m4_tcml";
reg = <0x007f8000 0x8000>;
};
gpio-leds {
status = "okay";
};
};
&adc1 {
status = "disabled";
};
&adc2 {
status = "disabled";
};
&gpt3 {
status = "disabled";
};
&gpt4 {
status = "disabled";
};
&ocram {
reg = <0x00901000 0xf000>;
};
&rpmsg{
vdev-nums = <1>;
reg = <0x9fff0000 0x10000>;
status = "okay";
};
&uart6 {
status = "disabled";
};
&mub {
status = "okay";
};
&wdog3{
status = "disabled";
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment