diff options
author | Jochen Friedrich <jochen@scram.de> | 2008-07-02 18:06:13 +0200 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-07-14 07:55:39 -0500 |
commit | a5d28c8e64ff0bc77d38d9c19c6d8163e4c0ffaa (patch) | |
tree | f0b85adf4a897eca1567826202f1176f7b8554de /arch/powerpc/boot/dts/mpc866ads.dts | |
parent | dc320815305c5f019672d144f4c4c2710ef7732e (diff) | |
download | kernel_samsung_smdk4412-a5d28c8e64ff0bc77d38d9c19c6d8163e4c0ffaa.zip kernel_samsung_smdk4412-a5d28c8e64ff0bc77d38d9c19c6d8163e4c0ffaa.tar.gz kernel_samsung_smdk4412-a5d28c8e64ff0bc77d38d9c19c6d8163e4c0ffaa.tar.bz2 |
powerpc/CPM: Add i2c pins to dts and board setup
Initialize I2C pins on boards with CPM1/CPM2 controllers and document the
i2c bus in booting-without-of.
The boards don't have any I2C chips connected to the I2C bus, so unless
some external chips are connected to the boards, this code is just an
example of setting everything else up.
Signed-off-by: Jochen Friedrich <jochen@scram.de>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/boot/dts/mpc866ads.dts')
-rw-r--r-- | arch/powerpc/boot/dts/mpc866ads.dts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/powerpc/boot/dts/mpc866ads.dts b/arch/powerpc/boot/dts/mpc866ads.dts index 765e43c..bd70065 100644 --- a/arch/powerpc/boot/dts/mpc866ads.dts +++ b/arch/powerpc/boot/dts/mpc866ads.dts @@ -171,6 +171,17 @@ fsl,cpm-command = <0000>; linux,network-index = <1>; }; + + i2c@860 { + compatible = "fsl,mpc866-i2c", + "fsl,cpm1-i2c"; + reg = <0x860 0x20 0x3c80 0x30>; + interrupts = <16>; + interrupt-parent = <&CPM_PIC>; + fsl,cpm-command = <0x10>; + #address-cells = <1>; + #size-cells = <0>; + }; }; }; |