2019-09-11 07:17:49 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2019 PHYTEC Messtechnik GmbH
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
2021-11-27 01:30:11 +08:00
|
|
|
/ {
|
|
|
|
chosen {
|
2022-09-26 18:35:05 +08:00
|
|
|
zephyr,display = &ssd1306_ssd1306_128x32;
|
2021-11-27 01:30:11 +08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2019-09-11 07:17:49 +08:00
|
|
|
&arduino_i2c {
|
|
|
|
status = "okay";
|
|
|
|
|
2022-09-26 18:35:05 +08:00
|
|
|
ssd1306_ssd1306_128x32: ssd1306@3c {
|
2019-09-11 07:17:49 +08:00
|
|
|
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>;
|
|
|
|
};
|
|
|
|
};
|