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>
This commit is contained in:
Kumar Gala 2020-02-05 12:57:12 -06:00 committed by Anas Nashif
commit 6f51ef8a4c
7 changed files with 22 additions and 20 deletions

View file

@ -27,11 +27,13 @@
zephyr,shell-uart = &uart1;
};
iccm@0 {
iccm0: iccm@0 {
compatible = "arc,iccm";
reg = <0x0 DT_SIZE_K(256)>;
};
dccm@80000000 {
dccm0: dccm@80000000 {
compatible = "arc,dccm";
reg = <0x80000000 DT_SIZE_K(128)>;
};
};

View file

@ -27,11 +27,13 @@
zephyr,shell-uart = &uart1;
};
iccm@0 {
iccm0: iccm@0 {
compatible = "arc,iccm";
reg = <0x0 DT_SIZE_K(64)>;
};
dccm@80000000 {
dccm0: dccm@80000000 {
compatible = "arc,dccm";
reg = <0x80000000 DT_SIZE_K(64)>;
};
};

View file

@ -27,11 +27,13 @@
zephyr,shell-uart = &uart1;
};
iccm@0 {
iccm0: iccm@0 {
compatible = "arc,iccm";
reg = <0x0 DT_SIZE_K(256)>;
};
dccm@80000000 {
dccm0: dccm@80000000 {
compatible = "arc,dccm";
reg = <0x80000000 DT_SIZE_K(128)>;
};
};

View file

@ -27,11 +27,13 @@
zephyr,shell-uart = &uart1;
};
iccm@0 {
iccm0: iccm@20000 {
compatible = "arc,iccm";
reg = <0x20000 DT_SIZE_K(128)>;
};
dccm@80000000 {
dccm0: dccm@80010000 {
compatible = "arc,dccm";
reg = <0x80010000 DT_SIZE_K(64)>;
};
};

View file

@ -27,11 +27,13 @@
zephyr,shell-uart = &uart1;
};
iccm@0 {
iccm0: iccm@0 {
compatible = "arc,iccm";
reg = <0x0 DT_SIZE_K(256)>;
};
dccm@80000000 {
dccm0: dccm@80000000 {
compatible = "arc,dccm";
reg = <0x80000000 DT_SIZE_K(128)>;
};
};