dts: xtensa: add device tree for imx8

Add dtsi file for i.MX8QM and i.MX8QXP boards.
These two have the same board-level definitions,
so we call it, generically, imx8.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
This commit is contained in:
Iuliana Prodan 2021-04-19 12:42:10 +03:00 committed by Christopher Friedt
commit 3758fd59cf

View file

@ -0,0 +1,34 @@
/*
* Copyright (c) 2021 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <xtensa/xtensa.dtsi>
#include <dt-bindings/i2c/i2c.h>
#include <mem.h>
/ {
cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu0: cpu@0 {
device_type = "cpu";
compatible = "cdns,tensilica-xtensa-lx6";
reg = <0>;
};
};
sram0: memory@92400000 {
device_type = "memory";
compatible = "mmio-sram";
reg = <0x92400000 DT_SIZE_K(512)>;
};
sram1: memory@92c00000 {
device_type = "memory";
compatible = "mmio-sram";
reg = <0x92c00000 DT_SIZE_K(512)>;
};
};