zephyr/boards/shields/ssd1306/sh1106_128x64.overlay

30 lines
472 B
Plaintext

/*
* Copyright (c) 2019 PHYTEC Messtechnik GmbH
*
* SPDX-License-Identifier: Apache-2.0
*/
/ {
chosen {
zephyr,display = &sh1106_sh1106_128x64;
};
};
&arduino_i2c {
status = "okay";
sh1106_sh1106_128x64: ssd1306@3c {
compatible = "sinowealth,sh1106";
reg = <0x3c>;
width = <128>;
height = <64>;
segment-offset = <2>;
page-offset = <0>;
display-offset = <0>;
multiplex-ratio = <63>;
segment-remap;
com-invdir;
prechargep = <0x22>;
};
};