summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/dts/mpc885ads.dts
diff options
context:
space:
mode:
authorJochen Friedrich <jochen@scram.de>2008-07-02 18:06:13 +0200
committerKumar Gala <galak@kernel.crashing.org>2008-07-14 14:55:39 +0200
commita5d28c8e64ff0bc77d38d9c19c6d8163e4c0ffaa (patch)
treef0b85adf4a897eca1567826202f1176f7b8554de /arch/powerpc/boot/dts/mpc885ads.dts
parentcpm_uart: Support uart_wait_until_sent() (diff)
downloadlinux-a5d28c8e64ff0bc77d38d9c19c6d8163e4c0ffaa.tar.xz
linux-a5d28c8e64ff0bc77d38d9c19c6d8163e4c0ffaa.zip
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/mpc885ads.dts')
-rw-r--r--arch/powerpc/boot/dts/mpc885ads.dts11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/powerpc/boot/dts/mpc885ads.dts b/arch/powerpc/boot/dts/mpc885ads.dts
index 9895043722b9..b123e9f7a5a8 100644
--- a/arch/powerpc/boot/dts/mpc885ads.dts
+++ b/arch/powerpc/boot/dts/mpc885ads.dts
@@ -215,6 +215,17 @@
fsl,cpm-command = <0x80>;
linux,network-index = <2>;
};
+
+ i2c@860 {
+ compatible = "fsl,mpc885-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>;
+ };
};
};