Skip to content

Instantly share code, notes, and snippets.

@dadeba
Created August 28, 2018 14:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dadeba/ff1ba5b744fc8bd0eb5de7cbcb8930e4 to your computer and use it in GitHub Desktop.
Save dadeba/ff1ba5b744fc8bd0eb5de7cbcb8930e4 to your computer and use it in GitHub Desktop.
FPGA Overlay DTS file for the PYNQ-BNN MNIST example
/dts-v1/;
/ {
fragment@0 {
target-path = "/amba/fpga-region0";
#address-cells = <0x1>;
#size-cells = <0x1>;
__overlay__ {
#address-cells = <0x1>;
#size-cells = <0x1>;
firmware-name = "lfc-pynq.bin";
lfc-pynq@43c00000 {
compatible = "generic-uio";
reg = <0x43c00000 0x10000>;
#interrupts = <0x0 0x1d 0x4>;
};
pynq-udmabuf0 {
compatible = "ikwzm,udmabuf-0.10.a";
device-name = "udmabuf0";
size = <0x1000>;
};
pynq-udmabuf1 {
compatible = "ikwzm,udmabuf-0.10.a";
device-name = "udmabuf1";
size = <0x1000>;
};
};
} ;
} ;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment