diff --git a/tests/drivers/flash/common/boards/ek_ra4e2.overlay b/tests/drivers/flash/common/boards/ek_ra4e2.overlay new file mode 100644 index 000000000000000..0051de402ea54d1 --- /dev/null +++ b/tests/drivers/flash/common/boards/ek_ra4e2.overlay @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2024 Renesas Electronics Corporation + * SPDX-License-Identifier: Apache-2.0 + */ + +/delete-node/ &storage_partition; + +&flash0 { + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + /* Set 2 last blocks of the code flash as storage partition */ + storage_partition: partition@10000 { + label = "storage"; + reg = <0x10000 DT_SIZE_K(64)>; + }; + }; +}; diff --git a/tests/drivers/flash/common/boards/ek_ra4m2.overlay b/tests/drivers/flash/common/boards/ek_ra4m2.overlay new file mode 100644 index 000000000000000..106a244980c37c7 --- /dev/null +++ b/tests/drivers/flash/common/boards/ek_ra4m2.overlay @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2024 Renesas Electronics Corporation + * SPDX-License-Identifier: Apache-2.0 + */ + +/delete-node/ &storage_partition; + +&flash0 { + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + /* Set 2 last blocks of the code flash as storage partition */ + storage_partition: partition@70000 { + label = "storage"; + reg = <0x70000 DT_SIZE_K(64)>; + }; + }; +}; diff --git a/tests/drivers/flash/common/boards/ek_ra4m3.overlay b/tests/drivers/flash/common/boards/ek_ra4m3.overlay new file mode 100644 index 000000000000000..6d224ad7c879666 --- /dev/null +++ b/tests/drivers/flash/common/boards/ek_ra4m3.overlay @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2024 Renesas Electronics Corporation + * SPDX-License-Identifier: Apache-2.0 + */ + +/delete-node/ &storage_partition; + +&flash0 { + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + /* Set 2 last blocks of the code flash as storage partition */ + storage_partition: partition@f0000 { + label = "storage"; + reg = <0xf0000 DT_SIZE_K(64)>; + }; + }; +}; diff --git a/tests/drivers/flash/common/boards/ek_ra6e2.overlay b/tests/drivers/flash/common/boards/ek_ra6e2.overlay new file mode 100644 index 000000000000000..2b8ad1e1e6c21bb --- /dev/null +++ b/tests/drivers/flash/common/boards/ek_ra6e2.overlay @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2024 Renesas Electronics Corporation + * SPDX-License-Identifier: Apache-2.0 + */ + +/delete-node/ &storage_partition; + +&flash0 { + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + /* Set 2 last blocks of the code flash as storage partition */ + storage_partition: partition@30000 { + label = "storage"; + reg = <0x30000 DT_SIZE_K(64)>; + }; + }; +}; diff --git a/tests/drivers/flash/common/boards/ek_ra6m1.overlay b/tests/drivers/flash/common/boards/ek_ra6m1.overlay new file mode 100644 index 000000000000000..106a244980c37c7 --- /dev/null +++ b/tests/drivers/flash/common/boards/ek_ra6m1.overlay @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2024 Renesas Electronics Corporation + * SPDX-License-Identifier: Apache-2.0 + */ + +/delete-node/ &storage_partition; + +&flash0 { + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + /* Set 2 last blocks of the code flash as storage partition */ + storage_partition: partition@70000 { + label = "storage"; + reg = <0x70000 DT_SIZE_K(64)>; + }; + }; +}; diff --git a/tests/drivers/flash/common/boards/ek_ra6m2.overlay b/tests/drivers/flash/common/boards/ek_ra6m2.overlay new file mode 100644 index 000000000000000..a910732a53a2224 --- /dev/null +++ b/tests/drivers/flash/common/boards/ek_ra6m2.overlay @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2024 Renesas Electronics Corporation + * SPDX-License-Identifier: Apache-2.0 + */ + +/delete-node/ &storage_partition; + +&flash0 { + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + /* Set 2 last blocks of the code flash as storage partition */ + storage_partition: partition@F0000 { + label = "storage"; + reg = <0xF0000 DT_SIZE_K(64)>; + }; + }; +}; diff --git a/tests/drivers/flash/common/boards/ek_ra6m3.overlay b/tests/drivers/flash/common/boards/ek_ra6m3.overlay new file mode 100644 index 000000000000000..d1b6a6776373b0a --- /dev/null +++ b/tests/drivers/flash/common/boards/ek_ra6m3.overlay @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2024 Renesas Electronics Corporation + * SPDX-License-Identifier: Apache-2.0 + */ + +/delete-node/ &storage_partition; + +&flash0 { + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + /* Set 2 last blocks of the code flash as storage partition */ + storage_partition: partition@1F0000 { + label = "storage"; + reg = <0x1F0000 DT_SIZE_K(64)>; + }; + }; +}; diff --git a/tests/drivers/flash/common/boards/ek_ra6m4.overlay b/tests/drivers/flash/common/boards/ek_ra6m4.overlay new file mode 100644 index 000000000000000..a910732a53a2224 --- /dev/null +++ b/tests/drivers/flash/common/boards/ek_ra6m4.overlay @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2024 Renesas Electronics Corporation + * SPDX-License-Identifier: Apache-2.0 + */ + +/delete-node/ &storage_partition; + +&flash0 { + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + /* Set 2 last blocks of the code flash as storage partition */ + storage_partition: partition@F0000 { + label = "storage"; + reg = <0xF0000 DT_SIZE_K(64)>; + }; + }; +}; diff --git a/tests/drivers/flash/common/boards/ek_ra6m5.overlay b/tests/drivers/flash/common/boards/ek_ra6m5.overlay new file mode 100644 index 000000000000000..d1b6a6776373b0a --- /dev/null +++ b/tests/drivers/flash/common/boards/ek_ra6m5.overlay @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2024 Renesas Electronics Corporation + * SPDX-License-Identifier: Apache-2.0 + */ + +/delete-node/ &storage_partition; + +&flash0 { + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + /* Set 2 last blocks of the code flash as storage partition */ + storage_partition: partition@1F0000 { + label = "storage"; + reg = <0x1F0000 DT_SIZE_K(64)>; + }; + }; +}; diff --git a/tests/drivers/flash/common/boards/fpb_ra6e1.overlay b/tests/drivers/flash/common/boards/fpb_ra6e1.overlay new file mode 100644 index 000000000000000..a910732a53a2224 --- /dev/null +++ b/tests/drivers/flash/common/boards/fpb_ra6e1.overlay @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2024 Renesas Electronics Corporation + * SPDX-License-Identifier: Apache-2.0 + */ + +/delete-node/ &storage_partition; + +&flash0 { + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + /* Set 2 last blocks of the code flash as storage partition */ + storage_partition: partition@F0000 { + label = "storage"; + reg = <0xF0000 DT_SIZE_K(64)>; + }; + }; +}; diff --git a/tests/drivers/flash/common/boards/fpb_ra6e2.overlay b/tests/drivers/flash/common/boards/fpb_ra6e2.overlay new file mode 100644 index 000000000000000..2b8ad1e1e6c21bb --- /dev/null +++ b/tests/drivers/flash/common/boards/fpb_ra6e2.overlay @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2024 Renesas Electronics Corporation + * SPDX-License-Identifier: Apache-2.0 + */ + +/delete-node/ &storage_partition; + +&flash0 { + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + /* Set 2 last blocks of the code flash as storage partition */ + storage_partition: partition@30000 { + label = "storage"; + reg = <0x30000 DT_SIZE_K(64)>; + }; + }; +};