ARM: mxs: apf28dev: Add I2C and SPI support
authorGwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com>
Fri, 9 Nov 2012 12:42:41 +0000 (13:42 +0100)
committerShawn Guo <shawn.guo@linaro.org>
Mon, 12 Nov 2012 02:07:43 +0000 (10:07 +0800)
Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/imx28-apf28dev.dts

index 1643d25..6d8865b 100644 (file)
                                status = "okay";
                        };
 
+                       ssp2: ssp@80014000 {
+                               compatible = "fsl,imx28-spi";
+                               pinctrl-names = "default";
+                               pinctrl-0 = <&spi2_pins_a>;
+                               status = "okay";
+                       };
+
                        pinctrl@80018000 {
                                pinctrl-names = "default";
                                pinctrl-0 = <&hog_pins_apf28dev>;
                                status = "okay";
                        };
 
+                       i2c0: i2c@80058000 {
+                               pinctrl-names = "default";
+                               pinctrl-0 = <&i2c0_pins_a>;
+                               status = "okay";
+                       };
+
                        pwm: pwm@80064000 {
                                pinctrl-names = "default";
                                pinctrl-0 = <&pwm3_pins_a &pwm4_pins_a>;