Enable routerbootpart partitions on MikroTik devices.
Tested-by: Tobias Schramm <t.schramm@manjaro.org>
Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
label = "RouterBoot";
reg = <0x0 0x40000>;
read-only;
- compatible = "fixed-partitions";
+ compatible = "mikrotik,routerboot-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "bootloader1";
- reg = <0x0 0xf000>;
+ reg = <0x0 0x0>;
read-only;
};
- hard_config: partition@f000 {
- label = "hard_config";
- reg = <0xf000 0x1000>;
+ hard_config: hard_config {
read-only;
};
read-only;
};
- partition@20000 {
- label = "soft_config";
- reg = <0x20000 0x1000>;
+ soft_config {
};
partition@30000 {
label = "RouterBoot";
reg = <0x0 0x40000>;
read-only;
- compatible = "fixed-partitions";
+ compatible = "mikrotik,routerboot-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "bootloader1";
- reg = <0x0 0xf000>;
+ reg = <0x0 0x0>;
read-only;
};
- hard_config: partition@f000 {
- label = "hard_config";
- reg = <0xf000 0x1000>;
+ hard_config: hard_config {
read-only;
};
read-only;
};
- partition@20000 {
- label = "soft_config";
- reg = <0x20000 0x1000>;
+ soft_config {
};
partition@30000 {
label = "RouterBoot";
reg = <0x0 0x40000>;
read-only;
- compatible = "fixed-partitions";
+ compatible = "mikrotik,routerboot-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "bootloader1";
- reg = <0x0 0xf000>;
+ reg = <0x0 0x0>;
read-only;
};
- hard_config: partition@f000 {
- label = "hard_config";
- reg = <0xf000 0x1000>;
+ hard_config: hard_config {
read-only;
};
read-only;
};
- partition@20000 {
- label = "soft_config";
- reg = <0x20000 0x1000>;
+ soft_config {
};
partition@30000 {