zephyr/boards/shields/ssd1306/ssd1306_128x64_spi.overlay
James Roy 32e42856bc dts: bindings: display: Change the property names in the overlay
Unify property names in bindings and overlay, using
hyphens (-) instead of underscores (_) as separators.

Signed-off-by: James Roy <rruuaanng@outlook.com>
2025-01-15 11:51:23 +01:00

32 lines
607 B
Text

/*
* Copyright (c) 2020 Marco Peter
*
* SPDX-License-Identifier: Apache-2.0
*/
/ {
chosen {
zephyr,display = &ssd1306_ssd1306_128x64_spi;
};
};
&arduino_spi {
status = "okay";
ssd1306_ssd1306_128x64_spi: ssd1306@0 {
compatible = "solomon,ssd1306fb";
reg = <0x0>;
spi-max-frequency = <10000000>;
width = <128>;
height = <64>;
segment-offset = <0>;
page-offset = <0>;
display-offset = <0>;
multiplex-ratio = <63>;
segment-remap;
com-invdir;
prechargep = <0x22>;
data-cmd-gpios = <&arduino_header 15 0>;
/* reset-gpios = <&arduino_header 14 GPIO_ACTIVE_LOW>; */
};
};