mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-23 03:19:42 +01:00
starfive visionfive2: Increase mtd0 to fit spl
This commit is contained in:
parent
e8159d4e3d
commit
87e3122b67
2 changed files with 22 additions and 0 deletions
|
@ -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