Based on kernel version 3.9. Page generated on 2013-05-02 23:02 EST.
1 * Solomon SSD1307 Framebuffer Driver 2 3 Required properties: 4 - compatible: Should be "solomon,ssd1307fb-<bus>". The only supported bus for 5 now is i2c. 6 - reg: Should contain address of the controller on the I2C bus. Most likely 7 0x3c or 0x3d 8 - pwm: Should contain the pwm to use according to the OF device tree PWM 9 specification [0] 10 - reset-gpios: Should contain the GPIO used to reset the OLED display 11 12 Optional properties: 13 - reset-active-low: Is the reset gpio is active on physical low? 14 15 [0]: Documentation/devicetree/bindings/pwm/pwm.txt 16 17 Examples: 18 ssd1307: oled@3c { 19 compatible = "solomon,ssd1307fb-i2c"; 20 reg = <0x3c>; 21 pwms = <&pwm 4 3000>; 22 reset-gpios = <&gpio2 7>; 23 reset-active-low; 24 };