1/*
2 * Copyright (c) 2020 Marco Peter
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/ {
8	chosen {
9		zephyr,display = &ssd1306_ssd1306_128x64_spi;
10	};
11};
12
13&arduino_spi {
14	status = "okay";
15
16	ssd1306_ssd1306_128x64_spi: ssd1306@0 {
17		compatible = "solomon,ssd1306fb";
18		reg = <0x0>;
19		spi-max-frequency = <10000000>;
20		width = <128>;
21		height = <64>;
22		segment-offset = <0>;
23		page-offset = <0>;
24		display-offset = <0>;
25		multiplex-ratio = <63>;
26		segment-remap;
27		com-invdir;
28		prechargep = <0x22>;
29		data_cmd-gpios = <&arduino_header 15 0>;
30		/* reset-gpios = <&arduino_header 14 GPIO_ACTIVE_LOW>; */
31	};
32};
33