1/*
2 * Copyright (c) 2024 Rick Cai <wwhheerree@hotmail.com>
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/ {
8	chosen {
9		zephyr,display = &abrobot_72x40;
10	};
11};
12
13&i2c0 {
14	status = "okay";
15	clock-frequency = <I2C_BITRATE_STANDARD>;
16	pinctrl-0 = <&i2c0_default>;
17	pinctrl-names = "default";
18
19	abrobot_72x40: ssd1306@3c {
20		compatible = "sinowealth,sh1106";
21		reg = <0x3c>;
22		width = <72>;
23		height = <40>;
24		segment-offset = <30>;
25		page-offset = <0>;
26		display-offset = <0xC>;
27		multiplex-ratio = <0x27>;
28		prechargep = <0x22>;
29		ready-time-ms = <10>;
30		segment-remap;
31		com-invdir;
32		use-internal-iref;
33	};
34};
35