about summary refs log tree commit diff
path: root/machines/rpi3-amadeus/spi.nix
diff options
context:
space:
mode:
Diffstat (limited to 'machines/rpi3-amadeus/spi.nix')
-rw-r--r--machines/rpi3-amadeus/spi.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/machines/rpi3-amadeus/spi.nix b/machines/rpi3-amadeus/spi.nix
new file mode 100644
index 0000000..8a8f332
--- /dev/null
+++ b/machines/rpi3-amadeus/spi.nix
@@ -0,0 +1,11 @@
+{ pkgs, ... }:
+{
+  hardware.deviceTree = {
+    enable = true;
+    filter = "*rpi*.dtb";
+    overlays = [{
+      name = "spi";
+      dtsFile = ./spi.dts;
+    }];
+  };
+}