diff --git a/dts/arm/nxp/nxp_lpc55S6x_common.dtsi b/dts/arm/nxp/nxp_lpc55S6x_common.dtsi index ec877ab3d83..b526a61cf30 100644 --- a/dts/arm/nxp/nxp_lpc55S6x_common.dtsi +++ b/dts/arm/nxp/nxp_lpc55S6x_common.dtsi @@ -69,20 +69,26 @@ reg = <0x20010000 DT_SIZE_K(64)>; }; - sram2: memory@20018000 { + sram2: memory@20020000 { compatible = "mmio-sram"; reg = <0x20020000 DT_SIZE_K(64)>; }; - sram3: memory@20020000 { + sram3: memory@20030000 { compatible = "mmio-sram"; reg = <0x20030000 DT_SIZE_K(64)>; }; - sram4: memory@40100000 { + sram4: memory@20040000 { compatible = "mmio-sram"; 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 { diff --git a/soc/arm/nxp_lpc/lpc55xxx/usb.ld b/soc/arm/nxp_lpc/lpc55xxx/usb.ld index 329d05ce591..63340836119 100644 --- a/soc/arm/nxp_lpc/lpc55xxx/usb.ld +++ b/soc/arm/nxp_lpc/lpc55xxx/usb.ld @@ -10,7 +10,7 @@ GROUP_START(USB_BDT) { . = ALIGN(512); *(m_usb_bdt) - } GROUP_LINK_IN(SRAM4) + } GROUP_LINK_IN(USB_SRAM) GROUP_END(USB_BDT) @@ -19,6 +19,6 @@ GROUP_START(USB_GLOBAL) SECTION_PROLOGUE(_USB_GLOBAL_SECTION_NAME,(NOLOAD),) { *(m_usb_global) - } GROUP_LINK_IN(SRAM4) + } GROUP_LINK_IN(USB_SRAM) GROUP_END(USB_GLOBAL)