mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-05 17:38:41 +08:00
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:
@@ -32,7 +32,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
hardware.deviceTree.filter = "bcm2711-rpi-*.dtb";
|
||||
hardware.deviceTree.filter = lib.mkDefault "bcm2711-rpi-*.dtb";
|
||||
|
||||
|
||||
assertions = [
|
||||
|
||||
@@ -13,6 +13,8 @@ in {
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
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 = {
|
||||
overlays = [
|
||||
|
||||
@@ -13,6 +13,8 @@ in {
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
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 = {
|
||||
overlays = [
|
||||
|
||||
Reference in New Issue
Block a user