zephyr/boards/arc/em_starterkit/em_starterkit_em7d.dts
Kumar Gala 6f51ef8a4c boards: em_starterkit: cleanup dts warnings
Fix the following device tree warnings:

unit-address and first reg (0x20000) don't match for iccm@0
unit-address and first reg (0x80010000) don't match for dccm@80000000

Since the em_starterkit_em7d_normal has a different base address for
iccm & dccm, and most of the em_starterkit variants have different sizes
for iccm & dccm.  Just define the nodes in the specific
em_starterkit*.dts file and remove them from emsk.dtsi.  This removes
the issue reported in the warning.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-02-05 17:10:54 -05:00

53 lines
775 B
Plaintext

/*
* Copyright (c) 2018, Synopsys, Inc. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/
/dts-v1/;
#include <mem.h>
#include <emsk.dtsi>
#include "em_starterkit_r23.dtsi"
#include "board.dtsi"
/ {
model = "em_starterkit-em7d";
compatible = "snps,em_starterkit-em7d", "snps,em_starterkit";
aliases {
uart-0 = &uart0;
uart-1 = &uart1;
uart-2 = &uart2;
};
chosen {
zephyr,sram = &dccm0;
zephyr,console = &uart1;
zephyr,shell-uart = &uart1;
};
iccm0: iccm@0 {
compatible = "arc,iccm";
reg = <0x0 DT_SIZE_K(256)>;
};
dccm0: dccm@80000000 {
compatible = "arc,dccm";
reg = <0x80000000 DT_SIZE_K(128)>;
};
};
&uart1 {
status = "okay";
current-speed = <115200>;
};
&spi0 {
status = "okay";
};
&spi1 {
status = "okay";
};