31 lines
494 B
Plaintext
31 lines
494 B
Plaintext
/*
|
|
* Copyright (c) 2019 PHYTEC Messtechnik GmbH
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/ {
|
|
chosen {
|
|
zephyr,display = &ssd1306_ssd1306_128x32;
|
|
};
|
|
};
|
|
|
|
&arduino_i2c {
|
|
status = "okay";
|
|
|
|
ssd1306_ssd1306_128x32: ssd1306@3c {
|
|
compatible = "solomon,ssd1306fb";
|
|
reg = <0x3c>;
|
|
width = <128>;
|
|
height = <32>;
|
|
segment-offset = <0>;
|
|
page-offset = <0>;
|
|
display-offset = <0>;
|
|
multiplex-ratio = <31>;
|
|
segment-remap;
|
|
com-invdir;
|
|
com-sequential;
|
|
prechargep = <0x22>;
|
|
};
|
|
};
|