1/* 2 * Copyright (c) 2022, Commonwealth Scientific and Industrial Research 3 * Organisation (CSIRO) ABN 41 687 119 230. 4 * 5 * SPDX-License-Identifier: Apache-2.0 6 * 7 * Test compilation with subpartitions and disabled flash nodes. 8 */ 9 10/ { 11 disabled_flash@0 { 12 compatible = "vnd,flash"; 13 reg = <0x00 0x1000>; 14 status = "disabled"; 15 16 partitions { 17 compatible = "fixed-partitions"; 18 #address-cells = <1>; 19 #size-cells = <1>; 20 21 disabled_a: partition@0 { 22 compatible = "fixed-subpartitions"; 23 label = "disabled_a"; 24 reg = <0x00000000 0x00001000>; 25 ranges = <0x0 0x0 0x1000>; 26 #address-cells = <1>; 27 #size-cells = <1>; 28 29 disabled_a_a: partition@0 { 30 label = "disabled_a_a"; 31 reg = <0x00000000 0x100>; 32 }; 33 34 disabled_a_b: partition@100 { 35 label = "disabled_a_b"; 36 reg = <0x00000100 0xF00>; 37 }; 38 }; 39 40 disabled_b: partition@1000 { 41 compatible = "fixed-subpartitions"; 42 label = "disabled_b"; 43 reg = <0x00001000 0x00001000>; 44 ranges = <0x0 0x1000 0x1000>; 45 #address-cells = <1>; 46 #size-cells = <1>; 47 48 disabled_b_a: partition@0 { 49 label = "disabled_b_a"; 50 reg = <0x00000000 0x100>; 51 }; 52 53 disabled_b_b: partition@100 { 54 label = "disabled_b_b"; 55 reg = <0x00000100 0xF00>; 56 }; 57 }; 58 }; 59 }; 60}; 61