ARM: dts: cfa10049: Add the i2c muxer buses to the CFA-10049
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 25 Oct 2012 16:23:54 +0000 (18:23 +0200)
committerWolfram Sang <w.sang@pengutronix.de>
Fri, 16 Nov 2012 14:08:12 +0000 (15:08 +0100)
This will allow to add the 3 Nuvoton NAU7802 ADCs and the NXP PCA9555
GPIO expander eventually.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
arch/arm/boot/dts/imx28-cfa10049.dts

index 05c892e..319a6db 100644 (file)
                                status = "okay";
                        };
 
+                       i2cmux {
+                               compatible = "i2c-mux-gpio";
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               mux-gpios = <&gpio1 22 0 &gpio1 23 0>;
+                               i2c-parent = <&i2c1>;
+
+                               i2c@0 {
+                                       reg = <0>;
+                               };
+
+                               i2c@1 {
+                                       reg = <1>;
+                               };
+
+                               i2c@2 {
+                                       reg = <2>;
+                               };
+
+                               i2c@3 {
+                                       reg = <3>;
+                               };
+                       };
+
                        usbphy1: usbphy@8007e000 {
                                status = "okay";
                        };