1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-23 10:09:44 +01:00

starfive visionfive2: Increase mtd0 to fit spl

This commit is contained in:
Jakob Leifhelm 2023-06-08 20:33:14 +02:00 committed by Jörg Thalheim
parent e8159d4e3d
commit 87e3122b67
2 changed files with 22 additions and 0 deletions

View file

@ -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;
}];
}

View 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>;
};
};
};
};
};
};