diff --git a/boards/arduino/nano_matter/arduino_nano_matter.dts b/boards/arduino/nano_matter/arduino_nano_matter.dts index 2ed9bc02f2efd..d87e080f83bd8 100644 --- a/boards/arduino/nano_matter/arduino_nano_matter.dts +++ b/boards/arduino/nano_matter/arduino_nano_matter.dts @@ -315,12 +315,13 @@ zephyr_i2c: &i2c0 { &flash0 { partitions { - compatible = "fixed-partitions"; + ranges; #address-cells = <1>; #size-cells = <1>; /* Reserve 48 kB for the bootloader */ boot_partition: partition@0 { + compatible = "zephyr,mapped-partition"; reg = <0x0 DT_SIZE_K(48)>; label = "mcuboot"; read-only; @@ -328,18 +329,21 @@ zephyr_i2c: &i2c0 { /* Reserve 736 kB for the application in slot 0 */ slot0_partition: partition@c000 { + compatible = "zephyr,mapped-partition"; reg = <0x0000c000 0x000b8000>; label = "image-0"; }; /* Reserve 736 kB for the application in slot 1 */ slot1_partition: partition@c4000 { + compatible = "zephyr,mapped-partition"; reg = <0x000c4000 0x000b8000>; label = "image-1"; }; /* Set 16 kB of storage at the end of the 1536 kB of flash */ storage_partition: partition@17c000 { + compatible = "zephyr,mapped-partition"; reg = <0x0017c000 DT_SIZE_K(16)>; label = "storage"; }; diff --git a/boards/seeed/xiao_mg24/xiao_mg24.dts b/boards/seeed/xiao_mg24/xiao_mg24.dts index 3ac144457e011..51518fc7b1228 100644 --- a/boards/seeed/xiao_mg24/xiao_mg24.dts +++ b/boards/seeed/xiao_mg24/xiao_mg24.dts @@ -280,12 +280,13 @@ zephyr_i2c: &i2c0 { &flash0 { partitions { - compatible = "fixed-partitions"; + ranges; #address-cells = <1>; #size-cells = <1>; /* Reserve 48 kB for the bootloader */ boot_partition: partition@0 { + compatible = "zephyr,mapped-partition"; reg = <0x0 DT_SIZE_K(48)>; label = "mcuboot"; read-only; @@ -293,18 +294,21 @@ zephyr_i2c: &i2c0 { /* Reserve 736 kB for the application in slot 0 */ slot0_partition: partition@c000 { + compatible = "zephyr,mapped-partition"; reg = <0x0000c000 0x000b8000>; label = "image-0"; }; /* Reserve 736 kB for the application in slot 1 */ slot1_partition: partition@c4000 { + compatible = "zephyr,mapped-partition"; reg = <0x000c4000 0x000b8000>; label = "image-1"; }; /* Set 16 kB of storage at the end of the 1536 kB of flash */ storage_partition: partition@17c000 { + compatible = "zephyr,mapped-partition"; reg = <0x0017c000 DT_SIZE_K(16)>; label = "storage"; }; diff --git a/boards/silabs/dev_kits/pg23_pk2504a/pg23_pk2504a.dts b/boards/silabs/dev_kits/pg23_pk2504a/pg23_pk2504a.dts index 441c8fe2fc665..18760e8a0098c 100644 --- a/boards/silabs/dev_kits/pg23_pk2504a/pg23_pk2504a.dts +++ b/boards/silabs/dev_kits/pg23_pk2504a/pg23_pk2504a.dts @@ -216,12 +216,13 @@ &flash0 { partitions { - compatible = "fixed-partitions"; + ranges; #address-cells = <1>; #size-cells = <1>; /* Reserve 48 kB for the bootloader */ boot_partition: partition@0 { + compatible = "zephyr,mapped-partition"; reg = <0x0 DT_SIZE_K(48)>; label = "mcuboot"; read-only; @@ -229,18 +230,21 @@ /* Reserve 216 kB for the application in slot 0 */ slot0_partition: partition@c000 { + compatible = "zephyr,mapped-partition"; reg = <0x0000c000 DT_SIZE_K(216)>; label = "image-0"; }; /* Reserve 216 kB for the application in slot 1 */ slot1_partition: partition@42000 { + compatible = "zephyr,mapped-partition"; reg = <0x00042000 DT_SIZE_K(216)>; label = "image-1"; }; /* Reserve 32 kB for the storage partition */ storage_partition: partition@78000 { + compatible = "zephyr,mapped-partition"; reg = <0x00078000 DT_SIZE_K(32)>; label = "storage"; }; diff --git a/boards/silabs/dev_kits/pg28_pk2506a/pg28_pk2506a.dts b/boards/silabs/dev_kits/pg28_pk2506a/pg28_pk2506a.dts index d30b4d255517d..d670c85be3184 100644 --- a/boards/silabs/dev_kits/pg28_pk2506a/pg28_pk2506a.dts +++ b/boards/silabs/dev_kits/pg28_pk2506a/pg28_pk2506a.dts @@ -227,12 +227,13 @@ &flash0 { partitions { - compatible = "fixed-partitions"; + ranges; #address-cells = <1>; #size-cells = <1>; /* Reserve 48 kB for the bootloader */ boot_partition: partition@0 { + compatible = "zephyr,mapped-partition"; reg = <0x0 DT_SIZE_K(48)>; label = "mcuboot"; read-only; @@ -240,18 +241,21 @@ /* Reserve 472 kB for the application in slot 0 */ slot0_partition: partition@c000 { + compatible = "zephyr,mapped-partition"; reg = <0x0000c000 DT_SIZE_K(472)>; label = "image-0"; }; /* Reserve 472 kB for the application in slot 1 */ slot1_partition: partition@82000 { + compatible = "zephyr,mapped-partition"; reg = <0x00082000 DT_SIZE_K(472)>; label = "image-1"; }; /* Reserve 32 kB for the storage partition */ storage_partition: partition@f8000 { + compatible = "zephyr,mapped-partition"; reg = <0x000f8000 DT_SIZE_K(32)>; label = "storage"; }; diff --git a/boards/silabs/dev_kits/sim3u1xx_dk/sim3u1xx_dk.dts b/boards/silabs/dev_kits/sim3u1xx_dk/sim3u1xx_dk.dts index 4a0e2b644702f..96d2965198c8d 100644 --- a/boards/silabs/dev_kits/sim3u1xx_dk/sim3u1xx_dk.dts +++ b/boards/silabs/dev_kits/sim3u1xx_dk/sim3u1xx_dk.dts @@ -97,16 +97,18 @@ status = "okay"; partitions { - compatible = "fixed-partitions"; + ranges; #address-cells = <1>; #size-cells = <1>; slot0_partition: partition@0 { + compatible = "zephyr,mapped-partition"; reg = <0x00000000 DT_SIZE_K(192)>; label = "image-0"; }; storage_partition: partition@30000 { + compatible = "zephyr,mapped-partition"; reg = <0x00030000 DT_SIZE_K(64)>; label = "storage"; }; diff --git a/boards/silabs/dev_kits/siwx917_dk2605a/siwx917_dk2605a.dts b/boards/silabs/dev_kits/siwx917_dk2605a/siwx917_dk2605a.dts index 32e3365cb2b90..d3d2bef98d4be 100644 --- a/boards/silabs/dev_kits/siwx917_dk2605a/siwx917_dk2605a.dts +++ b/boards/silabs/dev_kits/siwx917_dk2605a/siwx917_dk2605a.dts @@ -75,16 +75,18 @@ &flash0 { partitions { - compatible = "fixed-partitions"; + ranges; #address-cells = <1>; #size-cells = <1>; code_partition: partition@202000 { + compatible = "zephyr,mapped-partition"; reg = <0x00202000 DT_SIZE_K(2008)>; label = "code_partition"; }; storage_partition: partition@3f8000 { + compatible = "zephyr,mapped-partition"; reg = <0x003f8000 DT_SIZE_K(32)>; label = "storage"; }; diff --git a/boards/silabs/dev_kits/sltb004a/sltb004a.dts b/boards/silabs/dev_kits/sltb004a/sltb004a.dts index a0eda82876f62..dad8e9b2829a4 100644 --- a/boards/silabs/dev_kits/sltb004a/sltb004a.dts +++ b/boards/silabs/dev_kits/sltb004a/sltb004a.dts @@ -217,12 +217,13 @@ &flash0 { partitions { - compatible = "fixed-partitions"; + ranges; #address-cells = <1>; #size-cells = <1>; /* Set 6Kb of storage at the end of the 1024Kb of flash */ storage_partition: partition@fe800 { + compatible = "zephyr,mapped-partition"; reg = <0x000fe800 0x00001800>; label = "storage"; }; diff --git a/boards/silabs/dev_kits/sltb009a/sltb009a.dts b/boards/silabs/dev_kits/sltb009a/sltb009a.dts index 2c39d3d7bd064..5be8a04c61c06 100644 --- a/boards/silabs/dev_kits/sltb009a/sltb009a.dts +++ b/boards/silabs/dev_kits/sltb009a/sltb009a.dts @@ -137,12 +137,13 @@ &flash0 { partitions { - compatible = "fixed-partitions"; + ranges; #address-cells = <1>; #size-cells = <1>; /* Set 12Kb of storage at the end of the 2048Kb of flash */ storage_partition: partition@1fd000 { + compatible = "zephyr,mapped-partition"; reg = <0x001fd000 0x00003000>; label = "storage"; }; diff --git a/boards/silabs/dev_kits/sltb010a/sltb010a.dts b/boards/silabs/dev_kits/sltb010a/sltb010a.dts index 8e94c86a297a7..18614d68588c6 100644 --- a/boards/silabs/dev_kits/sltb010a/sltb010a.dts +++ b/boards/silabs/dev_kits/sltb010a/sltb010a.dts @@ -78,6 +78,7 @@ partitions { /* Reserve 48 KiB for the bootloader */ boot_partition: partition@0 { + compatible = "zephyr,mapped-partition"; reg = <0x00000000 DT_SIZE_K(48)>; label = "mcuboot"; read-only; @@ -85,18 +86,21 @@ /* Reserve 224 KiB for the application in slot 0 */ slot0_partition: partition@c000 { + compatible = "zephyr,mapped-partition"; reg = <0x0000c000 DT_SIZE_K(224)>; label = "image-0"; }; /* Reserve 224 KiB for the application in slot 1 */ slot1_partition: partition@44000 { + compatible = "zephyr,mapped-partition"; reg = <0x00044000 DT_SIZE_K(224)>; label = "image-1"; }; /* Set 16 KiB of storage at the end of the 512 KiB of flash */ storage_partition: partition@7c000 { + compatible = "zephyr,mapped-partition"; reg = <0x0007c000 DT_SIZE_K(16)>; label = "storage"; }; diff --git a/boards/silabs/dev_kits/sltb010a/thunderboard.dtsi b/boards/silabs/dev_kits/sltb010a/thunderboard.dtsi index 480f9dd81ef2c..219a193483f1e 100644 --- a/boards/silabs/dev_kits/sltb010a/thunderboard.dtsi +++ b/boards/silabs/dev_kits/sltb010a/thunderboard.dtsi @@ -129,7 +129,7 @@ &flash0 { partitions { - compatible = "fixed-partitions"; + ranges; #address-cells = <1>; #size-cells = <1>; }; diff --git a/boards/silabs/dev_kits/xg24_dk2601b/xg24_dk2601b.dts b/boards/silabs/dev_kits/xg24_dk2601b/xg24_dk2601b.dts index 42fec3949ed90..b5655e62120d7 100644 --- a/boards/silabs/dev_kits/xg24_dk2601b/xg24_dk2601b.dts +++ b/boards/silabs/dev_kits/xg24_dk2601b/xg24_dk2601b.dts @@ -267,12 +267,13 @@ &flash0 { partitions { - compatible = "fixed-partitions"; + ranges; #address-cells = <1>; #size-cells = <1>; /* Reserve 48 kB for the bootloader */ boot_partition: partition@0 { + compatible = "zephyr,mapped-partition"; reg = <0x0 DT_SIZE_K(48)>; label = "mcuboot"; read-only; @@ -280,18 +281,21 @@ /* Reserve 728 kB for the application in slot 0 */ slot0_partition: partition@c000 { + compatible = "zephyr,mapped-partition"; reg = <0x0000c000 DT_SIZE_K(728)>; label = "image-0"; }; /* Reserve 728 kB for the application in slot 1 */ slot1_partition: partition@c2000 { + compatible = "zephyr,mapped-partition"; reg = <0x000c2000 DT_SIZE_K(728)>; label = "image-1"; }; /* Set 32 kB of storage at the end of the 1536 kB of flash */ storage_partition: partition@178000 { + compatible = "zephyr,mapped-partition"; reg = <0x00178000 DT_SIZE_K(32)>; label = "storage"; }; diff --git a/boards/silabs/dev_kits/xg24_ek2703a/xg24_ek2703a.dts b/boards/silabs/dev_kits/xg24_ek2703a/xg24_ek2703a.dts index 786dd03f9716f..24893ec14db6f 100644 --- a/boards/silabs/dev_kits/xg24_ek2703a/xg24_ek2703a.dts +++ b/boards/silabs/dev_kits/xg24_ek2703a/xg24_ek2703a.dts @@ -197,12 +197,13 @@ &flash0 { partitions { - compatible = "fixed-partitions"; + ranges; #address-cells = <1>; #size-cells = <1>; /* Reserve 48 kB for the bootloader */ boot_partition: partition@0 { + compatible = "zephyr,mapped-partition"; reg = <0x0 DT_SIZE_K(48)>; label = "mcuboot"; read-only; @@ -210,18 +211,21 @@ /* Reserve 728 kB for the application in slot 0 */ slot0_partition: partition@c000 { + compatible = "zephyr,mapped-partition"; reg = <0x0000c000 DT_SIZE_K(728)>; label = "image-0"; }; /* Reserve 728 kB for the application in slot 1 */ slot1_partition: partition@c2000 { + compatible = "zephyr,mapped-partition"; reg = <0x000c2000 DT_SIZE_K(728)>; label = "image-1"; }; /* Set 32 kB of storage at the end of the 1536 kB of flash */ storage_partition: partition@178000 { + compatible = "zephyr,mapped-partition"; reg = <0x00178000 DT_SIZE_K(32)>; label = "storage"; }; diff --git a/boards/silabs/dev_kits/xg27_dk2602a/thunderboard.dtsi b/boards/silabs/dev_kits/xg27_dk2602a/thunderboard.dtsi index 69b6caab224d2..1585aca60ebb8 100644 --- a/boards/silabs/dev_kits/xg27_dk2602a/thunderboard.dtsi +++ b/boards/silabs/dev_kits/xg27_dk2602a/thunderboard.dtsi @@ -143,7 +143,7 @@ &flash0 { partitions { - compatible = "fixed-partitions"; + ranges; #address-cells = <1>; #size-cells = <1>; }; diff --git a/boards/silabs/dev_kits/xg27_dk2602a/xg27_dk2602a.dts b/boards/silabs/dev_kits/xg27_dk2602a/xg27_dk2602a.dts index e8d6268f288c1..ef7769f9f213b 100644 --- a/boards/silabs/dev_kits/xg27_dk2602a/xg27_dk2602a.dts +++ b/boards/silabs/dev_kits/xg27_dk2602a/xg27_dk2602a.dts @@ -82,6 +82,7 @@ partitions { /* Reserve 48 KiB for the bootloader */ boot_partition: partition@0 { + compatible = "zephyr,mapped-partition"; reg = <0x00000000 0x0000c000>; label = "mcuboot"; read-only; @@ -89,18 +90,21 @@ /* Reserve 344 KiB for the application in slot 0 */ slot0_partition: partition@c000 { + compatible = "zephyr,mapped-partition"; reg = <0x0000c000 DT_SIZE_K(344)>; label = "image-0"; }; /* Reserve 344 KiB for the application in slot 1 */ slot1_partition: partition@62000 { + compatible = "zephyr,mapped-partition"; reg = <0x00062000 DT_SIZE_K(344)>; label = "image-1"; }; /* Set 32 KiB of storage at the end of the 768 KiB of flash */ storage_partition: partition@b8000 { + compatible = "zephyr,mapped-partition"; reg = <0x000b8000 DT_SIZE_K(32)>; label = "storage"; }; diff --git a/boards/silabs/explorer_kits/xg22/xg22_explorer_kit.dtsi b/boards/silabs/explorer_kits/xg22/xg22_explorer_kit.dtsi index d3a29e0de15d2..9ab4d331ecaf4 100644 --- a/boards/silabs/explorer_kits/xg22/xg22_explorer_kit.dtsi +++ b/boards/silabs/explorer_kits/xg22/xg22_explorer_kit.dtsi @@ -212,12 +212,13 @@ &flash0 { partitions { - compatible = "fixed-partitions"; + ranges; #address-cells = <1>; #size-cells = <1>; /* Reserve 48 KiB for the bootloader */ boot_partition: partition@0 { + compatible = "zephyr,mapped-partition"; reg = <0x00000000 DT_SIZE_K(48)>; label = "mcuboot"; read-only; @@ -225,18 +226,21 @@ /* Reserve 224 KiB for the application in slot 0 */ slot0_partition: partition@c000 { + compatible = "zephyr,mapped-partition"; reg = <0x0000c000 DT_SIZE_K(224)>; label = "image-0"; }; /* Reserve 224 KiB for the application in slot 1 */ slot1_partition: partition@44000 { + compatible = "zephyr,mapped-partition"; reg = <0x00044000 DT_SIZE_K(224)>; label = "image-1"; }; /* Set 16 KiB of storage at the end of the 512 KiB of flash */ storage_partition: partition@7c000 { + compatible = "zephyr,mapped-partition"; reg = <0x0007c000 DT_SIZE_K(16)>; label = "storage"; }; diff --git a/boards/silabs/explorer_kits/xg26/xg26_explorer_kit.dtsi b/boards/silabs/explorer_kits/xg26/xg26_explorer_kit.dtsi index e1f7e56bd273e..3685678c2b936 100644 --- a/boards/silabs/explorer_kits/xg26/xg26_explorer_kit.dtsi +++ b/boards/silabs/explorer_kits/xg26/xg26_explorer_kit.dtsi @@ -268,12 +268,13 @@ &flash0 { partitions { - compatible = "fixed-partitions"; + ranges; #address-cells = <1>; #size-cells = <1>; /* Reserve 48 KiB for the bootloader */ boot_partition: partition@0 { + compatible = "zephyr,mapped-partition"; reg = <0x00000000 DT_SIZE_K(48)>; label = "mcuboot"; read-only; @@ -281,18 +282,21 @@ /* Reserve 1560 KiB for the application in slot 0 */ slot0_partition: partition@c000 { + compatible = "zephyr,mapped-partition"; reg = <0x0000c000 DT_SIZE_K(1560)>; label = "image-0"; }; /* Reserve 1560 KiB for the application in slot 1 */ slot1_partition: partition@192000 { + compatible = "zephyr,mapped-partition"; reg = <0x00192000 DT_SIZE_K(1560)>; label = "image-1"; }; /* Set 32 KiB of storage at the end of the 3200 KiB of flash */ storage_partition: partition@318000 { + compatible = "zephyr,mapped-partition"; reg = <0x00318000 DT_SIZE_K(32)>; label = "storage"; }; diff --git a/boards/silabs/explorer_kits/xg28/xg28_ek2705a.dts b/boards/silabs/explorer_kits/xg28/xg28_ek2705a.dts index 9d362cbc34e31..0c3c4b528a0fb 100644 --- a/boards/silabs/explorer_kits/xg28/xg28_ek2705a.dts +++ b/boards/silabs/explorer_kits/xg28/xg28_ek2705a.dts @@ -161,26 +161,30 @@ zephyr_spi: &eusart1 {}; &flash0 { partitions { - compatible = "fixed-partitions"; + ranges; #address-cells = <1>; #size-cells = <1>; boot_partition: partition@0 { + compatible = "zephyr,mapped-partition"; reg = <0x00000000 DT_SIZE_K(48)>; label = "mcuboot"; }; slot0_partition: partition@c000 { + compatible = "zephyr,mapped-partition"; reg = <0xc000 DT_SIZE_K(472)>; label = "image-0"; }; slot1_partition: partition@82000 { + compatible = "zephyr,mapped-partition"; reg = <0x00082000 DT_SIZE_K(472)>; label = "image-1"; }; storage_partition: partition@f8000 { + compatible = "zephyr,mapped-partition"; reg = <0x000f8000 DT_SIZE_K(32)>; label = "storage"; }; diff --git a/boards/silabs/radio_boards/bg29_rb4420a/bg29_rb4420a.dts b/boards/silabs/radio_boards/bg29_rb4420a/bg29_rb4420a.dts index bef50a7f9d556..6bff0411a1193 100644 --- a/boards/silabs/radio_boards/bg29_rb4420a/bg29_rb4420a.dts +++ b/boards/silabs/radio_boards/bg29_rb4420a/bg29_rb4420a.dts @@ -201,26 +201,30 @@ &flash0 { partitions { - compatible = "fixed-partitions"; + ranges; #address-cells = <1>; #size-cells = <1>; boot_partition: partition@0 { + compatible = "zephyr,mapped-partition"; reg = <0x00000000 DT_SIZE_K(48)>; label = "mcuboot"; }; slot0_partition: partition@c000 { + compatible = "zephyr,mapped-partition"; reg = <0x0000c000 DT_SIZE_K(472)>; label = "image-0"; }; slot1_partition: partition@82000 { + compatible = "zephyr,mapped-partition"; reg = <0x00082000 DT_SIZE_K(472)>; label = "image-1"; }; storage_partition: partition@f8000 { + compatible = "zephyr,mapped-partition"; reg = <0x000f8000 DT_SIZE_K(32)>; label = "storage"; }; diff --git a/boards/silabs/radio_boards/siwx917/common.dtsi b/boards/silabs/radio_boards/siwx917/common.dtsi index 3f4de95fb0758..90597aa48bcc8 100644 --- a/boards/silabs/radio_boards/siwx917/common.dtsi +++ b/boards/silabs/radio_boards/siwx917/common.dtsi @@ -99,16 +99,18 @@ &flash0 { partitions { - compatible = "fixed-partitions"; + ranges; #address-cells = <1>; #size-cells = <1>; code_partition: partition@202000 { + compatible = "zephyr,mapped-partition"; reg = <0x00202000 DT_SIZE_K(2008)>; label = "code_partition"; }; storage_partition: partition@3f8000 { + compatible = "zephyr,mapped-partition"; reg = <0x003f8000 DT_SIZE_K(32)>; label = "storage"; }; diff --git a/boards/silabs/radio_boards/slwrb4104a/slwrb4104a.dts b/boards/silabs/radio_boards/slwrb4104a/slwrb4104a.dts index 878e513f1e710..96624f5f33b37 100644 --- a/boards/silabs/radio_boards/slwrb4104a/slwrb4104a.dts +++ b/boards/silabs/radio_boards/slwrb4104a/slwrb4104a.dts @@ -19,12 +19,13 @@ &flash0 { partitions { - compatible = "fixed-partitions"; + ranges; #address-cells = <1>; #size-cells = <1>; /* Reserve 32 kB for the bootloader */ boot_partition: partition@0 { + compatible = "zephyr,mapped-partition"; reg = <0x0 0x00008000>; label = "mcuboot"; read-only; @@ -32,24 +33,28 @@ /* Reserve 220 kB for the application in slot 0 */ slot0_partition: partition@8000 { + compatible = "zephyr,mapped-partition"; reg = <0x00008000 0x00037000>; label = "image-0"; }; /* Reserve 220 kB for the application in slot 1 */ slot1_partition: partition@3f000 { + compatible = "zephyr,mapped-partition"; reg = <0x0003f000 0x00037000>; label = "image-1"; }; /* Reserve 32 kB for the scratch partition */ scratch_partition: partition@76000 { + compatible = "zephyr,mapped-partition"; reg = <0x00076000 0x00008000>; label = "image-scratch"; }; /* Set 8Kb of storage at the end of the 512KB of flash */ storage_partition: partition@7e000 { + compatible = "zephyr,mapped-partition"; reg = <0x0007e000 0x00002000>; label = "storage"; }; diff --git a/boards/silabs/radio_boards/slwrb4161a/slwrb4161a.dts b/boards/silabs/radio_boards/slwrb4161a/slwrb4161a.dts index a94adefbbae2e..a006603dd9e40 100644 --- a/boards/silabs/radio_boards/slwrb4161a/slwrb4161a.dts +++ b/boards/silabs/radio_boards/slwrb4161a/slwrb4161a.dts @@ -19,12 +19,13 @@ &flash0 { partitions { - compatible = "fixed-partitions"; + ranges; #address-cells = <1>; #size-cells = <1>; /* Reserve 32 kB for the bootloader */ boot_partition: partition@0 { + compatible = "zephyr,mapped-partition"; reg = <0x0 0x00008000>; label = "mcuboot"; read-only; @@ -32,24 +33,28 @@ /* Reserve 220 kB for the application in slot 0 */ slot0_partition: partition@8000 { + compatible = "zephyr,mapped-partition"; reg = <0x00008000 0x00037000>; label = "image-0"; }; /* Reserve 220 kB for the application in slot 1 */ slot1_partition: partition@3f000 { + compatible = "zephyr,mapped-partition"; reg = <0x0003f000 0x00037000>; label = "image-1"; }; /* Reserve 32 kB for the scratch partition */ scratch_partition: partition@76000 { + compatible = "zephyr,mapped-partition"; reg = <0x00076000 0x00008000>; label = "image-scratch"; }; /* Set 8Kb of storage at the end of the 512KB of flash */ storage_partition: partition@7e000 { + compatible = "zephyr,mapped-partition"; reg = <0x0007e000 0x00002000>; label = "storage"; }; diff --git a/boards/silabs/radio_boards/slwrb4170a/slwrb4170a.dts b/boards/silabs/radio_boards/slwrb4170a/slwrb4170a.dts index b4c78b27f19a2..f3fe30ce5ca8b 100644 --- a/boards/silabs/radio_boards/slwrb4170a/slwrb4170a.dts +++ b/boards/silabs/radio_boards/slwrb4170a/slwrb4170a.dts @@ -19,12 +19,13 @@ &flash0 { partitions { - compatible = "fixed-partitions"; + ranges; #address-cells = <1>; #size-cells = <1>; /* Reserve 32 kB for the bootloader */ boot_partition: partition@0 { + compatible = "zephyr,mapped-partition"; reg = <0x0 0x00008000>; label = "mcuboot"; read-only; @@ -32,24 +33,28 @@ /* Reserve 220 kB for the application in slot 0 */ slot0_partition: partition@8000 { + compatible = "zephyr,mapped-partition"; reg = <0x00008000 0x00037000>; label = "image-0"; }; /* Reserve 220 kB for the application in slot 1 */ slot1_partition: partition@3f000 { + compatible = "zephyr,mapped-partition"; reg = <0x0003f000 0x00037000>; label = "image-1"; }; /* Reserve 32 kB for the scratch partition */ scratch_partition: partition@76000 { + compatible = "zephyr,mapped-partition"; reg = <0x00076000 0x00008000>; label = "image-scratch"; }; /* Set 8Kb of storage at the end of the 512KB of flash */ storage_partition: partition@7e000 { + compatible = "zephyr,mapped-partition"; reg = <0x0007e000 0x00002000>; label = "storage"; }; diff --git a/boards/silabs/radio_boards/slwrb4180a/slwrb4180a.dts b/boards/silabs/radio_boards/slwrb4180a/slwrb4180a.dts index 53a57a56e78f7..cca602c32f966 100644 --- a/boards/silabs/radio_boards/slwrb4180a/slwrb4180a.dts +++ b/boards/silabs/radio_boards/slwrb4180a/slwrb4180a.dts @@ -215,12 +215,13 @@ &flash0 { partitions { - compatible = "fixed-partitions"; + ranges; #address-cells = <1>; #size-cells = <1>; /* Reserve 48 kB for the bootloader */ boot_partition: partition@0 { + compatible = "zephyr,mapped-partition"; reg = <0x0 DT_SIZE_K(48)>; label = "mcuboot"; read-only; @@ -228,18 +229,21 @@ /* Reserve 472 kB for the application in slot 0 */ slot0_partition: partition@c000 { + compatible = "zephyr,mapped-partition"; reg = <0x0000c000 DT_SIZE_K(472)>; label = "image-0"; }; /* Reserve 472 kB for the application in slot 1 */ slot1_partition: partition@82000 { + compatible = "zephyr,mapped-partition"; reg = <0x00082000 DT_SIZE_K(472)>; label = "image-1"; }; /* Set 32Kb of storage at the end of the 1024Kb of flash */ storage_partition: partition@f8000 { + compatible = "zephyr,mapped-partition"; reg = <0x000f8000 DT_SIZE_K(32)>; label = "storage"; }; diff --git a/boards/silabs/radio_boards/slwrb4180b/slwrb4180b.dts b/boards/silabs/radio_boards/slwrb4180b/slwrb4180b.dts index d22b1100b1f4b..2fe72d710d113 100644 --- a/boards/silabs/radio_boards/slwrb4180b/slwrb4180b.dts +++ b/boards/silabs/radio_boards/slwrb4180b/slwrb4180b.dts @@ -217,26 +217,30 @@ &flash0 { partitions { - compatible = "fixed-partitions"; + ranges; #address-cells = <1>; #size-cells = <1>; boot_partition: partition@0 { + compatible = "zephyr,mapped-partition"; reg = <0x00000000 DT_SIZE_K(48)>; label = "mcuboot"; }; slot0_partition: partition@c000 { + compatible = "zephyr,mapped-partition"; reg = <0x0000c000 DT_SIZE_K(472)>; label = "image-0"; }; slot1_partition: partition@82000 { + compatible = "zephyr,mapped-partition"; reg = <0x00082000 DT_SIZE_K(472)>; label = "image-1"; }; storage_partition: partition@f8000 { + compatible = "zephyr,mapped-partition"; reg = <0x000f8000 DT_SIZE_K(32)>; label = "storage"; }; diff --git a/boards/silabs/radio_boards/slwrb4250b/slwrb4250b.dts b/boards/silabs/radio_boards/slwrb4250b/slwrb4250b.dts index d6cb05851f28f..7a10867b3087f 100644 --- a/boards/silabs/radio_boards/slwrb4250b/slwrb4250b.dts +++ b/boards/silabs/radio_boards/slwrb4250b/slwrb4250b.dts @@ -42,12 +42,13 @@ &flash0 { partitions { - compatible = "fixed-partitions"; + ranges; #address-cells = <1>; #size-cells = <1>; /* Reserve 32 kB for the bootloader */ boot_partition: partition@0 { + compatible = "zephyr,mapped-partition"; reg = <0x0 0x00008000>; label = "mcuboot"; read-only; @@ -55,24 +56,28 @@ /* Reserve 94 kB for the application in slot 0 */ slot0_partition: partition@8000 { + compatible = "zephyr,mapped-partition"; reg = <0x00008000 0x00017800>; label = "image-0"; }; /* Reserve 94 kB for the application in slot 1 */ slot1_partition: partition@1f800 { + compatible = "zephyr,mapped-partition"; reg = <0x0001f800 0x00017800>; label = "image-1"; }; /* Reserve 30 kB for the scratch partition */ scratch_partition: partition@37000 { + compatible = "zephyr,mapped-partition"; reg = <0x00037000 0x00007800>; label = "image-scratch"; }; /* Set 6Kb of storage at the end of the 256Kb of flash */ storage_partition: partition@3e800 { + compatible = "zephyr,mapped-partition"; reg = <0x0003e800 0x00001800>; label = "storage"; }; diff --git a/boards/silabs/radio_boards/slwrb4255a/slwrb4255a.dts b/boards/silabs/radio_boards/slwrb4255a/slwrb4255a.dts index 954c6d6425351..cd1a719eeec8a 100644 --- a/boards/silabs/radio_boards/slwrb4255a/slwrb4255a.dts +++ b/boards/silabs/radio_boards/slwrb4255a/slwrb4255a.dts @@ -21,12 +21,13 @@ &flash0 { partitions { - compatible = "fixed-partitions"; + ranges; #address-cells = <1>; #size-cells = <1>; /* Reserve 32 kB for the bootloader */ boot_partition: partition@0 { + compatible = "zephyr,mapped-partition"; reg = <0x0 0x00008000>; label = "mcuboot"; read-only; @@ -34,24 +35,28 @@ /* Reserve 220 kB for the application in slot 0 */ slot0_partition: partition@8000 { + compatible = "zephyr,mapped-partition"; reg = <0x00008000 0x00037000>; label = "image-0"; }; /* Reserve 220 kB for the application in slot 1 */ slot1_partition: partition@3f000 { + compatible = "zephyr,mapped-partition"; reg = <0x0003f000 0x00037000>; label = "image-1"; }; /* Reserve 32 kB for the scratch partition */ scratch_partition: partition@76000 { + compatible = "zephyr,mapped-partition"; reg = <0x00076000 0x00008000>; label = "image-scratch"; }; /* Set 8Kb of storage at the end of the 512KB of flash */ storage_partition: partition@7e000 { + compatible = "zephyr,mapped-partition"; reg = <0x0007e000 0x00002000>; label = "storage"; }; diff --git a/boards/silabs/radio_boards/slwrb4321a/slwrb4321a.dts b/boards/silabs/radio_boards/slwrb4321a/slwrb4321a.dts index e7ecedc30f857..da6e3020169ac 100644 --- a/boards/silabs/radio_boards/slwrb4321a/slwrb4321a.dts +++ b/boards/silabs/radio_boards/slwrb4321a/slwrb4321a.dts @@ -148,12 +148,13 @@ &flash0 { partitions { - compatible = "fixed-partitions"; + ranges; #address-cells = <1>; #size-cells = <1>; /* Set 12Kb of storage at the end of the 2048Kb of flash */ storage_partition: partition@1fd000 { + compatible = "zephyr,mapped-partition"; reg = <0x001fd000 0x00003000>; label = "storage"; }; diff --git a/boards/silabs/radio_boards/xg22/xg22_radio_board.dtsi b/boards/silabs/radio_boards/xg22/xg22_radio_board.dtsi index c642b806e48cb..c9e311c58d469 100644 --- a/boards/silabs/radio_boards/xg22/xg22_radio_board.dtsi +++ b/boards/silabs/radio_boards/xg22/xg22_radio_board.dtsi @@ -154,26 +154,30 @@ &flash0 { partitions { - compatible = "fixed-partitions"; + ranges; #address-cells = <1>; #size-cells = <1>; boot_partition: partition@0 { + compatible = "zephyr,mapped-partition"; reg = <0x00000000 DT_SIZE_K(48)>; label = "mcuboot"; }; slot0_partition: partition@c000 { + compatible = "zephyr,mapped-partition"; reg = <0x0000c000 DT_SIZE_K(224)>; label = "image-0"; }; slot1_partition: partition@44000 { + compatible = "zephyr,mapped-partition"; reg = <0x00044000 DT_SIZE_K(224)>; label = "image-1"; }; storage_partition: partition@7c000 { + compatible = "zephyr,mapped-partition"; reg = <0x0007c000 DT_SIZE_K(16)>; label = "storage"; }; diff --git a/boards/silabs/radio_boards/xg23_rb4210a/xg23_rb4210a.dts b/boards/silabs/radio_boards/xg23_rb4210a/xg23_rb4210a.dts index 13ac7108846cf..044fa905053a4 100644 --- a/boards/silabs/radio_boards/xg23_rb4210a/xg23_rb4210a.dts +++ b/boards/silabs/radio_boards/xg23_rb4210a/xg23_rb4210a.dts @@ -238,12 +238,13 @@ &flash0 { partitions { - compatible = "fixed-partitions"; + ranges; #address-cells = <1>; #size-cells = <1>; /* Reserve 48 kB for the bootloader */ boot_partition: partition@0 { + compatible = "zephyr,mapped-partition"; reg = <0x0 DT_SIZE_K(48)>; label = "mcuboot"; read-only; @@ -251,18 +252,21 @@ /* Reserve 216 kB for the application in slot 0 */ slot0_partition: partition@c000 { + compatible = "zephyr,mapped-partition"; reg = <0x0000c000 DT_SIZE_K(216)>; label = "image-0"; }; /* Reserve 216 kB for the application in slot 1 */ slot1_partition: partition@42000 { + compatible = "zephyr,mapped-partition"; reg = <0x00042000 DT_SIZE_K(216)>; label = "image-1"; }; /* Set 32 kB of storage at the end of the 512 kB of flash */ storage_partition: partition@78000 { + compatible = "zephyr,mapped-partition"; reg = <0x00078000 DT_SIZE_K(32)>; label = "storage"; }; diff --git a/boards/silabs/radio_boards/xg24/xg24_rb418xc.dtsi b/boards/silabs/radio_boards/xg24/xg24_rb418xc.dtsi index 2159935b9ae50..8002045eb202d 100644 --- a/boards/silabs/radio_boards/xg24/xg24_rb418xc.dtsi +++ b/boards/silabs/radio_boards/xg24/xg24_rb418xc.dtsi @@ -245,12 +245,13 @@ &flash0 { partitions { - compatible = "fixed-partitions"; + ranges; #address-cells = <1>; #size-cells = <1>; /* Reserve 48 kB for the bootloader */ boot_partition: partition@0 { + compatible = "zephyr,mapped-partition"; reg = <0x0 DT_SIZE_K(48)>; label = "mcuboot"; read-only; @@ -258,18 +259,21 @@ /* Reserve 728 kB for the application in slot 0 */ slot0_partition: partition@c000 { + compatible = "zephyr,mapped-partition"; reg = <0x0000c000 DT_SIZE_K(728)>; label = "image-0"; }; /* Reserve 728 kB for the application in slot 1 */ slot1_partition: partition@c2000 { + compatible = "zephyr,mapped-partition"; reg = <0x000c2000 DT_SIZE_K(728)>; label = "image-1"; }; /* Set 32 kB of storage at the end of the 1536 kB of flash */ storage_partition: partition@178000 { + compatible = "zephyr,mapped-partition"; reg = <0x00178000 DT_SIZE_K(32)>; label = "storage"; }; diff --git a/boards/silabs/radio_boards/xg24/xgm240_rb431xa.dtsi b/boards/silabs/radio_boards/xg24/xgm240_rb431xa.dtsi index 8eae267495f6e..213b95746c517 100644 --- a/boards/silabs/radio_boards/xg24/xgm240_rb431xa.dtsi +++ b/boards/silabs/radio_boards/xg24/xgm240_rb431xa.dtsi @@ -224,12 +224,13 @@ &flash0 { partitions { - compatible = "fixed-partitions"; + ranges; #address-cells = <1>; #size-cells = <1>; /* Reserve 48 kB for the bootloader */ boot_partition: partition@0 { + compatible = "zephyr,mapped-partition"; reg = <0x0 DT_SIZE_K(48)>; label = "mcuboot"; read-only; @@ -237,18 +238,21 @@ /* Reserve 728 kB for the application in slot 0 */ slot0_partition: partition@c000 { + compatible = "zephyr,mapped-partition"; reg = <0x0000c000 DT_SIZE_K(728)>; label = "image-0"; }; /* Reserve 728 kB for the application in slot 1 */ slot1_partition: partition@c2000 { + compatible = "zephyr,mapped-partition"; reg = <0x000c2000 DT_SIZE_K(728)>; label = "image-1"; }; /* Set 32 kB of storage at the end of the 1536 kB of flash */ storage_partition: partition@178000 { + compatible = "zephyr,mapped-partition"; reg = <0x00178000 DT_SIZE_K(32)>; label = "storage"; }; diff --git a/boards/silabs/radio_boards/xg26/mgm260p_rb4350a.dts b/boards/silabs/radio_boards/xg26/mgm260p_rb4350a.dts index 5d8a11179b1a8..4d180e0f12b99 100644 --- a/boards/silabs/radio_boards/xg26/mgm260p_rb4350a.dts +++ b/boards/silabs/radio_boards/xg26/mgm260p_rb4350a.dts @@ -320,12 +320,13 @@ &flash0 { partitions { - compatible = "fixed-partitions"; + ranges; #address-cells = <1>; #size-cells = <1>; /* Reserve 48 KiB for the bootloader */ boot_partition: partition@0 { + compatible = "zephyr,mapped-partition"; reg = <0x00000000 DT_SIZE_K(48)>; label = "mcuboot"; read-only; @@ -333,18 +334,21 @@ /* Reserve 1560 KiB for the application in slot 0 */ slot0_partition: partition@c000 { + compatible = "zephyr,mapped-partition"; reg = <0x0000c000 DT_SIZE_K(1560)>; label = "image-0"; }; /* Reserve 1560 KiB for the application in slot 1 */ slot1_partition: partition@192000 { + compatible = "zephyr,mapped-partition"; reg = <0x00192000 DT_SIZE_K(1560)>; label = "image-1"; }; /* Set 32 KiB of storage at the end of the 3200 KiB of flash */ storage_partition: partition@318000 { + compatible = "zephyr,mapped-partition"; reg = <0x00318000 DT_SIZE_K(32)>; label = "storage"; }; diff --git a/boards/silabs/radio_boards/xg26/xg26_rb41xxa.dtsi b/boards/silabs/radio_boards/xg26/xg26_rb41xxa.dtsi index b6cf82b0c74e1..5d78c1c75ad06 100644 --- a/boards/silabs/radio_boards/xg26/xg26_rb41xxa.dtsi +++ b/boards/silabs/radio_boards/xg26/xg26_rb41xxa.dtsi @@ -324,12 +324,13 @@ &flash0 { partitions { - compatible = "fixed-partitions"; + ranges; #address-cells = <1>; #size-cells = <1>; /* Reserve 48 KiB for the bootloader */ boot_partition: partition@0 { + compatible = "zephyr,mapped-partition"; reg = <0x00000000 DT_SIZE_K(48)>; label = "mcuboot"; read-only; @@ -337,18 +338,21 @@ /* Reserve 1560 KiB for the application in slot 0 */ slot0_partition: partition@c000 { + compatible = "zephyr,mapped-partition"; reg = <0x0000c000 DT_SIZE_K(1560)>; label = "image-0"; }; /* Reserve 1560 KiB for the application in slot 1 */ slot1_partition: partition@192000 { + compatible = "zephyr,mapped-partition"; reg = <0x00192000 DT_SIZE_K(1560)>; label = "image-1"; }; /* Set 32 KiB of storage at the end of the 3200 KiB of flash */ storage_partition: partition@318000 { + compatible = "zephyr,mapped-partition"; reg = <0x00318000 DT_SIZE_K(32)>; label = "storage"; }; diff --git a/boards/silabs/radio_boards/xg27/bg27_rb411xb.dtsi b/boards/silabs/radio_boards/xg27/bg27_rb411xb.dtsi index e42db1c3dfa76..691b7dca31a50 100644 --- a/boards/silabs/radio_boards/xg27/bg27_rb411xb.dtsi +++ b/boards/silabs/radio_boards/xg27/bg27_rb411xb.dtsi @@ -194,26 +194,30 @@ &flash0 { partitions { - compatible = "fixed-partitions"; + ranges; #address-cells = <1>; #size-cells = <1>; boot_partition: partition@0 { + compatible = "zephyr,mapped-partition"; reg = <0x00000000 DT_SIZE_K(48)>; label = "mcuboot"; }; slot0_partition: partition@c000 { + compatible = "zephyr,mapped-partition"; reg = <0x0000c000 DT_SIZE_K(344)>; label = "image-0"; }; slot1_partition: partition@62000 { + compatible = "zephyr,mapped-partition"; reg = <0x00062000 DT_SIZE_K(344)>; label = "image-1"; }; storage_partition: partition@b8000 { + compatible = "zephyr,mapped-partition"; reg = <0x000b8000 DT_SIZE_K(32)>; label = "storage"; }; diff --git a/boards/silabs/radio_boards/xg27/xg27_rb4194a.dts b/boards/silabs/radio_boards/xg27/xg27_rb4194a.dts index 9863c13a4e88d..ae65e0eb74098 100644 --- a/boards/silabs/radio_boards/xg27/xg27_rb4194a.dts +++ b/boards/silabs/radio_boards/xg27/xg27_rb4194a.dts @@ -291,26 +291,30 @@ &flash0 { partitions { - compatible = "fixed-partitions"; + ranges; #address-cells = <1>; #size-cells = <1>; boot_partition: partition@0 { + compatible = "zephyr,mapped-partition"; reg = <0x00000000 DT_SIZE_K(48)>; label = "mcuboot"; }; slot0_partition: partition@c000 { + compatible = "zephyr,mapped-partition"; reg = <0x0000c000 DT_SIZE_K(344)>; label = "image-0"; }; slot1_partition: partition@62000 { + compatible = "zephyr,mapped-partition"; reg = <0x00062000 DT_SIZE_K(344)>; label = "image-1"; }; storage_partition: partition@b8000 { + compatible = "zephyr,mapped-partition"; reg = <0x000b8000 DT_SIZE_K(32)>; label = "storage"; }; diff --git a/boards/silabs/radio_boards/xg28_rb4401c/xg28_rb4401c.dts b/boards/silabs/radio_boards/xg28_rb4401c/xg28_rb4401c.dts index 24464fb4c7df4..b2308b18da169 100644 --- a/boards/silabs/radio_boards/xg28_rb4401c/xg28_rb4401c.dts +++ b/boards/silabs/radio_boards/xg28_rb4401c/xg28_rb4401c.dts @@ -241,12 +241,13 @@ &flash0 { partitions { - compatible = "fixed-partitions"; + ranges; #address-cells = <1>; #size-cells = <1>; /* Reserve 48 kB for the bootloader */ boot_partition: partition@0 { + compatible = "zephyr,mapped-partition"; reg = <0x0 DT_SIZE_K(48)>; label = "mcuboot"; read-only; @@ -254,18 +255,21 @@ /* Reserve 472 kB for the application in slot 0 */ slot0_partition: partition@c000 { + compatible = "zephyr,mapped-partition"; reg = <0x0000c000 DT_SIZE_K(472)>; label = "image-0"; }; /* Reserve 472 kB for the application in slot 1 */ slot1_partition: partition@82000 { + compatible = "zephyr,mapped-partition"; reg = <0x00082000 DT_SIZE_K(472)>; label = "image-1"; }; /* Set 32 kB of storage at the end of the 1024 kB of flash */ storage_partition: partition@f8000 { + compatible = "zephyr,mapped-partition"; reg = <0x000f8000 DT_SIZE_K(32)>; label = "storage"; }; diff --git a/boards/silabs/radio_boards/xg29_rb4412a/xg29_rb4412a.dts b/boards/silabs/radio_boards/xg29_rb4412a/xg29_rb4412a.dts index eb409752b1bf4..90b86ce0101f7 100644 --- a/boards/silabs/radio_boards/xg29_rb4412a/xg29_rb4412a.dts +++ b/boards/silabs/radio_boards/xg29_rb4412a/xg29_rb4412a.dts @@ -290,26 +290,30 @@ &flash0 { partitions { - compatible = "fixed-partitions"; + ranges; #address-cells = <1>; #size-cells = <1>; boot_partition: partition@0 { + compatible = "zephyr,mapped-partition"; reg = <0x00000000 DT_SIZE_K(48)>; label = "mcuboot"; }; slot0_partition: partition@c000 { + compatible = "zephyr,mapped-partition"; reg = <0x0000c000 DT_SIZE_K(472)>; label = "image-0"; }; slot1_partition: partition@82000 { + compatible = "zephyr,mapped-partition"; reg = <0x00082000 DT_SIZE_K(472)>; label = "image-1"; }; storage_partition: partition@f8000 { + compatible = "zephyr,mapped-partition"; reg = <0x000f8000 DT_SIZE_K(32)>; label = "storage"; }; diff --git a/boards/silabs/starter_kits/efm32wg_stk3800/efm32wg_stk3800.dts b/boards/silabs/starter_kits/efm32wg_stk3800/efm32wg_stk3800.dts index a2f0dfd97e78d..9453dca3542ab 100644 --- a/boards/silabs/starter_kits/efm32wg_stk3800/efm32wg_stk3800.dts +++ b/boards/silabs/starter_kits/efm32wg_stk3800/efm32wg_stk3800.dts @@ -96,12 +96,13 @@ &flash0 { partitions { - compatible = "fixed-partitions"; + ranges; #address-cells = <1>; #size-cells = <1>; /* Set 6Kb of storage at the end of the 256Kb of flash */ storage_partition: partition@3e800 { + compatible = "zephyr,mapped-partition"; reg = <0x0003e800 0x00001800>; label = "storage"; }; diff --git a/boards/silabs/starter_kits/slstk3400a/slstk3400a.dts b/boards/silabs/starter_kits/slstk3400a/slstk3400a.dts index 74e71162c0161..7bc153a53b5c6 100644 --- a/boards/silabs/starter_kits/slstk3400a/slstk3400a.dts +++ b/boards/silabs/starter_kits/slstk3400a/slstk3400a.dts @@ -92,12 +92,13 @@ &flash0 { partitions { - compatible = "fixed-partitions"; + ranges; #address-cells = <1>; #size-cells = <1>; /* Set 4Kb of storage at the end of the 64Kb of flash */ storage_partition: partition@f000 { + compatible = "zephyr,mapped-partition"; reg = <0x0000f000 0x00001000>; label = "storage"; }; diff --git a/boards/silabs/starter_kits/slstk3401a/slstk3401a-common.dtsi b/boards/silabs/starter_kits/slstk3401a/slstk3401a-common.dtsi index b6844baf014d1..116a7b0f4ba57 100644 --- a/boards/silabs/starter_kits/slstk3401a/slstk3401a-common.dtsi +++ b/boards/silabs/starter_kits/slstk3401a/slstk3401a-common.dtsi @@ -125,12 +125,13 @@ &flash0 { partitions { - compatible = "fixed-partitions"; + ranges; #address-cells = <1>; #size-cells = <1>; /* Set 6Kb of storage at the end of the 256Kb of flash */ storage_partition: partition@3e800 { + compatible = "zephyr,mapped-partition"; reg = <0x0003e800 0x00001800>; label = "storage"; }; diff --git a/boards/silabs/starter_kits/slstk3402a/slstk3402a_common.dtsi b/boards/silabs/starter_kits/slstk3402a/slstk3402a_common.dtsi index 64209765d96ef..d577f2101c749 100644 --- a/boards/silabs/starter_kits/slstk3402a/slstk3402a_common.dtsi +++ b/boards/silabs/starter_kits/slstk3402a/slstk3402a_common.dtsi @@ -146,12 +146,13 @@ &flash0 { partitions { - compatible = "fixed-partitions"; + ranges; #address-cells = <1>; #size-cells = <1>; /* Set 6Kb of storage at the end of the 1024Kb of flash */ storage_partition: partition@fe800 { + compatible = "zephyr,mapped-partition"; reg = <0x000fe800 0x00001800>; label = "storage"; }; diff --git a/boards/silabs/starter_kits/slstk3701a/slstk3701a.dts b/boards/silabs/starter_kits/slstk3701a/slstk3701a.dts index 98ca83fa5967b..417d379099d2e 100644 --- a/boards/silabs/starter_kits/slstk3701a/slstk3701a.dts +++ b/boards/silabs/starter_kits/slstk3701a/slstk3701a.dts @@ -216,12 +216,13 @@ &flash0 { partitions { - compatible = "fixed-partitions"; + ranges; #address-cells = <1>; #size-cells = <1>; /* Set 12Kb of storage at the end of the 2048Kb of flash */ storage_partition: partition@1fd000 { + compatible = "zephyr,mapped-partition"; reg = <0x001fd000 0x00003000>; label = "storage"; }; diff --git a/boards/sparkfun/thing_plus_matter_mgm240p/sparkfun_thing_plus_matter_mgm240p.dts b/boards/sparkfun/thing_plus_matter_mgm240p/sparkfun_thing_plus_matter_mgm240p.dts index 0849223f98d52..e0202558258a5 100644 --- a/boards/sparkfun/thing_plus_matter_mgm240p/sparkfun_thing_plus_matter_mgm240p.dts +++ b/boards/sparkfun/thing_plus_matter_mgm240p/sparkfun_thing_plus_matter_mgm240p.dts @@ -155,12 +155,13 @@ zephyr_i2c: &i2c0 { &flash0 { partitions { - compatible = "fixed-partitions"; + ranges; #address-cells = <1>; #size-cells = <1>; /* Reserve 48 kB for the bootloader */ boot_partition: partition@0 { + compatible = "zephyr,mapped-partition"; reg = <0x0 0x0000c000>; label = "mcuboot"; read-only; @@ -168,24 +169,28 @@ zephyr_i2c: &i2c0 { /* Reserve 464 kB for the application in slot 0 */ slot0_partition: partition@c000 { + compatible = "zephyr,mapped-partition"; reg = <0x0000c000 0x00074000>; label = "storage"; }; /* Reserve 464 kB for the application in slot 1 */ slot1_partition: partition@80000 { + compatible = "zephyr,mapped-partition"; reg = <0x00080000 0x00074000>; label = "image-0"; }; /* Reserve 32 kB for the scratch partition */ scratch_partition: partition@f4000 { + compatible = "zephyr,mapped-partition"; reg = <0x000f4000 0x00008000>; label = "image-1"; }; /* Set 528Kb of storage at the end of the 1024Kb of flash */ storage_partition: partition@fc000 { + compatible = "zephyr,mapped-partition"; reg = <0x000fc000 0x00084000>; label = "image-scratch"; }; diff --git a/dts/arm/silabs/efm32hg.dtsi b/dts/arm/silabs/efm32hg.dtsi index 308eaf1aa1b7a..99343ac32dbee 100644 --- a/dts/arm/silabs/efm32hg.dtsi +++ b/dts/arm/silabs/efm32hg.dtsi @@ -27,6 +27,7 @@ msc: flash-controller@400c0000 { compatible = "silabs,gecko-flash-controller"; reg = <0x400c0000 0x5c>; + ranges; interrupts = <15 0>; #address-cells = <1>; @@ -34,6 +35,8 @@ flash0: flash@0 { compatible = "soc-nv-flash"; + #address-cells = <1>; + #size-cells = <1>; write-block-size = <4>; erase-block-size = <1024>; }; diff --git a/dts/arm/silabs/efm32hg322f64.dtsi b/dts/arm/silabs/efm32hg322f64.dtsi index 4be13508836e4..80fb30cb5fdf9 100644 --- a/dts/arm/silabs/efm32hg322f64.dtsi +++ b/dts/arm/silabs/efm32hg322f64.dtsi @@ -15,6 +15,7 @@ &flash0 { reg = <0 DT_SIZE_K(64)>; + ranges = <0 0 DT_SIZE_K(64)>; }; &sram0 { diff --git a/dts/arm/silabs/efm32tg.dtsi b/dts/arm/silabs/efm32tg.dtsi index 4ed175719a2e2..fa43c82f06924 100644 --- a/dts/arm/silabs/efm32tg.dtsi +++ b/dts/arm/silabs/efm32tg.dtsi @@ -33,6 +33,7 @@ msc: flash-controller@400c0000 { compatible = "silabs,gecko-flash-controller"; reg = <0x400c0000 0x78>; + ranges; interrupts = <21 0>; #address-cells = <1>; @@ -40,6 +41,8 @@ flash0: flash@0 { compatible = "soc-nv-flash"; + #address-cells = <1>; + #size-cells = <1>; write-block-size = <4>; erase-block-size = <512>; }; diff --git a/dts/arm/silabs/efm32tg840f32.dtsi b/dts/arm/silabs/efm32tg840f32.dtsi index d9e8687ee9aed..e6c435ca085cc 100644 --- a/dts/arm/silabs/efm32tg840f32.dtsi +++ b/dts/arm/silabs/efm32tg840f32.dtsi @@ -19,4 +19,5 @@ &flash0 { reg = <0 DT_SIZE_K(32)>; + ranges = <0 0 DT_SIZE_K(32)>; }; diff --git a/dts/arm/silabs/efm32wg.dtsi b/dts/arm/silabs/efm32wg.dtsi index 27cbf0a3c3d7f..b74c170a1ad04 100644 --- a/dts/arm/silabs/efm32wg.dtsi +++ b/dts/arm/silabs/efm32wg.dtsi @@ -27,6 +27,7 @@ msc: flash-controller@400c0000 { compatible = "silabs,gecko-flash-controller"; reg = <0x400c0000 0x78>; + ranges; interrupts = <35 0>; #address-cells = <1>; @@ -34,6 +35,8 @@ flash0: flash@0 { compatible = "soc-nv-flash"; + #address-cells = <1>; + #size-cells = <1>; write-block-size = <4>; erase-block-size = <2048>; }; diff --git a/dts/arm/silabs/efm32wg990f256.dtsi b/dts/arm/silabs/efm32wg990f256.dtsi index 1152bfd78ef9d..bec937ac0a977 100644 --- a/dts/arm/silabs/efm32wg990f256.dtsi +++ b/dts/arm/silabs/efm32wg990f256.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0 DT_SIZE_K(256)>; + ranges = <0 0 DT_SIZE_K(256)>; }; &sram0 { diff --git a/dts/arm/silabs/gg11/efm32gg11.dtsi b/dts/arm/silabs/gg11/efm32gg11.dtsi index f88d98a0c1f4f..f8ba6d79f89b0 100644 --- a/dts/arm/silabs/gg11/efm32gg11.dtsi +++ b/dts/arm/silabs/gg11/efm32gg11.dtsi @@ -33,6 +33,7 @@ msc: flash-controller@40000000 { compatible = "silabs,gecko-flash-controller"; reg = <0x40000000 0x110>; + ranges; interrupts = <33 0>; #address-cells = <1>; @@ -40,6 +41,8 @@ flash0: flash@0 { compatible = "soc-nv-flash"; + #address-cells = <1>; + #size-cells = <1>; write-block-size = <4>; erase-block-size = <4096>; }; diff --git a/dts/arm/silabs/gg11/efm32gg11b820f2048gl192.dtsi b/dts/arm/silabs/gg11/efm32gg11b820f2048gl192.dtsi index b682d2f5b383b..23519b90bd385 100644 --- a/dts/arm/silabs/gg11/efm32gg11b820f2048gl192.dtsi +++ b/dts/arm/silabs/gg11/efm32gg11b820f2048gl192.dtsi @@ -24,6 +24,7 @@ &flash0 { reg = <0 DT_SIZE_K(2048)>; + ranges = <0 0 DT_SIZE_K(2048)>; }; &sram0 { diff --git a/dts/arm/silabs/gg12/efm32gg12.dtsi b/dts/arm/silabs/gg12/efm32gg12.dtsi index 5ba11750cf867..02b84e0db2917 100644 --- a/dts/arm/silabs/gg12/efm32gg12.dtsi +++ b/dts/arm/silabs/gg12/efm32gg12.dtsi @@ -32,6 +32,7 @@ msc: flash-controller@40000000 { compatible = "silabs,gecko-flash-controller"; reg = <0x40000000 0x110>; + ranges; interrupts = <33 0>; #address-cells = <1>; @@ -39,6 +40,8 @@ flash0: flash@0 { compatible = "soc-nv-flash"; + #address-cells = <1>; + #size-cells = <1>; write-block-size = <4>; erase-block-size = <4096>; }; diff --git a/dts/arm/silabs/gg12/efm32gg12b810f1024gm64.dtsi b/dts/arm/silabs/gg12/efm32gg12b810f1024gm64.dtsi index 273d2f3a3a00d..bb4710d0b97a3 100644 --- a/dts/arm/silabs/gg12/efm32gg12b810f1024gm64.dtsi +++ b/dts/arm/silabs/gg12/efm32gg12b810f1024gm64.dtsi @@ -15,6 +15,7 @@ &flash0 { reg = <0 DT_SIZE_K(1024)>; + ranges = <0 0 DT_SIZE_K(1024)>; }; &sram0 { diff --git a/dts/arm/silabs/sim3u.dtsi b/dts/arm/silabs/sim3u.dtsi index 6056c39bb6f07..4fe1bc41f6b93 100644 --- a/dts/arm/silabs/sim3u.dtsi +++ b/dts/arm/silabs/sim3u.dtsi @@ -87,12 +87,15 @@ flash: flash-controller@4002e000 { compatible = "silabs,si32-flash-controller"; reg = <0x4002e000 0x1000>; + ranges; #address-cells = <1>; #size-cells = <1>; flash0: flash@0 { compatible = "soc-nv-flash"; + #address-cells = <1>; + #size-cells = <1>; write-block-size = <2>; }; }; diff --git a/dts/arm/silabs/sim3u167.dtsi b/dts/arm/silabs/sim3u167.dtsi index 53e11da423714..c9f6e90b13640 100644 --- a/dts/arm/silabs/sim3u167.dtsi +++ b/dts/arm/silabs/sim3u167.dtsi @@ -15,6 +15,7 @@ &flash0 { reg = <0 DT_SIZE_K(256)>; + ranges = <0 0 DT_SIZE_K(256)>; erase-block-size = ; }; diff --git a/dts/arm/silabs/siwg917.dtsi b/dts/arm/silabs/siwg917.dtsi index a3cfc950286da..4168ccb93f98a 100644 --- a/dts/arm/silabs/siwg917.dtsi +++ b/dts/arm/silabs/siwg917.dtsi @@ -117,6 +117,7 @@ flashctrl0: flash-controller@12000000 { compatible = "silabs,siwx91x-flash-controller"; reg = <0x12000000 0x200>; + ranges; #address-cells = <1>; #size-cells = <1>; diff --git a/dts/arm/silabs/siwg917m111mgtba.dtsi b/dts/arm/silabs/siwg917m111mgtba.dtsi index bd73c8359483d..2fc494d7deab2 100644 --- a/dts/arm/silabs/siwg917m111mgtba.dtsi +++ b/dts/arm/silabs/siwg917m111mgtba.dtsi @@ -20,25 +20,31 @@ ranges = <0 0x08000000 DT_SIZE_M(8)>; partitions { - compatible = "fixed-partitions"; + ranges; + #address-cells = <1>; + #size-cells = <1>; /* See AN1416: SiWx917 SoC Memory Map, 3.1.4 Memory Map (8 MB) */ mbr_nwp_partition: partition@0 { + compatible = "zephyr,mapped-partition"; label = "mbr_nwp"; reg = <0x0000000 DT_SIZE_K(68)>; }; code_nwp_partition: partition@11000 { + compatible = "zephyr,mapped-partition"; label = "code_nwp"; reg = <0x00011000 DT_SIZE_K(1916)>; }; mbr_partition: partition@1f0000 { + compatible = "zephyr,mapped-partition"; label = "mbr"; reg = <0x001f0000 DT_SIZE_K(68)>; }; hdr_partition: partition@201000 { + compatible = "zephyr,mapped-partition"; label = "hdr"; reg = <0x00201000 DT_SIZE_K(4)>; }; diff --git a/dts/arm/silabs/xg1/efm32pg1b200f256gm48.dtsi b/dts/arm/silabs/xg1/efm32pg1b200f256gm48.dtsi index 0524f6bfea273..f27cf5f934139 100644 --- a/dts/arm/silabs/xg1/efm32pg1b200f256gm48.dtsi +++ b/dts/arm/silabs/xg1/efm32pg1b200f256gm48.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0 DT_SIZE_K(256)>; + ranges = <0 0 DT_SIZE_K(256)>; }; &sram0 { diff --git a/dts/arm/silabs/xg1/efr32fg1p133f256gm48.dtsi b/dts/arm/silabs/xg1/efr32fg1p133f256gm48.dtsi index 900c303386cec..5690854ed6671 100644 --- a/dts/arm/silabs/xg1/efr32fg1p133f256gm48.dtsi +++ b/dts/arm/silabs/xg1/efr32fg1p133f256gm48.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0 DT_SIZE_K(256)>; + ranges = <0 0 DT_SIZE_K(256)>; }; &sram0 { diff --git a/dts/arm/silabs/xg1/xg1.dtsi b/dts/arm/silabs/xg1/xg1.dtsi index a253baf5781d0..f66ccdcbcd8b3 100644 --- a/dts/arm/silabs/xg1/xg1.dtsi +++ b/dts/arm/silabs/xg1/xg1.dtsi @@ -28,6 +28,7 @@ msc: flash-controller@400e0000 { compatible = "silabs,gecko-flash-controller"; reg = <0x400e0000 0x800>; + ranges; interrupts = <24 0>; #address-cells = <1>; @@ -35,6 +36,8 @@ flash0: flash@0 { compatible = "soc-nv-flash"; + #address-cells = <1>; + #size-cells = <1>; write-block-size = <4>; erase-block-size = <2048>; }; diff --git a/dts/arm/silabs/xg12/efm32jg12b500f1024gl125.dtsi b/dts/arm/silabs/xg12/efm32jg12b500f1024gl125.dtsi index 151d1fc481061..32de8a100c260 100644 --- a/dts/arm/silabs/xg12/efm32jg12b500f1024gl125.dtsi +++ b/dts/arm/silabs/xg12/efm32jg12b500f1024gl125.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0 DT_SIZE_K(1024)>; + ranges = <0 0 DT_SIZE_K(1024)>; }; &sram0 { diff --git a/dts/arm/silabs/xg12/efm32pg12b500f1024gl125.dtsi b/dts/arm/silabs/xg12/efm32pg12b500f1024gl125.dtsi index 968a46595e414..c1452ee246c77 100644 --- a/dts/arm/silabs/xg12/efm32pg12b500f1024gl125.dtsi +++ b/dts/arm/silabs/xg12/efm32pg12b500f1024gl125.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0 DT_SIZE_K(1024)>; + ranges = <0 0 DT_SIZE_K(1024)>; }; &sram0 { diff --git a/dts/arm/silabs/xg12/efr32mg12p332f1024gl125.dtsi b/dts/arm/silabs/xg12/efr32mg12p332f1024gl125.dtsi index 00f8176c4c900..b6c1c0a8a867f 100644 --- a/dts/arm/silabs/xg12/efr32mg12p332f1024gl125.dtsi +++ b/dts/arm/silabs/xg12/efr32mg12p332f1024gl125.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0 DT_SIZE_K(1024)>; + ranges = <0 0 DT_SIZE_K(1024)>; }; &sram0 { diff --git a/dts/arm/silabs/xg12/efr32mg12p432f1024gl125.dtsi b/dts/arm/silabs/xg12/efr32mg12p432f1024gl125.dtsi index fef38430878d1..e68f648a2d01b 100644 --- a/dts/arm/silabs/xg12/efr32mg12p432f1024gl125.dtsi +++ b/dts/arm/silabs/xg12/efr32mg12p432f1024gl125.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0 DT_SIZE_K(1024)>; + ranges = <0 0 DT_SIZE_K(1024)>; }; &sram0 { diff --git a/dts/arm/silabs/xg12/efr32mg12p433f1024gm68.dtsi b/dts/arm/silabs/xg12/efr32mg12p433f1024gm68.dtsi index 6c903a3fb9949..3bb8e931a868a 100644 --- a/dts/arm/silabs/xg12/efr32mg12p433f1024gm68.dtsi +++ b/dts/arm/silabs/xg12/efr32mg12p433f1024gm68.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0 DT_SIZE_K(1024)>; + ranges = <0 0 DT_SIZE_K(1024)>; }; &sram0 { diff --git a/dts/arm/silabs/xg12/xg12.dtsi b/dts/arm/silabs/xg12/xg12.dtsi index 7a0ded78a2dce..d524e74600929 100644 --- a/dts/arm/silabs/xg12/xg12.dtsi +++ b/dts/arm/silabs/xg12/xg12.dtsi @@ -34,6 +34,7 @@ msc: flash-controller@400e0000 { compatible = "silabs,gecko-flash-controller"; reg = <0x400e0000 0x104>; + ranges; interrupts = <25 0>; #address-cells = <1>; @@ -41,6 +42,8 @@ flash0: flash@0 { compatible = "soc-nv-flash"; + #address-cells = <1>; + #size-cells = <1>; write-block-size = <4>; erase-block-size = <2048>; }; diff --git a/dts/arm/silabs/xg13/efr32bg13p632f512gm48.dtsi b/dts/arm/silabs/xg13/efr32bg13p632f512gm48.dtsi index 7d5b4475ad2b2..f0f46ab316979 100644 --- a/dts/arm/silabs/xg13/efr32bg13p632f512gm48.dtsi +++ b/dts/arm/silabs/xg13/efr32bg13p632f512gm48.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0 DT_SIZE_K(512)>; + ranges = <0 0 DT_SIZE_K(512)>; }; &sram0 { diff --git a/dts/arm/silabs/xg13/efr32fg13p233f512gm48.dtsi b/dts/arm/silabs/xg13/efr32fg13p233f512gm48.dtsi index e50e96b20f9c6..c133337187148 100644 --- a/dts/arm/silabs/xg13/efr32fg13p233f512gm48.dtsi +++ b/dts/arm/silabs/xg13/efr32fg13p233f512gm48.dtsi @@ -17,6 +17,7 @@ &flash0 { reg = <0 DT_SIZE_K(512)>; + ranges = <0 0 DT_SIZE_K(512)>; }; &sram0 { diff --git a/dts/arm/silabs/xg13/efr32xg13.dtsi b/dts/arm/silabs/xg13/efr32xg13.dtsi index 5ea50101d1b5e..ba14ab9ce473a 100644 --- a/dts/arm/silabs/xg13/efr32xg13.dtsi +++ b/dts/arm/silabs/xg13/efr32xg13.dtsi @@ -31,6 +31,7 @@ msc: flash-controller@400e0000 { compatible = "silabs,gecko-flash-controller"; reg = <0x400e0000 0x104>; + ranges; interrupts = <25 0>; #address-cells = <1>; @@ -38,6 +39,8 @@ flash0: flash@0 { compatible = "soc-nv-flash"; + #address-cells = <1>; + #size-cells = <1>; write-block-size = <4>; erase-block-size = <2048>; }; diff --git a/dts/arm/silabs/xg21/efr32mg21a020f1024im32.dtsi b/dts/arm/silabs/xg21/efr32mg21a020f1024im32.dtsi index bda45c1418b18..d4cc42eb4d47d 100644 --- a/dts/arm/silabs/xg21/efr32mg21a020f1024im32.dtsi +++ b/dts/arm/silabs/xg21/efr32mg21a020f1024im32.dtsi @@ -16,7 +16,8 @@ }; &flash0 { - reg = <0x00000000 DT_SIZE_K(1024)>; + reg = <0x0 DT_SIZE_K(1024)>; + ranges = <0x0 0x0 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg21/xg21.dtsi b/dts/arm/silabs/xg21/xg21.dtsi index f7ce2936d88c0..0da0cae78e886 100644 --- a/dts/arm/silabs/xg21/xg21.dtsi +++ b/dts/arm/silabs/xg21/xg21.dtsi @@ -242,6 +242,7 @@ msc: flash-controller@50030000 { compatible = "silabs,series2-flash-controller"; reg = <0x50030000 0x4000>; + ranges; #address-cells = <1>; #size-cells = <1>; clocks = <&cmu CLOCK_AUTO CLOCK_BRANCH_HCLK>; @@ -250,6 +251,8 @@ flash0: flash@0 { compatible = "soc-nv-flash"; + #address-cells = <1>; + #size-cells = <1>; erase-block-size = <8192>; write-block-size = <4>; }; diff --git a/dts/arm/silabs/xg22/bgm220pc22hna.dtsi b/dts/arm/silabs/xg22/bgm220pc22hna.dtsi index 7f083b2b069db..231b3d83e87f5 100644 --- a/dts/arm/silabs/xg22/bgm220pc22hna.dtsi +++ b/dts/arm/silabs/xg22/bgm220pc22hna.dtsi @@ -16,7 +16,8 @@ }; &flash0 { - reg = <0x00000000 DT_SIZE_K(512)>; + reg = <0x0 DT_SIZE_K(512)>; + ranges = <0x0 0x0 DT_SIZE_K(512)>; }; &gpioa { diff --git a/dts/arm/silabs/xg22/bgm220pc22wga.dtsi b/dts/arm/silabs/xg22/bgm220pc22wga.dtsi index 22e62987a27c9..75d4d43737451 100644 --- a/dts/arm/silabs/xg22/bgm220pc22wga.dtsi +++ b/dts/arm/silabs/xg22/bgm220pc22wga.dtsi @@ -15,7 +15,8 @@ }; &flash0 { - reg = <0x00000000 DT_SIZE_K(352)>; + reg = <0x0 DT_SIZE_K(352)>; + ranges = <0x0 0x0 DT_SIZE_K(352)>; }; &gpioa { diff --git a/dts/arm/silabs/xg22/bgm220sc22hna.dtsi b/dts/arm/silabs/xg22/bgm220sc22hna.dtsi index e3c61949aa224..3e22247bd2813 100644 --- a/dts/arm/silabs/xg22/bgm220sc22hna.dtsi +++ b/dts/arm/silabs/xg22/bgm220sc22hna.dtsi @@ -17,7 +17,8 @@ }; &flash0 { - reg = <0x00000000 DT_SIZE_K(512)>; + reg = <0x0 DT_SIZE_K(512)>; + ranges = <0x0 0x0 DT_SIZE_K(512)>; }; &gpioa { diff --git a/dts/arm/silabs/xg22/efr32bg22c222f352gm32.dtsi b/dts/arm/silabs/xg22/efr32bg22c222f352gm32.dtsi index 66a0027279a97..db3946615cc9f 100644 --- a/dts/arm/silabs/xg22/efr32bg22c222f352gm32.dtsi +++ b/dts/arm/silabs/xg22/efr32bg22c222f352gm32.dtsi @@ -16,7 +16,8 @@ }; &flash0 { - reg = <0x00000000 DT_SIZE_K(352)>; + reg = <0x0 DT_SIZE_K(352)>; + ranges = <0x0 0x0 DT_SIZE_K(352)>; }; &gpioa { diff --git a/dts/arm/silabs/xg22/efr32bg22c222f352gm40.dtsi b/dts/arm/silabs/xg22/efr32bg22c222f352gm40.dtsi index c8a95fbe99f77..2da0e9b29b931 100644 --- a/dts/arm/silabs/xg22/efr32bg22c222f352gm40.dtsi +++ b/dts/arm/silabs/xg22/efr32bg22c222f352gm40.dtsi @@ -16,7 +16,8 @@ }; &flash0 { - reg = <0x00000000 DT_SIZE_K(352)>; + reg = <0x0 DT_SIZE_K(352)>; + ranges = <0x0 0x0 DT_SIZE_K(352)>; }; &gpioa { diff --git a/dts/arm/silabs/xg22/efr32bg22c222f352gn32.dtsi b/dts/arm/silabs/xg22/efr32bg22c222f352gn32.dtsi index 79df7280b90a3..1488c188a2eb9 100644 --- a/dts/arm/silabs/xg22/efr32bg22c222f352gn32.dtsi +++ b/dts/arm/silabs/xg22/efr32bg22c222f352gn32.dtsi @@ -16,7 +16,8 @@ }; &flash0 { - reg = <0x00000000 DT_SIZE_K(352)>; + reg = <0x0 DT_SIZE_K(352)>; + ranges = <0x0 0x0 DT_SIZE_K(352)>; }; &gpioa { diff --git a/dts/arm/silabs/xg22/efr32bg22c224f512gm32.dtsi b/dts/arm/silabs/xg22/efr32bg22c224f512gm32.dtsi index ef1f6fae46dc1..981144aaa8c59 100644 --- a/dts/arm/silabs/xg22/efr32bg22c224f512gm32.dtsi +++ b/dts/arm/silabs/xg22/efr32bg22c224f512gm32.dtsi @@ -16,7 +16,8 @@ }; &flash0 { - reg = <0x00000000 DT_SIZE_K(512)>; + reg = <0x0 DT_SIZE_K(512)>; + ranges = <0x0 0x0 DT_SIZE_K(512)>; }; &gpioa { diff --git a/dts/arm/silabs/xg22/efr32bg22c224f512gm40.dtsi b/dts/arm/silabs/xg22/efr32bg22c224f512gm40.dtsi index 9a31c1ebad2cd..c2371178cdf34 100644 --- a/dts/arm/silabs/xg22/efr32bg22c224f512gm40.dtsi +++ b/dts/arm/silabs/xg22/efr32bg22c224f512gm40.dtsi @@ -16,7 +16,8 @@ }; &flash0 { - reg = <0x00000000 DT_SIZE_K(512)>; + reg = <0x0 DT_SIZE_K(512)>; + ranges = <0x0 0x0 DT_SIZE_K(512)>; }; &gpioa { diff --git a/dts/arm/silabs/xg22/efr32bg22c224f512gn32.dtsi b/dts/arm/silabs/xg22/efr32bg22c224f512gn32.dtsi index 3052fdaad34be..e60215cd9da1c 100644 --- a/dts/arm/silabs/xg22/efr32bg22c224f512gn32.dtsi +++ b/dts/arm/silabs/xg22/efr32bg22c224f512gn32.dtsi @@ -16,7 +16,8 @@ }; &flash0 { - reg = <0x00000000 DT_SIZE_K(512)>; + reg = <0x0 DT_SIZE_K(512)>; + ranges = <0x0 0x0 DT_SIZE_K(512)>; }; &gpioa { diff --git a/dts/arm/silabs/xg22/efr32bg22c224f512im32.dtsi b/dts/arm/silabs/xg22/efr32bg22c224f512im32.dtsi index 2530537c92354..9ac79eb7a590e 100644 --- a/dts/arm/silabs/xg22/efr32bg22c224f512im32.dtsi +++ b/dts/arm/silabs/xg22/efr32bg22c224f512im32.dtsi @@ -16,7 +16,8 @@ }; &flash0 { - reg = <0x00000000 DT_SIZE_K(512)>; + reg = <0x0 DT_SIZE_K(512)>; + ranges = <0x0 0x0 DT_SIZE_K(512)>; }; &gpioa { diff --git a/dts/arm/silabs/xg22/efr32bg22c224f512im40.dtsi b/dts/arm/silabs/xg22/efr32bg22c224f512im40.dtsi index f161803869fd0..ab6555f82686e 100644 --- a/dts/arm/silabs/xg22/efr32bg22c224f512im40.dtsi +++ b/dts/arm/silabs/xg22/efr32bg22c224f512im40.dtsi @@ -16,7 +16,8 @@ }; &flash0 { - reg = <0x00000000 DT_SIZE_K(512)>; + reg = <0x0 DT_SIZE_K(512)>; + ranges = <0x0 0x0 DT_SIZE_K(512)>; }; &gpioa { diff --git a/dts/arm/silabs/xg22/efr32mg22c224f512gn32.dtsi b/dts/arm/silabs/xg22/efr32mg22c224f512gn32.dtsi index 35b4bbfe43d31..b8e1318314a88 100644 --- a/dts/arm/silabs/xg22/efr32mg22c224f512gn32.dtsi +++ b/dts/arm/silabs/xg22/efr32mg22c224f512gn32.dtsi @@ -16,7 +16,8 @@ }; &flash0 { - reg = <0x00000000 DT_SIZE_K(512)>; + reg = <0x0 DT_SIZE_K(512)>; + ranges = <0x0 0x0 DT_SIZE_K(512)>; }; &gpioa { diff --git a/dts/arm/silabs/xg22/efr32mg22c224f512im32.dtsi b/dts/arm/silabs/xg22/efr32mg22c224f512im32.dtsi index 53c3fb47b9ea9..d51016667acfd 100644 --- a/dts/arm/silabs/xg22/efr32mg22c224f512im32.dtsi +++ b/dts/arm/silabs/xg22/efr32mg22c224f512im32.dtsi @@ -16,7 +16,8 @@ }; &flash0 { - reg = <0x00000000 DT_SIZE_K(512)>; + reg = <0x0 DT_SIZE_K(512)>; + ranges = <0x0 0x0 DT_SIZE_K(512)>; }; &gpioa { diff --git a/dts/arm/silabs/xg22/efr32mg22c224f512im40.dtsi b/dts/arm/silabs/xg22/efr32mg22c224f512im40.dtsi index 5ae93e5f6b866..86e6999f606e4 100644 --- a/dts/arm/silabs/xg22/efr32mg22c224f512im40.dtsi +++ b/dts/arm/silabs/xg22/efr32mg22c224f512im40.dtsi @@ -16,7 +16,8 @@ }; &flash0 { - reg = <0x00000000 DT_SIZE_K(512)>; + reg = <0x0 DT_SIZE_K(512)>; + ranges = <0x0 0x0 DT_SIZE_K(512)>; }; &gpioa { diff --git a/dts/arm/silabs/xg22/xg22.dtsi b/dts/arm/silabs/xg22/xg22.dtsi index 0dc7cecdae449..3252095cfc634 100644 --- a/dts/arm/silabs/xg22/xg22.dtsi +++ b/dts/arm/silabs/xg22/xg22.dtsi @@ -264,6 +264,7 @@ msc: flash-controller@50030000 { compatible = "silabs,series2-flash-controller"; reg = <0x50030000 0x4000>; + ranges; #address-cells = <1>; #size-cells = <1>; clocks = <&cmu CLOCK_MSC CLOCK_BRANCH_HCLK>; @@ -272,6 +273,8 @@ flash0: flash@0 { compatible = "soc-nv-flash"; + #address-cells = <1>; + #size-cells = <1>; erase-block-size = <8192>; write-block-size = <4>; }; diff --git a/dts/arm/silabs/xg23/efm32pg23b310f512im48.dtsi b/dts/arm/silabs/xg23/efm32pg23b310f512im48.dtsi index 8d05bf04beff2..c8417c5bf5268 100644 --- a/dts/arm/silabs/xg23/efm32pg23b310f512im48.dtsi +++ b/dts/arm/silabs/xg23/efm32pg23b310f512im48.dtsi @@ -17,6 +17,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(512)>; + ranges = <0x0 0x08000000 DT_SIZE_K(512)>; }; &gpioa { diff --git a/dts/arm/silabs/xg23/efr32zg23b020f512im48.dtsi b/dts/arm/silabs/xg23/efr32zg23b020f512im48.dtsi index 105ff5b92aece..e1e5c2b26c8b4 100644 --- a/dts/arm/silabs/xg23/efr32zg23b020f512im48.dtsi +++ b/dts/arm/silabs/xg23/efr32zg23b020f512im48.dtsi @@ -17,6 +17,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(512)>; + ranges = <0x0 0x08000000 DT_SIZE_K(512)>; }; &gpioa { diff --git a/dts/arm/silabs/xg23/xg23.dtsi b/dts/arm/silabs/xg23/xg23.dtsi index 5b6e88d17da31..45aae32d25728 100644 --- a/dts/arm/silabs/xg23/xg23.dtsi +++ b/dts/arm/silabs/xg23/xg23.dtsi @@ -275,6 +275,7 @@ msc: flash-controller@50030000 { compatible = "silabs,series2-flash-controller"; reg = <0x50030000 0x4000>; + ranges; #address-cells = <1>; #size-cells = <1>; clocks = <&cmu CLOCK_MSC CLOCK_BRANCH_HCLK>; @@ -283,6 +284,8 @@ flash0: flash@8000000 { compatible = "soc-nv-flash"; + #address-cells = <1>; + #size-cells = <1>; erase-block-size = <8192>; write-block-size = <4>; }; diff --git a/dts/arm/silabs/xg24/bgm240pa22vna.dtsi b/dts/arm/silabs/xg24/bgm240pa22vna.dtsi index 46d1dfcbd4494..6e27790fc7dd2 100644 --- a/dts/arm/silabs/xg24/bgm240pa22vna.dtsi +++ b/dts/arm/silabs/xg24/bgm240pa22vna.dtsi @@ -21,6 +21,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1536)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1536)>; }; &gpioa { diff --git a/dts/arm/silabs/xg24/bgm240pa32vna.dtsi b/dts/arm/silabs/xg24/bgm240pa32vna.dtsi index 12c371170b0aa..b9fbed3e26e57 100644 --- a/dts/arm/silabs/xg24/bgm240pa32vna.dtsi +++ b/dts/arm/silabs/xg24/bgm240pa32vna.dtsi @@ -21,6 +21,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1536)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1536)>; }; &gpioa { diff --git a/dts/arm/silabs/xg24/bgm240pa32vnn.dtsi b/dts/arm/silabs/xg24/bgm240pa32vnn.dtsi index 057ef828ae9c0..f0d46c0a6bd1b 100644 --- a/dts/arm/silabs/xg24/bgm240pa32vnn.dtsi +++ b/dts/arm/silabs/xg24/bgm240pa32vnn.dtsi @@ -21,6 +21,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1536)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1536)>; }; &gpioa { diff --git a/dts/arm/silabs/xg24/bgm240pb22vna.dtsi b/dts/arm/silabs/xg24/bgm240pb22vna.dtsi index c3b1a4d656ae0..c7f18f2bc1c9a 100644 --- a/dts/arm/silabs/xg24/bgm240pb22vna.dtsi +++ b/dts/arm/silabs/xg24/bgm240pb22vna.dtsi @@ -21,6 +21,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1536)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1536)>; }; &gpioa { diff --git a/dts/arm/silabs/xg24/bgm240pb32vna.dtsi b/dts/arm/silabs/xg24/bgm240pb32vna.dtsi index a318cfe74f0ae..cd8be5e739c5b 100644 --- a/dts/arm/silabs/xg24/bgm240pb32vna.dtsi +++ b/dts/arm/silabs/xg24/bgm240pb32vna.dtsi @@ -21,6 +21,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1536)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1536)>; }; &gpioa { diff --git a/dts/arm/silabs/xg24/bgm240pb32vnn.dtsi b/dts/arm/silabs/xg24/bgm240pb32vnn.dtsi index 9e18272638630..ff4377f7f258f 100644 --- a/dts/arm/silabs/xg24/bgm240pb32vnn.dtsi +++ b/dts/arm/silabs/xg24/bgm240pb32vnn.dtsi @@ -21,6 +21,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1536)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1536)>; }; &gpioa { diff --git a/dts/arm/silabs/xg24/bgm240sa22vna.dtsi b/dts/arm/silabs/xg24/bgm240sa22vna.dtsi index 0cd55aeb2d64a..1999df7bca420 100644 --- a/dts/arm/silabs/xg24/bgm240sa22vna.dtsi +++ b/dts/arm/silabs/xg24/bgm240sa22vna.dtsi @@ -23,6 +23,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1536)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1536)>; }; &gpioa { diff --git a/dts/arm/silabs/xg24/bgm240sb22vna.dtsi b/dts/arm/silabs/xg24/bgm240sb22vna.dtsi index 7f8650de40185..cbbf206eaf181 100644 --- a/dts/arm/silabs/xg24/bgm240sb22vna.dtsi +++ b/dts/arm/silabs/xg24/bgm240sb22vna.dtsi @@ -21,6 +21,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1536)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1536)>; }; &gpioa { diff --git a/dts/arm/silabs/xg24/efr32bg24a010f1024im40.dtsi b/dts/arm/silabs/xg24/efr32bg24a010f1024im40.dtsi index 8f1f18acd7368..90ad692abe348 100644 --- a/dts/arm/silabs/xg24/efr32bg24a010f1024im40.dtsi +++ b/dts/arm/silabs/xg24/efr32bg24a010f1024im40.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg24/efr32bg24a010f1024im48.dtsi b/dts/arm/silabs/xg24/efr32bg24a010f1024im48.dtsi index c5d6e890d1f2f..462a62406fac0 100644 --- a/dts/arm/silabs/xg24/efr32bg24a010f1024im48.dtsi +++ b/dts/arm/silabs/xg24/efr32bg24a010f1024im48.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg24/efr32bg24a020f1024im40.dtsi b/dts/arm/silabs/xg24/efr32bg24a020f1024im40.dtsi index 437c169d315d1..60757389502af 100644 --- a/dts/arm/silabs/xg24/efr32bg24a020f1024im40.dtsi +++ b/dts/arm/silabs/xg24/efr32bg24a020f1024im40.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg24/efr32bg24a020f1024im48.dtsi b/dts/arm/silabs/xg24/efr32bg24a020f1024im48.dtsi index 993e4a23f0dcc..cfa46c47b0219 100644 --- a/dts/arm/silabs/xg24/efr32bg24a020f1024im48.dtsi +++ b/dts/arm/silabs/xg24/efr32bg24a020f1024im48.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg24/efr32bg24b110f1536im48.dtsi b/dts/arm/silabs/xg24/efr32bg24b110f1536im48.dtsi index 91ff9831af024..8546d18ec576d 100644 --- a/dts/arm/silabs/xg24/efr32bg24b110f1536im48.dtsi +++ b/dts/arm/silabs/xg24/efr32bg24b110f1536im48.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1536)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1536)>; }; &gpioa { diff --git a/dts/arm/silabs/xg24/efr32bg24b210f1024im48.dtsi b/dts/arm/silabs/xg24/efr32bg24b210f1024im48.dtsi index 9bd511f4af476..ba4c57cef4467 100644 --- a/dts/arm/silabs/xg24/efr32bg24b210f1024im48.dtsi +++ b/dts/arm/silabs/xg24/efr32bg24b210f1024im48.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg24/efr32bg24b220f1024im48.dtsi b/dts/arm/silabs/xg24/efr32bg24b220f1024im48.dtsi index 72887257c5a29..d146185fffb90 100644 --- a/dts/arm/silabs/xg24/efr32bg24b220f1024im48.dtsi +++ b/dts/arm/silabs/xg24/efr32bg24b220f1024im48.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg24/efr32bg24l010f768im40.dtsi b/dts/arm/silabs/xg24/efr32bg24l010f768im40.dtsi index 9e36213cbe79b..410ae79c5610b 100644 --- a/dts/arm/silabs/xg24/efr32bg24l010f768im40.dtsi +++ b/dts/arm/silabs/xg24/efr32bg24l010f768im40.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(768)>; + ranges = <0x0 0x08000000 DT_SIZE_K(768)>; }; &gpioa { diff --git a/dts/arm/silabs/xg24/efr32bg24l210f768im40.dtsi b/dts/arm/silabs/xg24/efr32bg24l210f768im40.dtsi index 683f70ba77f46..08026523435cd 100644 --- a/dts/arm/silabs/xg24/efr32bg24l210f768im40.dtsi +++ b/dts/arm/silabs/xg24/efr32bg24l210f768im40.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(768)>; + ranges = <0x0 0x08000000 DT_SIZE_K(768)>; }; &gpioa { diff --git a/dts/arm/silabs/xg24/efr32mg24b010f1024im48.dtsi b/dts/arm/silabs/xg24/efr32mg24b010f1024im48.dtsi index 7598d78b8f6de..8ac1574449493 100644 --- a/dts/arm/silabs/xg24/efr32mg24b010f1024im48.dtsi +++ b/dts/arm/silabs/xg24/efr32mg24b010f1024im48.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg24/efr32mg24b010f1536im40.dtsi b/dts/arm/silabs/xg24/efr32mg24b010f1536im40.dtsi index fde95e63943a8..d1b3383ed9d5d 100644 --- a/dts/arm/silabs/xg24/efr32mg24b010f1536im40.dtsi +++ b/dts/arm/silabs/xg24/efr32mg24b010f1536im40.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1536)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1536)>; }; &gpioa { diff --git a/dts/arm/silabs/xg24/efr32mg24b010f1536im48.dtsi b/dts/arm/silabs/xg24/efr32mg24b010f1536im48.dtsi index ea2ecb9b45c32..e138ca3217330 100644 --- a/dts/arm/silabs/xg24/efr32mg24b010f1536im48.dtsi +++ b/dts/arm/silabs/xg24/efr32mg24b010f1536im48.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1536)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1536)>; }; &gpioa { diff --git a/dts/arm/silabs/xg24/efr32mg24b020f1024im48.dtsi b/dts/arm/silabs/xg24/efr32mg24b020f1024im48.dtsi index 6d97ba44c1518..ab9482c91809d 100644 --- a/dts/arm/silabs/xg24/efr32mg24b020f1024im48.dtsi +++ b/dts/arm/silabs/xg24/efr32mg24b020f1024im48.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg24/efr32mg24b020f1536im40.dtsi b/dts/arm/silabs/xg24/efr32mg24b020f1536im40.dtsi index 0ff5bb5f2c1dd..13b42454381ac 100644 --- a/dts/arm/silabs/xg24/efr32mg24b020f1536im40.dtsi +++ b/dts/arm/silabs/xg24/efr32mg24b020f1536im40.dtsi @@ -17,6 +17,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1536)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1536)>; }; &gpioa { diff --git a/dts/arm/silabs/xg24/efr32mg24b020f1536im48.dtsi b/dts/arm/silabs/xg24/efr32mg24b020f1536im48.dtsi index d49c075abd785..5a8158f99c633 100644 --- a/dts/arm/silabs/xg24/efr32mg24b020f1536im48.dtsi +++ b/dts/arm/silabs/xg24/efr32mg24b020f1536im48.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1536)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1536)>; }; &gpioa { diff --git a/dts/arm/silabs/xg24/efr32mg24b110f1536im48.dtsi b/dts/arm/silabs/xg24/efr32mg24b110f1536im48.dtsi index 96d9a61c46b07..d61200e526e13 100644 --- a/dts/arm/silabs/xg24/efr32mg24b110f1536im48.dtsi +++ b/dts/arm/silabs/xg24/efr32mg24b110f1536im48.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1536)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1536)>; }; &gpioa { diff --git a/dts/arm/silabs/xg24/efr32mg24b120f1536im48.dtsi b/dts/arm/silabs/xg24/efr32mg24b120f1536im48.dtsi index 325e7553629f7..99f6e5db2af55 100644 --- a/dts/arm/silabs/xg24/efr32mg24b120f1536im48.dtsi +++ b/dts/arm/silabs/xg24/efr32mg24b120f1536im48.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1536)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1536)>; }; &gpioa { diff --git a/dts/arm/silabs/xg24/efr32mg24b210f1536im48.dtsi b/dts/arm/silabs/xg24/efr32mg24b210f1536im48.dtsi index 38f29c8d0d64a..79534be343da4 100644 --- a/dts/arm/silabs/xg24/efr32mg24b210f1536im48.dtsi +++ b/dts/arm/silabs/xg24/efr32mg24b210f1536im48.dtsi @@ -17,6 +17,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1536)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1536)>; }; &gpioa { diff --git a/dts/arm/silabs/xg24/efr32mg24b220f1536im48.dtsi b/dts/arm/silabs/xg24/efr32mg24b220f1536im48.dtsi index 7eba40831aadb..04bec2679f3ad 100644 --- a/dts/arm/silabs/xg24/efr32mg24b220f1536im48.dtsi +++ b/dts/arm/silabs/xg24/efr32mg24b220f1536im48.dtsi @@ -17,6 +17,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1536)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1536)>; }; &gpioa { diff --git a/dts/arm/silabs/xg24/efr32mg24b310f1536im48.dtsi b/dts/arm/silabs/xg24/efr32mg24b310f1536im48.dtsi index a62e03977e4e8..4aaefbd0d4af2 100644 --- a/dts/arm/silabs/xg24/efr32mg24b310f1536im48.dtsi +++ b/dts/arm/silabs/xg24/efr32mg24b310f1536im48.dtsi @@ -17,6 +17,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1536)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1536)>; }; &gpioa { diff --git a/dts/arm/silabs/xg24/mgm240pa22vna.dtsi b/dts/arm/silabs/xg24/mgm240pa22vna.dtsi index eee334f965283..60c1fb94c7a82 100644 --- a/dts/arm/silabs/xg24/mgm240pa22vna.dtsi +++ b/dts/arm/silabs/xg24/mgm240pa22vna.dtsi @@ -21,6 +21,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1536)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1536)>; }; &gpioa { diff --git a/dts/arm/silabs/xg24/mgm240pa32vna.dtsi b/dts/arm/silabs/xg24/mgm240pa32vna.dtsi index 298a8340b0afc..0212d76041ef9 100644 --- a/dts/arm/silabs/xg24/mgm240pa32vna.dtsi +++ b/dts/arm/silabs/xg24/mgm240pa32vna.dtsi @@ -21,6 +21,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1536)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1536)>; }; &gpioa { diff --git a/dts/arm/silabs/xg24/mgm240pa32vnn.dtsi b/dts/arm/silabs/xg24/mgm240pa32vnn.dtsi index 0ce1914370905..9dcce024d9df0 100644 --- a/dts/arm/silabs/xg24/mgm240pa32vnn.dtsi +++ b/dts/arm/silabs/xg24/mgm240pa32vnn.dtsi @@ -21,6 +21,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1536)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1536)>; }; &gpioa { diff --git a/dts/arm/silabs/xg24/mgm240pb22vna.dtsi b/dts/arm/silabs/xg24/mgm240pb22vna.dtsi index a702894c25e42..9356efc1df969 100644 --- a/dts/arm/silabs/xg24/mgm240pb22vna.dtsi +++ b/dts/arm/silabs/xg24/mgm240pb22vna.dtsi @@ -21,6 +21,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1536)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1536)>; }; &gpioa { diff --git a/dts/arm/silabs/xg24/mgm240pb32vna.dtsi b/dts/arm/silabs/xg24/mgm240pb32vna.dtsi index 1312f7701fc49..5e75f92fbd187 100644 --- a/dts/arm/silabs/xg24/mgm240pb32vna.dtsi +++ b/dts/arm/silabs/xg24/mgm240pb32vna.dtsi @@ -22,6 +22,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1536)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1536)>; }; &gpioa { diff --git a/dts/arm/silabs/xg24/mgm240pb32vnn.dtsi b/dts/arm/silabs/xg24/mgm240pb32vnn.dtsi index 13629444b7c9b..c98a2a0ef24e1 100644 --- a/dts/arm/silabs/xg24/mgm240pb32vnn.dtsi +++ b/dts/arm/silabs/xg24/mgm240pb32vnn.dtsi @@ -21,6 +21,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1536)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1536)>; }; &gpioa { diff --git a/dts/arm/silabs/xg24/mgm240sa22vna.dtsi b/dts/arm/silabs/xg24/mgm240sa22vna.dtsi index 0a134edc8cff2..81aa24f7eafba 100644 --- a/dts/arm/silabs/xg24/mgm240sa22vna.dtsi +++ b/dts/arm/silabs/xg24/mgm240sa22vna.dtsi @@ -21,6 +21,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1536)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1536)>; }; &gpioa { diff --git a/dts/arm/silabs/xg24/mgm240sd22vna.dtsi b/dts/arm/silabs/xg24/mgm240sd22vna.dtsi index d0d430bd907b6..34daee0ef80a4 100644 --- a/dts/arm/silabs/xg24/mgm240sd22vna.dtsi +++ b/dts/arm/silabs/xg24/mgm240sd22vna.dtsi @@ -22,6 +22,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1536)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1536)>; }; &gpioa { diff --git a/dts/arm/silabs/xg24/xg24.dtsi b/dts/arm/silabs/xg24/xg24.dtsi index d1df818a6c96e..7d0c326a5b3b6 100644 --- a/dts/arm/silabs/xg24/xg24.dtsi +++ b/dts/arm/silabs/xg24/xg24.dtsi @@ -268,6 +268,7 @@ msc: flash-controller@50030000 { compatible = "silabs,series2-flash-controller"; reg = <0x50030000 0x4000>; + ranges; #address-cells = <1>; #size-cells = <1>; clocks = <&cmu CLOCK_MSC CLOCK_BRANCH_HCLK>; @@ -276,6 +277,8 @@ flash0: flash@8000000 { compatible = "soc-nv-flash"; + #address-cells = <1>; + #size-cells = <1>; erase-block-size = <8192>; write-block-size = <4>; }; diff --git a/dts/arm/silabs/xg26/bgm260pb22vna.dtsi b/dts/arm/silabs/xg26/bgm260pb22vna.dtsi index 755a22de411a6..a3141a8544a46 100644 --- a/dts/arm/silabs/xg26/bgm260pb22vna.dtsi +++ b/dts/arm/silabs/xg26/bgm260pb22vna.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(3200)>; + ranges = <0x0 0x08000000 DT_SIZE_K(3200)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/bgm260pb32vna.dtsi b/dts/arm/silabs/xg26/bgm260pb32vna.dtsi index 2375027040f5c..a2fb3d0f4c57a 100644 --- a/dts/arm/silabs/xg26/bgm260pb32vna.dtsi +++ b/dts/arm/silabs/xg26/bgm260pb32vna.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(3200)>; + ranges = <0x0 0x08000000 DT_SIZE_K(3200)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efm32pg26b101f512il136.dtsi b/dts/arm/silabs/xg26/efm32pg26b101f512il136.dtsi index b98c6f41cffad..f7bba701be33a 100644 --- a/dts/arm/silabs/xg26/efm32pg26b101f512il136.dtsi +++ b/dts/arm/silabs/xg26/efm32pg26b101f512il136.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(512)>; + ranges = <0x0 0x08000000 DT_SIZE_K(512)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efm32pg26b101f512im68.dtsi b/dts/arm/silabs/xg26/efm32pg26b101f512im68.dtsi index 94fe25c356e70..de9d1d322b60f 100644 --- a/dts/arm/silabs/xg26/efm32pg26b101f512im68.dtsi +++ b/dts/arm/silabs/xg26/efm32pg26b101f512im68.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(512)>; + ranges = <0x0 0x08000000 DT_SIZE_K(512)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efm32pg26b301f1024il136.dtsi b/dts/arm/silabs/xg26/efm32pg26b301f1024il136.dtsi index 943b955039e54..523234e38e3f4 100644 --- a/dts/arm/silabs/xg26/efm32pg26b301f1024il136.dtsi +++ b/dts/arm/silabs/xg26/efm32pg26b301f1024il136.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efm32pg26b301f1024im68.dtsi b/dts/arm/silabs/xg26/efm32pg26b301f1024im68.dtsi index 5e5ab4cbd8d0d..4c788a40ef060 100644 --- a/dts/arm/silabs/xg26/efm32pg26b301f1024im68.dtsi +++ b/dts/arm/silabs/xg26/efm32pg26b301f1024im68.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efm32pg26b301f2048il136.dtsi b/dts/arm/silabs/xg26/efm32pg26b301f2048il136.dtsi index 3cb1a7b19e5ba..0d6172b825a8f 100644 --- a/dts/arm/silabs/xg26/efm32pg26b301f2048il136.dtsi +++ b/dts/arm/silabs/xg26/efm32pg26b301f2048il136.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(2048)>; + ranges = <0x0 0x08000000 DT_SIZE_K(2048)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efm32pg26b301f2048im68.dtsi b/dts/arm/silabs/xg26/efm32pg26b301f2048im68.dtsi index c3cc19cb4c091..a7e9b8ac612bb 100644 --- a/dts/arm/silabs/xg26/efm32pg26b301f2048im68.dtsi +++ b/dts/arm/silabs/xg26/efm32pg26b301f2048im68.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(2048)>; + ranges = <0x0 0x08000000 DT_SIZE_K(2048)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efm32pg26b500f3200il136.dtsi b/dts/arm/silabs/xg26/efm32pg26b500f3200il136.dtsi index d2c250fa1943e..1e8a6087f9428 100644 --- a/dts/arm/silabs/xg26/efm32pg26b500f3200il136.dtsi +++ b/dts/arm/silabs/xg26/efm32pg26b500f3200il136.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(3200)>; + ranges = <0x0 0x08000000 DT_SIZE_K(3200)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efm32pg26b500f3200im48.dtsi b/dts/arm/silabs/xg26/efm32pg26b500f3200im48.dtsi index b29ff3845d787..43b2bdf11e460 100644 --- a/dts/arm/silabs/xg26/efm32pg26b500f3200im48.dtsi +++ b/dts/arm/silabs/xg26/efm32pg26b500f3200im48.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(3200)>; + ranges = <0x0 0x08000000 DT_SIZE_K(3200)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efm32pg26b500f3200im68.dtsi b/dts/arm/silabs/xg26/efm32pg26b500f3200im68.dtsi index 8f84e59f90e6b..f110abcda8968 100644 --- a/dts/arm/silabs/xg26/efm32pg26b500f3200im68.dtsi +++ b/dts/arm/silabs/xg26/efm32pg26b500f3200im68.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(3200)>; + ranges = <0x0 0x08000000 DT_SIZE_K(3200)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efm32pg26b501f3200il136.dtsi b/dts/arm/silabs/xg26/efm32pg26b501f3200il136.dtsi index b268d9261dc88..49dd7e3b2f338 100644 --- a/dts/arm/silabs/xg26/efm32pg26b501f3200il136.dtsi +++ b/dts/arm/silabs/xg26/efm32pg26b501f3200il136.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(3200)>; + ranges = <0x0 0x08000000 DT_SIZE_K(3200)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efm32pg26b501f3200im48.dtsi b/dts/arm/silabs/xg26/efm32pg26b501f3200im48.dtsi index ffddce372e457..5f9174e0125fb 100644 --- a/dts/arm/silabs/xg26/efm32pg26b501f3200im48.dtsi +++ b/dts/arm/silabs/xg26/efm32pg26b501f3200im48.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(3200)>; + ranges = <0x0 0x08000000 DT_SIZE_K(3200)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efm32pg26b501f3200im68.dtsi b/dts/arm/silabs/xg26/efm32pg26b501f3200im68.dtsi index 36ed3c723554b..2f2485c36b83c 100644 --- a/dts/arm/silabs/xg26/efm32pg26b501f3200im68.dtsi +++ b/dts/arm/silabs/xg26/efm32pg26b501f3200im68.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(3200)>; + ranges = <0x0 0x08000000 DT_SIZE_K(3200)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efr32bg26b311f1024il136.dtsi b/dts/arm/silabs/xg26/efr32bg26b311f1024il136.dtsi index 945f29baa57d9..dd1947fe9ae19 100644 --- a/dts/arm/silabs/xg26/efr32bg26b311f1024il136.dtsi +++ b/dts/arm/silabs/xg26/efr32bg26b311f1024il136.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efr32bg26b311f1024im68.dtsi b/dts/arm/silabs/xg26/efr32bg26b311f1024im68.dtsi index 04d4c6c542979..591f3ea17d9d1 100644 --- a/dts/arm/silabs/xg26/efr32bg26b311f1024im68.dtsi +++ b/dts/arm/silabs/xg26/efr32bg26b311f1024im68.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efr32bg26b311f2048il136.dtsi b/dts/arm/silabs/xg26/efr32bg26b311f2048il136.dtsi index a3ca29efd7bac..38921cef61fe0 100644 --- a/dts/arm/silabs/xg26/efr32bg26b311f2048il136.dtsi +++ b/dts/arm/silabs/xg26/efr32bg26b311f2048il136.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(2048)>; + ranges = <0x0 0x08000000 DT_SIZE_K(2048)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efr32bg26b311f2048im48.dtsi b/dts/arm/silabs/xg26/efr32bg26b311f2048im48.dtsi index 8abca8388cc34..c18efe11f2bb3 100644 --- a/dts/arm/silabs/xg26/efr32bg26b311f2048im48.dtsi +++ b/dts/arm/silabs/xg26/efr32bg26b311f2048im48.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(2048)>; + ranges = <0x0 0x08000000 DT_SIZE_K(2048)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efr32bg26b311f2048im68.dtsi b/dts/arm/silabs/xg26/efr32bg26b311f2048im68.dtsi index 8024df88b77c9..31222aa889a83 100644 --- a/dts/arm/silabs/xg26/efr32bg26b311f2048im68.dtsi +++ b/dts/arm/silabs/xg26/efr32bg26b311f2048im68.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(2048)>; + ranges = <0x0 0x08000000 DT_SIZE_K(2048)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efr32bg26b321f1024im68.dtsi b/dts/arm/silabs/xg26/efr32bg26b321f1024im68.dtsi index c964ad5c51978..69a378c442dc5 100644 --- a/dts/arm/silabs/xg26/efr32bg26b321f1024im68.dtsi +++ b/dts/arm/silabs/xg26/efr32bg26b321f1024im68.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efr32bg26b321f2048im48.dtsi b/dts/arm/silabs/xg26/efr32bg26b321f2048im48.dtsi index beefc2ae78aa6..257eabcc45143 100644 --- a/dts/arm/silabs/xg26/efr32bg26b321f2048im48.dtsi +++ b/dts/arm/silabs/xg26/efr32bg26b321f2048im48.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(2048)>; + ranges = <0x0 0x08000000 DT_SIZE_K(2048)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efr32bg26b321f2048im68.dtsi b/dts/arm/silabs/xg26/efr32bg26b321f2048im68.dtsi index 67805ca85c006..64c4f2d7e6484 100644 --- a/dts/arm/silabs/xg26/efr32bg26b321f2048im68.dtsi +++ b/dts/arm/silabs/xg26/efr32bg26b321f2048im68.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(2048)>; + ranges = <0x0 0x08000000 DT_SIZE_K(2048)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efr32bg26b410f3200im48.dtsi b/dts/arm/silabs/xg26/efr32bg26b410f3200im48.dtsi index 875d2daf1c22b..c6bc4f4cab32d 100644 --- a/dts/arm/silabs/xg26/efr32bg26b410f3200im48.dtsi +++ b/dts/arm/silabs/xg26/efr32bg26b410f3200im48.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(3200)>; + ranges = <0x0 0x08000000 DT_SIZE_K(3200)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efr32bg26b411f3200im48.dtsi b/dts/arm/silabs/xg26/efr32bg26b411f3200im48.dtsi index f09dc2790070e..a40b2be328112 100644 --- a/dts/arm/silabs/xg26/efr32bg26b411f3200im48.dtsi +++ b/dts/arm/silabs/xg26/efr32bg26b411f3200im48.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(3200)>; + ranges = <0x0 0x08000000 DT_SIZE_K(3200)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efr32bg26b420f3200im48.dtsi b/dts/arm/silabs/xg26/efr32bg26b420f3200im48.dtsi index 0e2f1960bd768..231f994624e20 100644 --- a/dts/arm/silabs/xg26/efr32bg26b420f3200im48.dtsi +++ b/dts/arm/silabs/xg26/efr32bg26b420f3200im48.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(3200)>; + ranges = <0x0 0x08000000 DT_SIZE_K(3200)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efr32bg26b421f3200im48.dtsi b/dts/arm/silabs/xg26/efr32bg26b421f3200im48.dtsi index eb1785a7206d1..92ec58d5ea58e 100644 --- a/dts/arm/silabs/xg26/efr32bg26b421f3200im48.dtsi +++ b/dts/arm/silabs/xg26/efr32bg26b421f3200im48.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(3200)>; + ranges = <0x0 0x08000000 DT_SIZE_K(3200)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efr32bg26b510f3200il136.dtsi b/dts/arm/silabs/xg26/efr32bg26b510f3200il136.dtsi index db3ae232b9a05..f9a8874096497 100644 --- a/dts/arm/silabs/xg26/efr32bg26b510f3200il136.dtsi +++ b/dts/arm/silabs/xg26/efr32bg26b510f3200il136.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(3200)>; + ranges = <0x0 0x08000000 DT_SIZE_K(3200)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efr32bg26b510f3200im48.dtsi b/dts/arm/silabs/xg26/efr32bg26b510f3200im48.dtsi index 6e0e74977d979..d7c4274ec026e 100644 --- a/dts/arm/silabs/xg26/efr32bg26b510f3200im48.dtsi +++ b/dts/arm/silabs/xg26/efr32bg26b510f3200im48.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(3200)>; + ranges = <0x0 0x08000000 DT_SIZE_K(3200)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efr32bg26b510f3200im68.dtsi b/dts/arm/silabs/xg26/efr32bg26b510f3200im68.dtsi index ac46616883c09..8b0b05af3a1d9 100644 --- a/dts/arm/silabs/xg26/efr32bg26b510f3200im68.dtsi +++ b/dts/arm/silabs/xg26/efr32bg26b510f3200im68.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(3200)>; + ranges = <0x0 0x08000000 DT_SIZE_K(3200)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efr32bg26b511f3200il136.dtsi b/dts/arm/silabs/xg26/efr32bg26b511f3200il136.dtsi index d8c4ae1bc9795..8b9c863aaaf01 100644 --- a/dts/arm/silabs/xg26/efr32bg26b511f3200il136.dtsi +++ b/dts/arm/silabs/xg26/efr32bg26b511f3200il136.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(3200)>; + ranges = <0x0 0x08000000 DT_SIZE_K(3200)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efr32bg26b511f3200im48.dtsi b/dts/arm/silabs/xg26/efr32bg26b511f3200im48.dtsi index b6341ecaed9bc..2b5a8e0e75204 100644 --- a/dts/arm/silabs/xg26/efr32bg26b511f3200im48.dtsi +++ b/dts/arm/silabs/xg26/efr32bg26b511f3200im48.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(3200)>; + ranges = <0x0 0x08000000 DT_SIZE_K(3200)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efr32bg26b511f3200im68.dtsi b/dts/arm/silabs/xg26/efr32bg26b511f3200im68.dtsi index e1b429e9660d3..950f856cac923 100644 --- a/dts/arm/silabs/xg26/efr32bg26b511f3200im68.dtsi +++ b/dts/arm/silabs/xg26/efr32bg26b511f3200im68.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(3200)>; + ranges = <0x0 0x08000000 DT_SIZE_K(3200)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efr32mg26b211f2048im68.dtsi b/dts/arm/silabs/xg26/efr32mg26b211f2048im68.dtsi index b5951eb89e1ce..6084512e6640d 100644 --- a/dts/arm/silabs/xg26/efr32mg26b211f2048im68.dtsi +++ b/dts/arm/silabs/xg26/efr32mg26b211f2048im68.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(2048)>; + ranges = <0x0 0x08000000 DT_SIZE_K(2048)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efr32mg26b211f3200im48.dtsi b/dts/arm/silabs/xg26/efr32mg26b211f3200im48.dtsi index ba7ead3eee83d..7bd084485d91b 100644 --- a/dts/arm/silabs/xg26/efr32mg26b211f3200im48.dtsi +++ b/dts/arm/silabs/xg26/efr32mg26b211f3200im48.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(3200)>; + ranges = <0x0 0x08000000 DT_SIZE_K(3200)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efr32mg26b221f2048im68.dtsi b/dts/arm/silabs/xg26/efr32mg26b221f2048im68.dtsi index e4672356084ae..aa4e43f131cdb 100644 --- a/dts/arm/silabs/xg26/efr32mg26b221f2048im68.dtsi +++ b/dts/arm/silabs/xg26/efr32mg26b221f2048im68.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(2048)>; + ranges = <0x0 0x08000000 DT_SIZE_K(2048)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efr32mg26b221f3200im48.dtsi b/dts/arm/silabs/xg26/efr32mg26b221f3200im48.dtsi index 258ac90696fbb..740d76e6aa0c3 100644 --- a/dts/arm/silabs/xg26/efr32mg26b221f3200im48.dtsi +++ b/dts/arm/silabs/xg26/efr32mg26b221f3200im48.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(3200)>; + ranges = <0x0 0x08000000 DT_SIZE_K(3200)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efr32mg26b311f3200il136.dtsi b/dts/arm/silabs/xg26/efr32mg26b311f3200il136.dtsi index 6bf666668986e..425ebd690af70 100644 --- a/dts/arm/silabs/xg26/efr32mg26b311f3200il136.dtsi +++ b/dts/arm/silabs/xg26/efr32mg26b311f3200il136.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(3200)>; + ranges = <0x0 0x08000000 DT_SIZE_K(3200)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efr32mg26b410f3200im48.dtsi b/dts/arm/silabs/xg26/efr32mg26b410f3200im48.dtsi index 8843b322cb818..9fa14fe5162c5 100644 --- a/dts/arm/silabs/xg26/efr32mg26b410f3200im48.dtsi +++ b/dts/arm/silabs/xg26/efr32mg26b410f3200im48.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(3200)>; + ranges = <0x0 0x08000000 DT_SIZE_K(3200)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efr32mg26b410f3200im68.dtsi b/dts/arm/silabs/xg26/efr32mg26b410f3200im68.dtsi index be403ef644bcf..adaf6611a326e 100644 --- a/dts/arm/silabs/xg26/efr32mg26b410f3200im68.dtsi +++ b/dts/arm/silabs/xg26/efr32mg26b410f3200im68.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(3200)>; + ranges = <0x0 0x08000000 DT_SIZE_K(3200)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efr32mg26b411f3200im48.dtsi b/dts/arm/silabs/xg26/efr32mg26b411f3200im48.dtsi index f3f70fad2ee65..e2c2316c72ef3 100644 --- a/dts/arm/silabs/xg26/efr32mg26b411f3200im48.dtsi +++ b/dts/arm/silabs/xg26/efr32mg26b411f3200im48.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(3200)>; + ranges = <0x0 0x08000000 DT_SIZE_K(3200)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efr32mg26b411f3200im68.dtsi b/dts/arm/silabs/xg26/efr32mg26b411f3200im68.dtsi index 3dc50bcb0e68d..8dd0696f1993e 100644 --- a/dts/arm/silabs/xg26/efr32mg26b411f3200im68.dtsi +++ b/dts/arm/silabs/xg26/efr32mg26b411f3200im68.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(3200)>; + ranges = <0x0 0x08000000 DT_SIZE_K(3200)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efr32mg26b420f3200im48.dtsi b/dts/arm/silabs/xg26/efr32mg26b420f3200im48.dtsi index 46e1be2767592..56aa8bcd54fc2 100644 --- a/dts/arm/silabs/xg26/efr32mg26b420f3200im48.dtsi +++ b/dts/arm/silabs/xg26/efr32mg26b420f3200im48.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(3200)>; + ranges = <0x0 0x08000000 DT_SIZE_K(3200)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efr32mg26b420f3200im68.dtsi b/dts/arm/silabs/xg26/efr32mg26b420f3200im68.dtsi index 632dbe9f57a6d..ac25cef049218 100644 --- a/dts/arm/silabs/xg26/efr32mg26b420f3200im68.dtsi +++ b/dts/arm/silabs/xg26/efr32mg26b420f3200im68.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(3200)>; + ranges = <0x0 0x08000000 DT_SIZE_K(3200)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efr32mg26b421f3200im48.dtsi b/dts/arm/silabs/xg26/efr32mg26b421f3200im48.dtsi index 5a342c1796ba5..6decfdf890b6a 100644 --- a/dts/arm/silabs/xg26/efr32mg26b421f3200im48.dtsi +++ b/dts/arm/silabs/xg26/efr32mg26b421f3200im48.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(3200)>; + ranges = <0x0 0x08000000 DT_SIZE_K(3200)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efr32mg26b421f3200im68.dtsi b/dts/arm/silabs/xg26/efr32mg26b421f3200im68.dtsi index bf148c8647b5e..34560ed1605b3 100644 --- a/dts/arm/silabs/xg26/efr32mg26b421f3200im68.dtsi +++ b/dts/arm/silabs/xg26/efr32mg26b421f3200im68.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(3200)>; + ranges = <0x0 0x08000000 DT_SIZE_K(3200)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efr32mg26b510f3200il136.dtsi b/dts/arm/silabs/xg26/efr32mg26b510f3200il136.dtsi index 1bfa064e7d0f2..ab1e44675a5a1 100644 --- a/dts/arm/silabs/xg26/efr32mg26b510f3200il136.dtsi +++ b/dts/arm/silabs/xg26/efr32mg26b510f3200il136.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(3200)>; + ranges = <0x0 0x08000000 DT_SIZE_K(3200)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efr32mg26b510f3200im48.dtsi b/dts/arm/silabs/xg26/efr32mg26b510f3200im48.dtsi index fd7bca21b1f47..995a80231ae07 100644 --- a/dts/arm/silabs/xg26/efr32mg26b510f3200im48.dtsi +++ b/dts/arm/silabs/xg26/efr32mg26b510f3200im48.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(3200)>; + ranges = <0x0 0x08000000 DT_SIZE_K(3200)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efr32mg26b510f3200im68.dtsi b/dts/arm/silabs/xg26/efr32mg26b510f3200im68.dtsi index 90fa28f59c805..b1feec5bed329 100644 --- a/dts/arm/silabs/xg26/efr32mg26b510f3200im68.dtsi +++ b/dts/arm/silabs/xg26/efr32mg26b510f3200im68.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(3200)>; + ranges = <0x0 0x08000000 DT_SIZE_K(3200)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efr32mg26b511f3200il136.dtsi b/dts/arm/silabs/xg26/efr32mg26b511f3200il136.dtsi index 371708621e469..2236a780a271d 100644 --- a/dts/arm/silabs/xg26/efr32mg26b511f3200il136.dtsi +++ b/dts/arm/silabs/xg26/efr32mg26b511f3200il136.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(3200)>; + ranges = <0x0 0x08000000 DT_SIZE_K(3200)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efr32mg26b511f3200im48.dtsi b/dts/arm/silabs/xg26/efr32mg26b511f3200im48.dtsi index aca23ba72c5af..f9b05d5036fe0 100644 --- a/dts/arm/silabs/xg26/efr32mg26b511f3200im48.dtsi +++ b/dts/arm/silabs/xg26/efr32mg26b511f3200im48.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(3200)>; + ranges = <0x0 0x08000000 DT_SIZE_K(3200)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efr32mg26b511f3200im68.dtsi b/dts/arm/silabs/xg26/efr32mg26b511f3200im68.dtsi index 1552f57b7a9c3..f0446b95aaa19 100644 --- a/dts/arm/silabs/xg26/efr32mg26b511f3200im68.dtsi +++ b/dts/arm/silabs/xg26/efr32mg26b511f3200im68.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(3200)>; + ranges = <0x0 0x08000000 DT_SIZE_K(3200)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efr32mg26b520f3200im48.dtsi b/dts/arm/silabs/xg26/efr32mg26b520f3200im48.dtsi index 87eb615af93cf..23f7eeaebae71 100644 --- a/dts/arm/silabs/xg26/efr32mg26b520f3200im48.dtsi +++ b/dts/arm/silabs/xg26/efr32mg26b520f3200im48.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(3200)>; + ranges = <0x0 0x08000000 DT_SIZE_K(3200)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efr32mg26b520f3200im68.dtsi b/dts/arm/silabs/xg26/efr32mg26b520f3200im68.dtsi index a0b62a3407194..c3f9c3c039bfa 100644 --- a/dts/arm/silabs/xg26/efr32mg26b520f3200im68.dtsi +++ b/dts/arm/silabs/xg26/efr32mg26b520f3200im68.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(3200)>; + ranges = <0x0 0x08000000 DT_SIZE_K(3200)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efr32mg26b521f3200im48.dtsi b/dts/arm/silabs/xg26/efr32mg26b521f3200im48.dtsi index 6a3938445ddf4..0384bf90ed70b 100644 --- a/dts/arm/silabs/xg26/efr32mg26b521f3200im48.dtsi +++ b/dts/arm/silabs/xg26/efr32mg26b521f3200im48.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(3200)>; + ranges = <0x0 0x08000000 DT_SIZE_K(3200)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/efr32mg26b521f3200im68.dtsi b/dts/arm/silabs/xg26/efr32mg26b521f3200im68.dtsi index 401f8970f97ef..3c6e8cc4f2ecc 100644 --- a/dts/arm/silabs/xg26/efr32mg26b521f3200im68.dtsi +++ b/dts/arm/silabs/xg26/efr32mg26b521f3200im68.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(3200)>; + ranges = <0x0 0x08000000 DT_SIZE_K(3200)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/mgm260pb22vna.dtsi b/dts/arm/silabs/xg26/mgm260pb22vna.dtsi index b9c6437840a52..608f091c04153 100644 --- a/dts/arm/silabs/xg26/mgm260pb22vna.dtsi +++ b/dts/arm/silabs/xg26/mgm260pb22vna.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(3200)>; + ranges = <0x0 0x08000000 DT_SIZE_K(3200)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/mgm260pb32vna.dtsi b/dts/arm/silabs/xg26/mgm260pb32vna.dtsi index b651dc7e6ed3b..3f75583e40325 100644 --- a/dts/arm/silabs/xg26/mgm260pb32vna.dtsi +++ b/dts/arm/silabs/xg26/mgm260pb32vna.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(3200)>; + ranges = <0x0 0x08000000 DT_SIZE_K(3200)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/mgm260pb32vnn.dtsi b/dts/arm/silabs/xg26/mgm260pb32vnn.dtsi index 78a1a97fba052..849bf4a7cb1bf 100644 --- a/dts/arm/silabs/xg26/mgm260pb32vnn.dtsi +++ b/dts/arm/silabs/xg26/mgm260pb32vnn.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(3200)>; + ranges = <0x0 0x08000000 DT_SIZE_K(3200)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/mgm260pd22vna.dtsi b/dts/arm/silabs/xg26/mgm260pd22vna.dtsi index 305bda462da60..3f55ecacb10cb 100644 --- a/dts/arm/silabs/xg26/mgm260pd22vna.dtsi +++ b/dts/arm/silabs/xg26/mgm260pd22vna.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(3200)>; + ranges = <0x0 0x08000000 DT_SIZE_K(3200)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/mgm260pd32vna.dtsi b/dts/arm/silabs/xg26/mgm260pd32vna.dtsi index 73b37ab3726c9..718f3c3da93b6 100644 --- a/dts/arm/silabs/xg26/mgm260pd32vna.dtsi +++ b/dts/arm/silabs/xg26/mgm260pd32vna.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(3200)>; + ranges = <0x0 0x08000000 DT_SIZE_K(3200)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/mgm260pd32vnn.dtsi b/dts/arm/silabs/xg26/mgm260pd32vnn.dtsi index 2d853a93be8b9..cf856d113350b 100644 --- a/dts/arm/silabs/xg26/mgm260pd32vnn.dtsi +++ b/dts/arm/silabs/xg26/mgm260pd32vnn.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(3200)>; + ranges = <0x0 0x08000000 DT_SIZE_K(3200)>; }; &gpioa { diff --git a/dts/arm/silabs/xg26/xg26.dtsi b/dts/arm/silabs/xg26/xg26.dtsi index 34e2e6eaeebea..4b87bf78c1051 100644 --- a/dts/arm/silabs/xg26/xg26.dtsi +++ b/dts/arm/silabs/xg26/xg26.dtsi @@ -281,6 +281,7 @@ msc: flash-controller@50030000 { compatible = "silabs,series2-flash-controller"; reg = <0x50030000 0x4000>; + ranges; #address-cells = <1>; #size-cells = <1>; clocks = <&cmu CLOCK_MSC CLOCK_BRANCH_HCLK>; @@ -289,6 +290,8 @@ flash0: flash@8000000 { compatible = "soc-nv-flash"; + #address-cells = <1>; + #size-cells = <1>; erase-block-size = <8192>; write-block-size = <4>; }; diff --git a/dts/arm/silabs/xg27/efr32bg27c140f768im32.dtsi b/dts/arm/silabs/xg27/efr32bg27c140f768im32.dtsi index e54b15fcd86cd..7de8901da7265 100644 --- a/dts/arm/silabs/xg27/efr32bg27c140f768im32.dtsi +++ b/dts/arm/silabs/xg27/efr32bg27c140f768im32.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(768)>; + ranges = <0x0 0x08000000 DT_SIZE_K(768)>; }; &gpioa { diff --git a/dts/arm/silabs/xg27/efr32bg27c140f768im40.dtsi b/dts/arm/silabs/xg27/efr32bg27c140f768im40.dtsi index e151317febc22..5bfe9839c3486 100644 --- a/dts/arm/silabs/xg27/efr32bg27c140f768im40.dtsi +++ b/dts/arm/silabs/xg27/efr32bg27c140f768im40.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(768)>; + ranges = <0x0 0x08000000 DT_SIZE_K(768)>; }; &gpioa { diff --git a/dts/arm/silabs/xg27/efr32bg27c230f768im32.dtsi b/dts/arm/silabs/xg27/efr32bg27c230f768im32.dtsi index 0915c53154d7c..29439fd095546 100644 --- a/dts/arm/silabs/xg27/efr32bg27c230f768im32.dtsi +++ b/dts/arm/silabs/xg27/efr32bg27c230f768im32.dtsi @@ -24,6 +24,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(768)>; + ranges = <0x0 0x08000000 DT_SIZE_K(768)>; }; &gpioa { diff --git a/dts/arm/silabs/xg27/efr32bg27c230f768im40.dtsi b/dts/arm/silabs/xg27/efr32bg27c230f768im40.dtsi index 9980e18c61876..3e205f4192296 100644 --- a/dts/arm/silabs/xg27/efr32bg27c230f768im40.dtsi +++ b/dts/arm/silabs/xg27/efr32bg27c230f768im40.dtsi @@ -24,6 +24,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(768)>; + ranges = <0x0 0x08000000 DT_SIZE_K(768)>; }; &gpioa { diff --git a/dts/arm/silabs/xg27/efr32bg27c320f768gj39.dtsi b/dts/arm/silabs/xg27/efr32bg27c320f768gj39.dtsi index 085a741315f3c..ef0acb0390e00 100644 --- a/dts/arm/silabs/xg27/efr32bg27c320f768gj39.dtsi +++ b/dts/arm/silabs/xg27/efr32bg27c320f768gj39.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(768)>; + ranges = <0x0 0x08000000 DT_SIZE_K(768)>; }; &gpioa { diff --git a/dts/arm/silabs/xg27/efr32bg27c320f768ij39.dtsi b/dts/arm/silabs/xg27/efr32bg27c320f768ij39.dtsi index 3eac87d8bd399..8823d83235163 100644 --- a/dts/arm/silabs/xg27/efr32bg27c320f768ij39.dtsi +++ b/dts/arm/silabs/xg27/efr32bg27c320f768ij39.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(768)>; + ranges = <0x0 0x08000000 DT_SIZE_K(768)>; }; &gpioa { diff --git a/dts/arm/silabs/xg27/efr32mg27c140f768im32.dtsi b/dts/arm/silabs/xg27/efr32mg27c140f768im32.dtsi index 2ebaebed342f9..f487a545ee1d5 100644 --- a/dts/arm/silabs/xg27/efr32mg27c140f768im32.dtsi +++ b/dts/arm/silabs/xg27/efr32mg27c140f768im32.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(768)>; + ranges = <0x0 0x08000000 DT_SIZE_K(768)>; }; &gpioa { diff --git a/dts/arm/silabs/xg27/efr32mg27c140f768im40.dtsi b/dts/arm/silabs/xg27/efr32mg27c140f768im40.dtsi index dc1f7cab25cc7..9e1367430ef15 100644 --- a/dts/arm/silabs/xg27/efr32mg27c140f768im40.dtsi +++ b/dts/arm/silabs/xg27/efr32mg27c140f768im40.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(768)>; + ranges = <0x0 0x08000000 DT_SIZE_K(768)>; }; &gpioa { diff --git a/dts/arm/silabs/xg27/efr32mg27c230f768im32.dtsi b/dts/arm/silabs/xg27/efr32mg27c230f768im32.dtsi index 6c4169ccaf283..0e604888d8932 100644 --- a/dts/arm/silabs/xg27/efr32mg27c230f768im32.dtsi +++ b/dts/arm/silabs/xg27/efr32mg27c230f768im32.dtsi @@ -24,6 +24,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(768)>; + ranges = <0x0 0x08000000 DT_SIZE_K(768)>; }; &gpioa { diff --git a/dts/arm/silabs/xg27/efr32mg27c230f768im40.dtsi b/dts/arm/silabs/xg27/efr32mg27c230f768im40.dtsi index cfc1c8c2f9fd1..155fe2bf3f129 100644 --- a/dts/arm/silabs/xg27/efr32mg27c230f768im40.dtsi +++ b/dts/arm/silabs/xg27/efr32mg27c230f768im40.dtsi @@ -24,6 +24,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(768)>; + ranges = <0x0 0x08000000 DT_SIZE_K(768)>; }; &gpioa { diff --git a/dts/arm/silabs/xg27/xg27.dtsi b/dts/arm/silabs/xg27/xg27.dtsi index 3cee774fda02e..d249945858916 100644 --- a/dts/arm/silabs/xg27/xg27.dtsi +++ b/dts/arm/silabs/xg27/xg27.dtsi @@ -264,6 +264,7 @@ msc: flash-controller@50030000 { compatible = "silabs,series2-flash-controller"; reg = <0x50030000 0x4000>; + ranges; #address-cells = <1>; #size-cells = <1>; clocks = <&cmu CLOCK_MSC CLOCK_BRANCH_HCLK>; @@ -272,6 +273,8 @@ flash0: flash@8000000 { compatible = "soc-nv-flash"; + #address-cells = <1>; + #size-cells = <1>; erase-block-size = <8192>; write-block-size = <4>; }; diff --git a/dts/arm/silabs/xg28/efm32pg28b200f512im68.dtsi b/dts/arm/silabs/xg28/efm32pg28b200f512im68.dtsi index 7564131000555..f755b06cbaa6d 100644 --- a/dts/arm/silabs/xg28/efm32pg28b200f512im68.dtsi +++ b/dts/arm/silabs/xg28/efm32pg28b200f512im68.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(512)>; + ranges = <0x0 0x08000000 DT_SIZE_K(512)>; }; &gpioa { diff --git a/dts/arm/silabs/xg28/efm32pg28b210f1024im68.dtsi b/dts/arm/silabs/xg28/efm32pg28b210f1024im68.dtsi index 6fc5e682a5332..869aa2edcaf53 100644 --- a/dts/arm/silabs/xg28/efm32pg28b210f1024im68.dtsi +++ b/dts/arm/silabs/xg28/efm32pg28b210f1024im68.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg28/efm32pg28b300f512im68.dtsi b/dts/arm/silabs/xg28/efm32pg28b300f512im68.dtsi index b5ecb2d65d79e..d1bbacb3badf9 100644 --- a/dts/arm/silabs/xg28/efm32pg28b300f512im68.dtsi +++ b/dts/arm/silabs/xg28/efm32pg28b300f512im68.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(512)>; + ranges = <0x0 0x08000000 DT_SIZE_K(512)>; }; &gpioa { diff --git a/dts/arm/silabs/xg28/efm32pg28b310f1024im68.dtsi b/dts/arm/silabs/xg28/efm32pg28b310f1024im68.dtsi index bcc32fe1db762..70adaa0fe83e5 100644 --- a/dts/arm/silabs/xg28/efm32pg28b310f1024im68.dtsi +++ b/dts/arm/silabs/xg28/efm32pg28b310f1024im68.dtsi @@ -17,6 +17,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg28/efr32fg28a010f1024gm48.dtsi b/dts/arm/silabs/xg28/efr32fg28a010f1024gm48.dtsi index 4de3ee60fa873..349ce7e9ac37c 100644 --- a/dts/arm/silabs/xg28/efr32fg28a010f1024gm48.dtsi +++ b/dts/arm/silabs/xg28/efr32fg28a010f1024gm48.dtsi @@ -18,6 +18,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg28/efr32fg28a010f1024gm68.dtsi b/dts/arm/silabs/xg28/efr32fg28a010f1024gm68.dtsi index 0a1af6a704b82..8a917647c1c96 100644 --- a/dts/arm/silabs/xg28/efr32fg28a010f1024gm68.dtsi +++ b/dts/arm/silabs/xg28/efr32fg28a010f1024gm68.dtsi @@ -18,6 +18,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg28/efr32fg28a110f1024gm48.dtsi b/dts/arm/silabs/xg28/efr32fg28a110f1024gm48.dtsi index 498c22b7948f3..064c54eba1817 100644 --- a/dts/arm/silabs/xg28/efr32fg28a110f1024gm48.dtsi +++ b/dts/arm/silabs/xg28/efr32fg28a110f1024gm48.dtsi @@ -18,6 +18,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg28/efr32fg28a110f1024gm68.dtsi b/dts/arm/silabs/xg28/efr32fg28a110f1024gm68.dtsi index aa650b164d27f..a7916716349e5 100644 --- a/dts/arm/silabs/xg28/efr32fg28a110f1024gm68.dtsi +++ b/dts/arm/silabs/xg28/efr32fg28a110f1024gm68.dtsi @@ -18,6 +18,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg28/efr32fg28a112f1024gm48.dtsi b/dts/arm/silabs/xg28/efr32fg28a112f1024gm48.dtsi index 54817cb2a8572..77db614059468 100644 --- a/dts/arm/silabs/xg28/efr32fg28a112f1024gm48.dtsi +++ b/dts/arm/silabs/xg28/efr32fg28a112f1024gm48.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg28/efr32fg28a112f1024gm68.dtsi b/dts/arm/silabs/xg28/efr32fg28a112f1024gm68.dtsi index 278d89ef9e7da..1a374f17fdc51 100644 --- a/dts/arm/silabs/xg28/efr32fg28a112f1024gm68.dtsi +++ b/dts/arm/silabs/xg28/efr32fg28a112f1024gm68.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg28/efr32fg28a120f1024gm48.dtsi b/dts/arm/silabs/xg28/efr32fg28a120f1024gm48.dtsi index b36b3ba6ae116..3d3dafbe34f9a 100644 --- a/dts/arm/silabs/xg28/efr32fg28a120f1024gm48.dtsi +++ b/dts/arm/silabs/xg28/efr32fg28a120f1024gm48.dtsi @@ -18,6 +18,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg28/efr32fg28a120f1024gm68.dtsi b/dts/arm/silabs/xg28/efr32fg28a120f1024gm68.dtsi index ffb102f41d7f8..cdd6c5f7096b9 100644 --- a/dts/arm/silabs/xg28/efr32fg28a120f1024gm68.dtsi +++ b/dts/arm/silabs/xg28/efr32fg28a120f1024gm68.dtsi @@ -18,6 +18,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg28/efr32fg28a122f1024gm48.dtsi b/dts/arm/silabs/xg28/efr32fg28a122f1024gm48.dtsi index da57fe3a03f3d..4570c7ebb1981 100644 --- a/dts/arm/silabs/xg28/efr32fg28a122f1024gm48.dtsi +++ b/dts/arm/silabs/xg28/efr32fg28a122f1024gm48.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg28/efr32fg28a122f1024gm68.dtsi b/dts/arm/silabs/xg28/efr32fg28a122f1024gm68.dtsi index 56982fcbd1bb5..193b676c8b04b 100644 --- a/dts/arm/silabs/xg28/efr32fg28a122f1024gm68.dtsi +++ b/dts/arm/silabs/xg28/efr32fg28a122f1024gm68.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg28/efr32fg28b310f1024im48.dtsi b/dts/arm/silabs/xg28/efr32fg28b310f1024im48.dtsi index 8bc955142140b..66b0bba022e95 100644 --- a/dts/arm/silabs/xg28/efr32fg28b310f1024im48.dtsi +++ b/dts/arm/silabs/xg28/efr32fg28b310f1024im48.dtsi @@ -18,6 +18,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg28/efr32fg28b310f1024im68.dtsi b/dts/arm/silabs/xg28/efr32fg28b310f1024im68.dtsi index b595febd75b23..8fbd9335bda15 100644 --- a/dts/arm/silabs/xg28/efr32fg28b310f1024im68.dtsi +++ b/dts/arm/silabs/xg28/efr32fg28b310f1024im68.dtsi @@ -18,6 +18,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg28/efr32fg28b312f1024im48.dtsi b/dts/arm/silabs/xg28/efr32fg28b312f1024im48.dtsi index 6a2107b81891c..330e47d38381f 100644 --- a/dts/arm/silabs/xg28/efr32fg28b312f1024im48.dtsi +++ b/dts/arm/silabs/xg28/efr32fg28b312f1024im48.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg28/efr32fg28b312f1024im68.dtsi b/dts/arm/silabs/xg28/efr32fg28b312f1024im68.dtsi index 9c044813e7c01..17db5f5910453 100644 --- a/dts/arm/silabs/xg28/efr32fg28b312f1024im68.dtsi +++ b/dts/arm/silabs/xg28/efr32fg28b312f1024im68.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg28/efr32fg28b320f1024im48.dtsi b/dts/arm/silabs/xg28/efr32fg28b320f1024im48.dtsi index e5000d9ab3f0a..92cdddd774c4b 100644 --- a/dts/arm/silabs/xg28/efr32fg28b320f1024im48.dtsi +++ b/dts/arm/silabs/xg28/efr32fg28b320f1024im48.dtsi @@ -18,6 +18,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg28/efr32fg28b320f1024im68.dtsi b/dts/arm/silabs/xg28/efr32fg28b320f1024im68.dtsi index a8a5900e8da3a..1548fa213598f 100644 --- a/dts/arm/silabs/xg28/efr32fg28b320f1024im68.dtsi +++ b/dts/arm/silabs/xg28/efr32fg28b320f1024im68.dtsi @@ -18,6 +18,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg28/efr32fg28b322f1024im48.dtsi b/dts/arm/silabs/xg28/efr32fg28b322f1024im48.dtsi index f44c5ee12bec0..35079070736bf 100644 --- a/dts/arm/silabs/xg28/efr32fg28b322f1024im48.dtsi +++ b/dts/arm/silabs/xg28/efr32fg28b322f1024im48.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg28/efr32fg28b322f1024im68.dtsi b/dts/arm/silabs/xg28/efr32fg28b322f1024im68.dtsi index d05347529b892..72a41dbb3c7f0 100644 --- a/dts/arm/silabs/xg28/efr32fg28b322f1024im68.dtsi +++ b/dts/arm/silabs/xg28/efr32fg28b322f1024im68.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg28/efr32zg28a110f1024gm48.dtsi b/dts/arm/silabs/xg28/efr32zg28a110f1024gm48.dtsi index 227b2dbe59ac6..84921b873b095 100644 --- a/dts/arm/silabs/xg28/efr32zg28a110f1024gm48.dtsi +++ b/dts/arm/silabs/xg28/efr32zg28a110f1024gm48.dtsi @@ -18,6 +18,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg28/efr32zg28a110f1024gm68.dtsi b/dts/arm/silabs/xg28/efr32zg28a110f1024gm68.dtsi index c222fc961a66e..d3a8299482aa1 100644 --- a/dts/arm/silabs/xg28/efr32zg28a110f1024gm68.dtsi +++ b/dts/arm/silabs/xg28/efr32zg28a110f1024gm68.dtsi @@ -18,6 +18,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg28/efr32zg28a112f1024gm48.dtsi b/dts/arm/silabs/xg28/efr32zg28a112f1024gm48.dtsi index 3e385dd6c61bd..42b54e91b6472 100644 --- a/dts/arm/silabs/xg28/efr32zg28a112f1024gm48.dtsi +++ b/dts/arm/silabs/xg28/efr32zg28a112f1024gm48.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg28/efr32zg28a112f1024gm68.dtsi b/dts/arm/silabs/xg28/efr32zg28a112f1024gm68.dtsi index c2c43eb85c5ab..8c289237778e0 100644 --- a/dts/arm/silabs/xg28/efr32zg28a112f1024gm68.dtsi +++ b/dts/arm/silabs/xg28/efr32zg28a112f1024gm68.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg28/efr32zg28a120f1024gm48.dtsi b/dts/arm/silabs/xg28/efr32zg28a120f1024gm48.dtsi index 44a99a9338893..32548806cf2ee 100644 --- a/dts/arm/silabs/xg28/efr32zg28a120f1024gm48.dtsi +++ b/dts/arm/silabs/xg28/efr32zg28a120f1024gm48.dtsi @@ -18,6 +18,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg28/efr32zg28a120f1024gm68.dtsi b/dts/arm/silabs/xg28/efr32zg28a120f1024gm68.dtsi index 2336f2526d9ff..54485dad99904 100644 --- a/dts/arm/silabs/xg28/efr32zg28a120f1024gm68.dtsi +++ b/dts/arm/silabs/xg28/efr32zg28a120f1024gm68.dtsi @@ -18,6 +18,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg28/efr32zg28a122f1024gm48.dtsi b/dts/arm/silabs/xg28/efr32zg28a122f1024gm48.dtsi index 4ad25848f3fdb..265817fd1152d 100644 --- a/dts/arm/silabs/xg28/efr32zg28a122f1024gm48.dtsi +++ b/dts/arm/silabs/xg28/efr32zg28a122f1024gm48.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg28/efr32zg28a122f1024gm68.dtsi b/dts/arm/silabs/xg28/efr32zg28a122f1024gm68.dtsi index f9c9d38edc410..9327578c49745 100644 --- a/dts/arm/silabs/xg28/efr32zg28a122f1024gm68.dtsi +++ b/dts/arm/silabs/xg28/efr32zg28a122f1024gm68.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg28/efr32zg28b310f1024im48.dtsi b/dts/arm/silabs/xg28/efr32zg28b310f1024im48.dtsi index 45c04c634c82b..3e17e851e26a3 100644 --- a/dts/arm/silabs/xg28/efr32zg28b310f1024im48.dtsi +++ b/dts/arm/silabs/xg28/efr32zg28b310f1024im48.dtsi @@ -18,6 +18,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg28/efr32zg28b310f1024im68.dtsi b/dts/arm/silabs/xg28/efr32zg28b310f1024im68.dtsi index 62ed5fde3a5c8..89090c4e967af 100644 --- a/dts/arm/silabs/xg28/efr32zg28b310f1024im68.dtsi +++ b/dts/arm/silabs/xg28/efr32zg28b310f1024im68.dtsi @@ -18,6 +18,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg28/efr32zg28b312f1024im48.dtsi b/dts/arm/silabs/xg28/efr32zg28b312f1024im48.dtsi index 5db7f8e78732c..a5baf130794cd 100644 --- a/dts/arm/silabs/xg28/efr32zg28b312f1024im48.dtsi +++ b/dts/arm/silabs/xg28/efr32zg28b312f1024im48.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg28/efr32zg28b312f1024im68.dtsi b/dts/arm/silabs/xg28/efr32zg28b312f1024im68.dtsi index 60fb399d2beb8..cf8465e1c96d9 100644 --- a/dts/arm/silabs/xg28/efr32zg28b312f1024im68.dtsi +++ b/dts/arm/silabs/xg28/efr32zg28b312f1024im68.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg28/efr32zg28b320f1024im48.dtsi b/dts/arm/silabs/xg28/efr32zg28b320f1024im48.dtsi index b331c4b062c39..0e42c90bd6790 100644 --- a/dts/arm/silabs/xg28/efr32zg28b320f1024im48.dtsi +++ b/dts/arm/silabs/xg28/efr32zg28b320f1024im48.dtsi @@ -18,6 +18,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg28/efr32zg28b320f1024im68.dtsi b/dts/arm/silabs/xg28/efr32zg28b320f1024im68.dtsi index 3ed11a55f9cb6..4eb32e77962e6 100644 --- a/dts/arm/silabs/xg28/efr32zg28b320f1024im68.dtsi +++ b/dts/arm/silabs/xg28/efr32zg28b320f1024im68.dtsi @@ -18,6 +18,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg28/efr32zg28b322f1024im48.dtsi b/dts/arm/silabs/xg28/efr32zg28b322f1024im48.dtsi index 9a7995ee08e6c..9c62fbcfa2f40 100644 --- a/dts/arm/silabs/xg28/efr32zg28b322f1024im48.dtsi +++ b/dts/arm/silabs/xg28/efr32zg28b322f1024im48.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg28/efr32zg28b322f1024im68.dtsi b/dts/arm/silabs/xg28/efr32zg28b322f1024im68.dtsi index 82be829ef75d5..f3dee94e1e581 100644 --- a/dts/arm/silabs/xg28/efr32zg28b322f1024im68.dtsi +++ b/dts/arm/silabs/xg28/efr32zg28b322f1024im68.dtsi @@ -17,6 +17,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg28/xg28.dtsi b/dts/arm/silabs/xg28/xg28.dtsi index 17c7749c8cef4..6fca9f4401831 100644 --- a/dts/arm/silabs/xg28/xg28.dtsi +++ b/dts/arm/silabs/xg28/xg28.dtsi @@ -275,6 +275,7 @@ msc: flash-controller@50030000 { compatible = "silabs,series2-flash-controller"; reg = <0x50030000 0x4000>; + ranges; #address-cells = <1>; #size-cells = <1>; clocks = <&cmu CLOCK_MSC CLOCK_BRANCH_HCLK>; @@ -283,6 +284,8 @@ flash0: flash@8000000 { compatible = "soc-nv-flash"; + #address-cells = <1>; + #size-cells = <1>; erase-block-size = <8192>; write-block-size = <4>; }; diff --git a/dts/arm/silabs/xg29/efr32bg29b140f1024im40.dtsi b/dts/arm/silabs/xg29/efr32bg29b140f1024im40.dtsi index 88bc75f33ccea..dab02eb409ac4 100644 --- a/dts/arm/silabs/xg29/efr32bg29b140f1024im40.dtsi +++ b/dts/arm/silabs/xg29/efr32bg29b140f1024im40.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg29/efr32bg29b220f1024cj45.dtsi b/dts/arm/silabs/xg29/efr32bg29b220f1024cj45.dtsi index 8128e81775a64..a7ee7abb5fe29 100644 --- a/dts/arm/silabs/xg29/efr32bg29b220f1024cj45.dtsi +++ b/dts/arm/silabs/xg29/efr32bg29b220f1024cj45.dtsi @@ -24,6 +24,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg29/efr32bg29b221f1024cj45.dtsi b/dts/arm/silabs/xg29/efr32bg29b221f1024cj45.dtsi index ed5c3d2484763..58054225d44ac 100644 --- a/dts/arm/silabs/xg29/efr32bg29b221f1024cj45.dtsi +++ b/dts/arm/silabs/xg29/efr32bg29b221f1024cj45.dtsi @@ -24,6 +24,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg29/efr32bg29b230f1024cm40.dtsi b/dts/arm/silabs/xg29/efr32bg29b230f1024cm40.dtsi index 63237d25d7354..08f54ceb00c7b 100644 --- a/dts/arm/silabs/xg29/efr32bg29b230f1024cm40.dtsi +++ b/dts/arm/silabs/xg29/efr32bg29b230f1024cm40.dtsi @@ -24,6 +24,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg29/efr32mg29b140f1024im40.dtsi b/dts/arm/silabs/xg29/efr32mg29b140f1024im40.dtsi index ae351998f4631..5adf3f1de47af 100644 --- a/dts/arm/silabs/xg29/efr32mg29b140f1024im40.dtsi +++ b/dts/arm/silabs/xg29/efr32mg29b140f1024im40.dtsi @@ -16,6 +16,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg29/efr32mg29b230f1024cm40.dtsi b/dts/arm/silabs/xg29/efr32mg29b230f1024cm40.dtsi index 88fa97cc68b29..74959ec801b70 100644 --- a/dts/arm/silabs/xg29/efr32mg29b230f1024cm40.dtsi +++ b/dts/arm/silabs/xg29/efr32mg29b230f1024cm40.dtsi @@ -24,6 +24,7 @@ &flash0 { reg = <0x08000000 DT_SIZE_K(1024)>; + ranges = <0x0 0x08000000 DT_SIZE_K(1024)>; }; &gpioa { diff --git a/dts/arm/silabs/xg29/xg29.dtsi b/dts/arm/silabs/xg29/xg29.dtsi index 904e1fe4f0da3..5e5e1fece9c5e 100644 --- a/dts/arm/silabs/xg29/xg29.dtsi +++ b/dts/arm/silabs/xg29/xg29.dtsi @@ -269,6 +269,7 @@ msc: flash-controller@50030000 { compatible = "silabs,series2-flash-controller"; reg = <0x50030000 0x4000>; + ranges; #address-cells = <1>; #size-cells = <1>; clocks = <&cmu CLOCK_MSC CLOCK_BRANCH_HCLK>; @@ -277,6 +278,8 @@ flash0: flash@8000000 { compatible = "soc-nv-flash"; + #address-cells = <1>; + #size-cells = <1>; erase-block-size = <8192>; write-block-size = <4>; }; diff --git a/soc/silabs/silabs_siwx91x/CMakeLists.txt b/soc/silabs/silabs_siwx91x/CMakeLists.txt index f1e6e5e6255fe..7c118ebe5e8a8 100644 --- a/soc/silabs/silabs_siwx91x/CMakeLists.txt +++ b/soc/silabs/silabs_siwx91x/CMakeLists.txt @@ -5,7 +5,12 @@ include(west) add_subdirectory(siwg917) # Necessary to not overwrite NWP Firmware -math(EXPR FLASH_LOAD_ADDRESS "(${CONFIG_FLASH_BASE_ADDRESS}) + (${CONFIG_FLASH_LOAD_OFFSET})") +if(CONFIG_FLASH_USES_MAPPED_PARTITION) + dt_chosen(code_partition PROPERTY "zephyr,code-partition") + dt_reg_addr(FLASH_LOAD_ADDRESS PATH "${code_partition}") +else() + math(EXPR FLASH_LOAD_ADDRESS "(${CONFIG_FLASH_BASE_ADDRESS}) + (${CONFIG_FLASH_LOAD_OFFSET})") +endif() set_property(GLOBAL APPEND PROPERTY extra_post_build_commands COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/siwx91x_isp_prepare.py