ARM: dts: cfa10036: Change the OLED display to SSD1306
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 22 Apr 2013 09:55:55 +0000 (11:55 +0200)
committerShawn Guo <shawn.guo@linaro.org>
Mon, 17 Jun 2013 07:43:28 +0000 (15:43 +0800)
The SSD1307 was used in an early prototype that will never get
distributed. The final board now has a SSD1306 instead, that has its own
power generation unit and thus doesn't need any PWM. The panel attached
to it also changed.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/imx28-cfa10036.dts
arch/arm/boot/dts/imx28-cfa10049.dts

index 1594694532b96d845507d2700b3613dca5020b6d..40488f5a85048029c5fce39b10272f6d7b0abc20 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>;
                                pinctrl-0 = <&i2c0_pins_b>;
                                status = "okay";
 
-                               ssd1307: oled@3c {
-                                       compatible = "solomon,ssd1307fb-i2c";
+                               ssd1306: oled@3c {
+                                       compatible = "solomon,ssd1306fb-i2c";
                                        reg = <0x3c>;
-                                       pwms = <&pwm 4 3000>;
                                        reset-gpios = <&gpio2 7 0>;
+                                       solomon,height = <32>;
+                                       solomon,width = <128>;
+                                       solomon,page-offset = <0>;
                                };
                        };
                };
index 063e62059890e4f07885e66f02327dd58123ed6c..dfdcd85c265c81dd65536b8d9302b20a3cdc5a3a 100644 (file)
 
                apbx@80040000 {
                        pwm: pwm@80064000 {
-                               pinctrl-names = "default", "default";
-                               pinctrl-1 = <&pwm3_pins_b>;
+                               pinctrl-names = "default";
+                               pinctrl-0 = <&pwm3_pins_b>;
                                status = "okay";
                        };