Browse Source

ARM: dts: k2g-ice: add OLED panel

K2G ICE board has a small OSD9616P0899-10 OLED panel which contains
SSD1306 driver.

Add the OLED panel node to the .dts along with regulator for the panel's
VBAT.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Tomi Valkeinen 8 years ago
parent
commit
f2ad0b6d49
1 changed files with 15 additions and 0 deletions
  1. 15 0
      arch/arm/boot/dts/keystone-k2g-ice.dts

+ 15 - 0
arch/arm/boot/dts/keystone-k2g-ice.dts

@@ -417,6 +417,21 @@
 		#gpio-cells = <2>;
 		vcc-supply = <&vdd_3v3>;
 	};
+
+	/* osd9616p0899-10 */
+	display@3c {
+		compatible = "solomon,ssd1306fb-i2c";
+		reg = <0x3c>;
+		reset-gpios = <&gpio1 52 GPIO_ACTIVE_HIGH>;
+		vbat-supply = <&vddb>;
+		solomon,height = <16>;
+		solomon,width = <96>;
+		solomon,com-seq;
+		solomon,com-invdir;
+		solomon,page-offset = <0>;
+		solomon,prechargep1 = <2>;
+		solomon,prechargep2 = <13>;
+	};
 };
 
 &qmss {