2016-12-02 10:50:26 +00:00
|
|
|
From 8c1a913881a9805fce189f382f929beeb8ea2a50 Mon Sep 17 00:00:00 2001
|
2016-02-25 10:14:01 +00:00
|
|
|
From: Phil Elwell <phil@raspberrypi.org>
|
|
|
|
Date: Thu, 18 Feb 2016 15:28:14 +0000
|
2016-09-10 12:54:26 +00:00
|
|
|
Subject: [PATCH] BCM270X_DT: at86rf233 overlay - drop to 3MHz
|
2016-02-25 10:14:01 +00:00
|
|
|
|
|
|
|
The consensus is that 6MHz is too fast, but that 3MHz is OK.
|
|
|
|
|
|
|
|
See: https://github.com/raspberrypi/linux/issues/1294
|
|
|
|
https://github.com/raspberrypi/linux/issues/1151
|
|
|
|
---
|
|
|
|
arch/arm/boot/dts/overlays/README | 2 +-
|
|
|
|
arch/arm/boot/dts/overlays/at86rf233-overlay.dts | 2 +-
|
|
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
|
|
|
|
--- a/arch/arm/boot/dts/overlays/README
|
|
|
|
+++ b/arch/arm/boot/dts/overlays/README
|
|
|
|
@@ -188,7 +188,7 @@ Load: dtoverlay=at86rf233,<param>=<val
|
|
|
|
Params: interrupt GPIO used for INT (default 23)
|
|
|
|
reset GPIO used for Reset (default 24)
|
|
|
|
sleep GPIO used for Sleep (default 25)
|
|
|
|
- speed SPI bus speed in Hz (default 6000000)
|
|
|
|
+ speed SPI bus speed in Hz (default 3000000)
|
|
|
|
trim Fine tuning of the internal capacitance
|
|
|
|
arrays (0=+0pF, 15=+4.5pF, default 15)
|
|
|
|
|
|
|
|
--- a/arch/arm/boot/dts/overlays/at86rf233-overlay.dts
|
|
|
|
+++ b/arch/arm/boot/dts/overlays/at86rf233-overlay.dts
|
|
|
|
@@ -25,7 +25,7 @@
|
|
|
|
interrupts = <23 4>; /* active high */
|
|
|
|
reset-gpio = <&gpio 24 1>;
|
|
|
|
sleep-gpio = <&gpio 25 1>;
|
|
|
|
- spi-max-frequency = <6000000>;
|
|
|
|
+ spi-max-frequency = <3000000>;
|
|
|
|
xtal-trim = /bits/ 8 <0xf>;
|
|
|
|
};
|
|
|
|
};
|