Skip to content

Instantly share code, notes, and snippets.

@chschlue
Created July 31, 2018 17:03
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 chschlue/105d3e7c710634a4499f475dbe5db684 to your computer and use it in GitHub Desktop.
Save chschlue/105d3e7c710634a4499f475dbe5db684 to your computer and use it in GitHub Desktop.
Enable RPi 3B+ SPI
// Enable spi
/dts-v1/;
/plugin/;
/ {
compatible = "brcm,bcm2710";
fragment@0 {
target-path = "/soc/spi@7e204000";
__overlay__ {
status = "okay";
};
};
fragment@1 {
target-path = "/soc/spi@7e215080";
__overlay__ {
status = "okay";
};
};
fragment@2 {
target-path = "/soc/spi@7e2150c0";
__overlay__ {
status = "okay";
};
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment