diff --git a/raspberry-pi/4/cpu-revision.nix b/raspberry-pi/4/cpu-revision.nix new file mode 100644 index 0000000..8ac2c55 --- /dev/null +++ b/raspberry-pi/4/cpu-revision.nix @@ -0,0 +1,25 @@ +{ ... }: +{ + hardware.deviceTree.overlays = [ + { + name = "rpi4-cpu-revision"; + dtsText = '' + /dts-v1/; + /plugin/; + + / { + compatible = "raspberrypi,4-model-b"; + + fragment@0 { + target-path = "/"; + __overlay__ { + system { + linux,revision = <0x00d03114>; + }; + }; + }; + }; + ''; + } + ]; +} diff --git a/raspberry-pi/4/default.nix b/raspberry-pi/4/default.nix index d85063a..13cf417 100644 --- a/raspberry-pi/4/default.nix +++ b/raspberry-pi/4/default.nix @@ -3,6 +3,7 @@ { imports = [ ./audio.nix + ./cpu-revision.nix ./dwc2.nix ./i2c.nix ./modesetting.nix