ARM: dts: mxs: add oled support for the cfa-10036
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 31 Oct 2012 09:12:54 +0000 (10:12 +0100)
committerShawn Guo <shawn.guo@linaro.org>
Thu, 22 Nov 2012 01:03:40 +0000 (09:03 +0800)
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: Brian Lilly <brian@crystalfontz.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/imx28-cfa10036.dts

index 794fc9f8ec3ccdff2c9ccebf8504c2c6330bcbcf..1594694532b96d845507d2700b3613dca5020b6d 100644 (file)
                };
 
                apbx@80040000 {
+                       pwm: pwm@80064000 {
+                               pinctrl-names = "default";
+                               pinctrl-0 = <&pwm4_pins_a>;
+                               status = "okay";
+                       };
+
                        duart: serial@80074000 {
                                pinctrl-names = "default";
                                pinctrl-0 = <&duart_pins_b>;
                                status = "okay";
                        };
+
+                       i2c0: i2c@80058000 {
+                               pinctrl-names = "default";
+                               pinctrl-0 = <&i2c0_pins_b>;
+                               status = "okay";
+
+                               ssd1307: oled@3c {
+                                       compatible = "solomon,ssd1307fb-i2c";
+                                       reg = <0x3c>;
+                                       pwms = <&pwm 4 3000>;
+                                       reset-gpios = <&gpio2 7 0>;
+                               };
+                       };
                };
        };