[PATCH 7/7] bcm2835-rpi: add default i2c bus clock-frequency values to device tree
Chris Boot
bootc at bootc.net
Sat May 26 17:19:55 EDT 2012
Signed-off-by: Chris Boot <bootc at bootc.net>
---
arch/arm/boot/dts/bcm2835-rpi-a.dts | 8 ++++++++
arch/arm/boot/dts/bcm2835-rpi-b.dts | 8 ++++++++
2 files changed, 16 insertions(+)
diff --git a/arch/arm/boot/dts/bcm2835-rpi-a.dts b/arch/arm/boot/dts/bcm2835-rpi-a.dts
index 1a769a6..2e64d12 100644
--- a/arch/arm/boot/dts/bcm2835-rpi-a.dts
+++ b/arch/arm/boot/dts/bcm2835-rpi-a.dts
@@ -112,5 +112,13 @@
/* 52 */ "", "", "", "", "", "", "", "",
/* 53 */ "", "", "", "", "", "", "", "";
};
+
+ bsc0 {
+ clock-frequency = <100000>;
+ };
+
+ bsc1 {
+ clock-frequency = <100000>;
+ };
};
};
diff --git a/arch/arm/boot/dts/bcm2835-rpi-b.dts b/arch/arm/boot/dts/bcm2835-rpi-b.dts
index 4abfc16..e41050a 100644
--- a/arch/arm/boot/dts/bcm2835-rpi-b.dts
+++ b/arch/arm/boot/dts/bcm2835-rpi-b.dts
@@ -113,6 +113,14 @@
/* 53 */ "", "", "", "", "", "", "", "";
};
+ bsc0 {
+ clock-frequency = <100000>;
+ };
+
+ bsc1 {
+ clock-frequency = <100000>;
+ };
+
usb {
hub {
compatible = "usb,hub", "usb,device";
--
1.7.10
More information about the linux-rpi-kernel
mailing list