starfive visionfive2: Increase mtd0 to fit spl
This commit is contained in:
parent
e8159d4e3d
commit
87e3122b67
|
@ -21,4 +21,9 @@
|
|||
|
||||
hardware.deviceTree.name =
|
||||
lib.mkDefault "starfive/jh7110-starfive-visionfive-2-v1.3b.dtb";
|
||||
|
||||
hardware.deviceTree.overlays = [{
|
||||
name = "qspi-patch";
|
||||
dtsFile = ./qspi-patch.dts;
|
||||
}];
|
||||
}
|
||||
|
|
17
starfive/visionfive/v2/qspi-patch.dts
Normal file
17
starfive/visionfive/v2/qspi-patch.dts
Normal file
|
@ -0,0 +1,17 @@
|
|||
/dts-v1/;
|
||||
/plugin/;
|
||||
/ {
|
||||
compatible = "starfive,jh7110";
|
||||
fragment@0 {
|
||||
target = <&qspi>;
|
||||
__overlay__ {
|
||||
nor_flash: flash@0 {
|
||||
partitions {
|
||||
spl@0 {
|
||||
reg = <0x0 0x40000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
Loading…
Reference in a new issue