From 30e02a15a14481c45ea38bf2c0bd1432e52abec0 Mon Sep 17 00:00:00 2001 From: Alex Tsitsiura Date: Tue, 27 Aug 2024 11:38:44 +0300 Subject: [PATCH] [Telink] Add b95 flash overlay (#35133) --- .../telink/tlsr9258a_2m_flash.overlay | 37 ++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) mode change 120000 => 100644 src/platform/telink/tlsr9258a_2m_flash.overlay diff --git a/src/platform/telink/tlsr9258a_2m_flash.overlay b/src/platform/telink/tlsr9258a_2m_flash.overlay deleted file mode 120000 index 3b425c1198b983..00000000000000 --- a/src/platform/telink/tlsr9258a_2m_flash.overlay +++ /dev/null @@ -1 +0,0 @@ -tlsr9518adk80d_2m_flash.overlay \ No newline at end of file diff --git a/src/platform/telink/tlsr9258a_2m_flash.overlay b/src/platform/telink/tlsr9258a_2m_flash.overlay new file mode 100644 index 00000000000000..a87ebba57e874b --- /dev/null +++ b/src/platform/telink/tlsr9258a_2m_flash.overlay @@ -0,0 +1,36 @@ +&flash { + reg = <0x20000000 0x200000>; + + partitions { + /delete-node/ partition@0; + /delete-node/ partition@20000; + /delete-node/ partition@88000; + /delete-node/ partition@f0000; + /delete-node/ partition@f4000; + /delete-node/ partition@fe000; + boot_partition: partition@0 { + label = "mcuboot"; + reg = <0x00000000 0x13000>; + }; + slot0_partition: partition@13000 { + label = "image-0"; + reg = <0x13000 0xef000>; + }; + factory_partition: partition@102000 { + label = "factory-data"; + reg = <0x102000 0x1000>; + }; + storage_partition: partition@103000 { + label = "storage"; + reg = <0x103000 0xc000>; + }; + slot1_partition: partition@10f000 { + label = "image-1"; + reg = <0x10f000 0xef000>; + }; + vendor_partition: partition@1fe000 { + label = "vendor-data"; + reg = <0x1fe000 0x2000>; + }; + }; +};