mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-22 21:25:23 +00:00
Factorize definitions for ssd1306_128x32 and sd1306_128x64 shields and move to conditional Kconfig. As part of this change, direct drivers Kconfig symbols enabling (I2C, SSD1306) are removed as they are application responsibility. Also disabling SSD16XX is removed as SSD16XX should not be enabled by default. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
25 lines
407 B
Plaintext
25 lines
407 B
Plaintext
/*
|
|
* Copyright (c) 2019 PHYTEC Messtechnik GmbH
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
&arduino_i2c {
|
|
status = "okay";
|
|
|
|
ssd1306@3c {
|
|
compatible = "solomon,ssd1306fb";
|
|
reg = <0x3c>;
|
|
label = "SSD1306";
|
|
width = <128>;
|
|
height = <64>;
|
|
segment-offset = <0>;
|
|
page-offset = <0>;
|
|
display-offset = <0>;
|
|
multiplex-ratio = <63>;
|
|
segment-remap;
|
|
com-invdir;
|
|
prechargep = <0x22>;
|
|
};
|
|
};
|