Skip to content

Instantly share code, notes, and snippets.

@OlegHahm
Created April 8, 2016 14:30
Show Gist options
  • Save OlegHahm/f2995374cbed4d46c3a4736bd82e1576 to your computer and use it in GitHub Desktop.
Save OlegHahm/f2995374cbed4d46c3a4736bd82e1576 to your computer and use it in GitHub Desktop.
diff --git a/arch/arm/boot/dts/bcm2709-rpi-2-b.dts b/arch/arm/boot/dts/bcm2709-rpi-2-b.dts
index 3a91a8b..605291f 100644
--- a/arch/arm/boot/dts/bcm2709-rpi-2-b.dts
+++ b/arch/arm/boot/dts/bcm2709-rpi-2-b.dts
@@ -142,3 +142,24 @@
sd_debug = <&sdhost>,"brcm,debug";
};
};
+
+&spi0 {
+ status="okay";
+ spidev@0{
+ status = "disabled";
+ };
+ spidev@1{
+ status = "disabled";
+ };
+ at86rf233@0 {
+ compatible = "atmel,at86rf233";
+ reg = <0>;
+ interrupts = <23 4>;
+ interrupt-parent = <&gpio>;
+ reset-gpio = <&gpio 24 1>;
+ sleep-gpio = <&gpio 25 1>;
+ spi-max-frequency = <3000000>;
+ xtal-trim = /bits/ 8 <0x0F>;
+ };
+};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment