// SPDX-License-Identifier: GPL-2.0-only OR MIT / { chosen { rootdisk = <&ubi_fit>; }; }; &partitions { partition@0_all { label = "all_flash"; reg = <0x0 0x10000000>; read-only; }; partition@0 { label = "bl2"; reg = <0x0 0x20000>; read-only; }; partition@20000 { label = "ubi"; reg = <0x20000 0xffe0000>; compatible = "linux,ubi"; volumes { ubi-volume-bosa { volname = "bosa"; }; ubi-volume-factory { volname = "ri"; nvmem-layout { compatible = "fixed-layout"; #address-cells = <1>; #size-cells = <1>; macaddr_factory_3e: macaddr@3e { compatible = "mac-base"; reg = <0x3e 0x6>; #nvmem-cell-cells = <1>; }; }; }; ubi_fit: ubi-volume-fit { volname = "fit"; }; ubi-volume-fip { volname = "fip"; }; ubi_env: ubi-volume-ubootenv { volname = "ubootenv"; }; ubi_env2: ubi-volume-ubootenv2 { volname = "ubootenv2"; }; }; }; }; &ubi_env { nvmem-layout { compatible = "u-boot,env-redundant-bool-layout"; }; }; &ubi_env2 { nvmem-layout { compatible = "u-boot,env-redundant-bool-layout"; }; };