dts: lpc55S6x: Add back the USB SRAM region
USB SRAM region was accidentally deleted by an earlier commit. Rename the memory region used by USB to USB_SRAM instead of SRAM4. SRAM4 was the wrong name for this region. Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
This commit is contained in:
parent
d400b8135c
commit
32e2e1cb79
2 changed files with 11 additions and 5 deletions
|
@ -69,20 +69,26 @@
|
||||||
reg = <0x20010000 DT_SIZE_K(64)>;
|
reg = <0x20010000 DT_SIZE_K(64)>;
|
||||||
};
|
};
|
||||||
|
|
||||||
sram2: memory@20018000 {
|
sram2: memory@20020000 {
|
||||||
compatible = "mmio-sram";
|
compatible = "mmio-sram";
|
||||||
reg = <0x20020000 DT_SIZE_K(64)>;
|
reg = <0x20020000 DT_SIZE_K(64)>;
|
||||||
};
|
};
|
||||||
|
|
||||||
sram3: memory@20020000 {
|
sram3: memory@20030000 {
|
||||||
compatible = "mmio-sram";
|
compatible = "mmio-sram";
|
||||||
reg = <0x20030000 DT_SIZE_K(64)>;
|
reg = <0x20030000 DT_SIZE_K(64)>;
|
||||||
};
|
};
|
||||||
|
|
||||||
sram4: memory@40100000 {
|
sram4: memory@20040000 {
|
||||||
compatible = "mmio-sram";
|
compatible = "mmio-sram";
|
||||||
reg = <0x20040000 DT_SIZE_K(16)>;
|
reg = <0x20040000 DT_SIZE_K(16)>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
usb_sram: memory@40100000 {
|
||||||
|
compatible = "zephyr,memory-region", "mmio-sram";
|
||||||
|
reg = <0x40100000 DT_SIZE_K(16)>;
|
||||||
|
zephyr,memory-region = "USB_SRAM";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&peripheral {
|
&peripheral {
|
||||||
|
|
|
@ -10,7 +10,7 @@ GROUP_START(USB_BDT)
|
||||||
{
|
{
|
||||||
. = ALIGN(512);
|
. = ALIGN(512);
|
||||||
*(m_usb_bdt)
|
*(m_usb_bdt)
|
||||||
} GROUP_LINK_IN(SRAM4)
|
} GROUP_LINK_IN(USB_SRAM)
|
||||||
|
|
||||||
GROUP_END(USB_BDT)
|
GROUP_END(USB_BDT)
|
||||||
|
|
||||||
|
@ -19,6 +19,6 @@ GROUP_START(USB_GLOBAL)
|
||||||
SECTION_PROLOGUE(_USB_GLOBAL_SECTION_NAME,(NOLOAD),)
|
SECTION_PROLOGUE(_USB_GLOBAL_SECTION_NAME,(NOLOAD),)
|
||||||
{
|
{
|
||||||
*(m_usb_global)
|
*(m_usb_global)
|
||||||
} GROUP_LINK_IN(SRAM4)
|
} GROUP_LINK_IN(USB_SRAM)
|
||||||
|
|
||||||
GROUP_END(USB_GLOBAL)
|
GROUP_END(USB_GLOBAL)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue