Move shared DTS properties for Nokia XG-040G-MD and XG-040G-MF into common DTSI files to reduce duplication: - an758x-nokia_xg-040g-common.dtsi - an758x-nokia_xg-040g-stock-parts.dtsi - an758x-nokia_xg-040g-ubi-parts.dtsi Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com> Link: https://github.com/openwrt/openwrt/pull/23809 Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
79 lines
1.1 KiB
Devicetree
79 lines
1.1 KiB
Devicetree
// 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";
|
|
};
|
|
};
|