Skip to contentSkip to conversation

ARM: bcm2835: fix I2C module clock rate

PATCH New Stephen Warren 2 participants 2 messages Feb 22, 2013 – Feb 26, 2013

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: bcm2835: fix I2C module clock rate

BCM2835-ARM-Peripherals.pdf states that the I2C module's input clock is nominally 150MHz, and that value is currently reflected in bcm2835.dtsi. However, practical measurements show that the rate is actually 250MHz, and this agrees with various downstream kernels.

Switch the I2C clock's frequency to 250MHz so that the generated bus clock rate is accurate.

---
This is a bug-fix for 3.9.

 arch/arm/boot/dts/bcm2835.dtsi |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/bcm2835.dtsi +1 -1
index 4bf2a87..7e0481e 100644
@@ -105,7 +105,7 @@
 			compatible = "fixed-clock";
 			reg = <1>;
 			#clock-cells = <0>;
-			clock-frequency = <150000000>;
+			clock-frequency = <250000000>;
 		};
 	};
 };
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 ARM: bcm2835: fix I2C module clock rate

Quoted 11 lines · Stephen Warren

BCM2835-ARM-Peripherals.pdf states that the I2C module's input clock is nominally 150MHz, and that value is currently reflected in bcm2835.dtsi. However, practical measurements show that the rate is actually 250MHz, and this agrees with various downstream kernels.

Switch the I2C clock's frequency to 250MHz so that the generated bus clock rate is accurate.

---
This is a bug-fix for 3.9.

Applied.

-Olof