raspberry-pi."4": fix build error with poe-hat, because of incompatibility with

compute module

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
This commit is contained in:
Florian Brandes 2023-05-12 19:47:31 +02:00
parent aa85ea337b
commit 5febaab6bd
No known key found for this signature in database
GPG key ID: 074048E893713170
3 changed files with 5 additions and 1 deletions

View file

@ -32,7 +32,7 @@
}; };
}; };
hardware.deviceTree.filter = "bcm2711-rpi-*.dtb"; hardware.deviceTree.filter = lib.mkDefault "bcm2711-rpi-*.dtb";
assertions = [ assertions = [

View file

@ -13,6 +13,8 @@ in {
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
hardware.raspberry-pi."4".apply-overlays-dtmerge.enable = lib.mkDefault true; hardware.raspberry-pi."4".apply-overlays-dtmerge.enable = lib.mkDefault true;
# doesn't work for the CM module, so we exclude e.g. bcm2711-rpi-cm4.dts
hardware.deviceTree.filter = "bcm2711-rpi-4*.dtb";
hardware.deviceTree = { hardware.deviceTree = {
overlays = [ overlays = [

View file

@ -13,6 +13,8 @@ in {
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
hardware.raspberry-pi."4".apply-overlays-dtmerge.enable = lib.mkDefault true; hardware.raspberry-pi."4".apply-overlays-dtmerge.enable = lib.mkDefault true;
# doesn't work for the CM module, so we exclude e.g. bcm2711-rpi-cm4.dts
hardware.deviceTree.filter = "bcm2711-rpi-4*.dtb";
hardware.deviceTree = { hardware.deviceTree = {
overlays = [ overlays = [