2 * Device Tree overlay for SH1106 based SPI OLED display
10 compatible = "brcm,bcm2835";
36 sh1106_pins: sh1106_pins {
38 brcm,function = <1 1>; /* out out */
46 /* needed to avoid dtc warning */
51 compatible = "sinowealth,sh1106";
53 pinctrl-names = "default";
54 pinctrl-0 = <&sh1106_pins>;
56 spi-max-frequency = <4000000>;
62 reset-gpios = <&gpio 25 1>;
63 dc-gpios = <&gpio 24 0>;
66 sinowealth,height = <64>;
67 sinowealth,width = <128>;
68 sinowealth,page-offset = <0>;
74 speed = <&sh1106>,"spi-max-frequency:0";
75 rotate = <&sh1106>,"rotate:0";
76 fps = <&sh1106>,"fps:0";
77 debug = <&sh1106>,"debug:0";
78 dc_pin = <&sh1106>,"dc-gpios:4",
79 <&sh1106_pins>,"brcm,pins:4";
80 reset_pin = <&sh1106>,"reset-gpios:4",
81 <&sh1106_pins>,"brcm,pins:0";
82 height = <&sh1106>,"sinowealth,height:0";