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:
parent
b921955e44
commit
6f51ef8a4c
7 changed files with 22 additions and 20 deletions
|
@ -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)>;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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)>;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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)>;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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)>;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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)>;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -28,14 +28,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
iccm0: iccm@0 {
|
||||
compatible = "arc,iccm";
|
||||
};
|
||||
|
||||
dccm0: dccm@80000000 {
|
||||
compatible = "arc,dccm";
|
||||
};
|
||||
|
||||
sysclk: system-clock {
|
||||
compatible = "fixed-clock";
|
||||
clock-frequency = <DT_APB_CLK_HZ>;
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
/* SoC level DTS fixup file */
|
||||
|
||||
/* CCM configuration */
|
||||
#define DT_DCCM_BASE_ADDRESS DT_ARC_DCCM_80000000_BASE_ADDRESS
|
||||
#define DT_DCCM_SIZE (DT_ARC_DCCM_80000000_SIZE >> 10)
|
||||
#define DT_DCCM_BASE_ADDRESS DT_INST_0_ARC_DCCM_BASE_ADDRESS
|
||||
#define DT_DCCM_SIZE (DT_INST_0_ARC_DCCM_SIZE >> 10)
|
||||
|
||||
#define DT_ICCM_BASE_ADDRESS DT_INST_0_ARC_ICCM_BASE_ADDRESS
|
||||
#define DT_ICCM_SIZE (DT_INST_0_ARC_ICCM_SIZE >> 10)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue