Skip to content

Instantly share code, notes, and snippets.

@benpicco
Created February 15, 2019 16:28
Show Gist options
  • Save benpicco/7857803b98cb958c9a5070fa3272471f to your computer and use it in GitHub Desktop.
Save benpicco/7857803b98cb958c9a5070fa3272471f to your computer and use it in GitHub Desktop.
/dts-v1/;
/plugin/;
/ {
compatible = "bcrm,bcm2708";
fragment@0 {
target = <&spi0>;
__overlay__ {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
mrf24j40@0 {
status = "okay";
compatible = "mrf24j40";
spi-max-frequency = <5000000>;
reg = <1>;
interrupts = <23 8>;
interrupt-parent = <&gpio>;
};
spidev@1 {
status = "disabled";
};
};
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment