diff options
author | Stephen Warren <swarren@wwwdotorg.org> | 2013-01-01 10:26:45 +0400 |
---|---|---|
committer | Stephen Warren <swarren@wwwdotorg.org> | 2013-01-15 08:47:09 +0400 |
commit | 232fed4825e832c89b1d47a24c7836918063fb3e (patch) | |
tree | 2574ab574e31faaf19e2dc9aa6c4de4ebc0bc356 /arch/arm/boot/dts/bcm2835-rpi-b.dts | |
parent | 5186bf287aa4393b78c36f548d9b06001046b65e (diff) | |
download | linux-232fed4825e832c89b1d47a24c7836918063fb3e.tar.xz |
ARM: bcm2835: add I2C controllers to DT
The BCM2835 has 3 identical I2C controllers. Instantiate them all in the
SoC .dtsi file, and enable the relevant two in the Raspberry Pi board
.dts file.
Note that on the Raspberry Pi Model B revision 1, I2C0 is connected to
the general-purpose expansion header, and I2C1 is connected to the camera
connector. Revision 2 of the board swaps these assignments:-(
Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
Diffstat (limited to 'arch/arm/boot/dts/bcm2835-rpi-b.dts')
-rw-r--r-- | arch/arm/boot/dts/bcm2835-rpi-b.dts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm2835-rpi-b.dts b/arch/arm/boot/dts/bcm2835-rpi-b.dts index 0544ef860623..aafda174a605 100644 --- a/arch/arm/boot/dts/bcm2835-rpi-b.dts +++ b/arch/arm/boot/dts/bcm2835-rpi-b.dts @@ -25,6 +25,16 @@ }; }; +&i2c0 { + status = "okay"; + clock-frequency = <100000>; +}; + +&i2c1 { + status = "okay"; + clock-frequency = <100000>; +}; + &sdhci { status = "okay"; bus-width = <4>; |